Transform your development experience with AI-guided coding standards, structured workflows, and quality practices that help you build better software from day one. Works with both GitHub Copilot in VS Code and Cursor IDE.
- π― What is
metacoding
? - π¬ How to Use
metacoding
with AI Assistants - π Installation Guide
- π¦ Using the
metacoding
CLI - π Getting Help
- π€ Contributing
- π License
metacoding
is a guided development methodology that uses AI assistant custom instruction capabilities to help developers at any level follow established best practices. Works seamlessly with GitHub Copilot in VS Code and Cursor IDE. Instead of just getting code suggestions, you get:
- Structured workflows that guide you through proven development practices
- Quality standards that help you avoid common mistakes
- Test-driven development that's encouraged and guided step-by-step
- Documentation guidance that keeps your projects maintainable
metacoding
transforms AI assistants (GitHub Copilot or Cursor IDE) into autonomous development partners that execute structured workflows. You specify what you want built, and your AI assistant independently follows a disciplined 7-step process that ensures quality, maintainability, and thorough testing. Your role is to provide clear requirements, validate results, and approve each stage before proceeding.
Every development task follows this mandatory workflow to ensure quality and consistency:
Be specific about what you want to build. Copilot will automatically follow the workflow and create a comprehensive plan for your approval.
- Be specific about requirements: Clearly describe the feature, functionality, or problem to solve
- Provide context: Include relevant constraints, user needs, or business requirements
- Review Copilot's plan: Copilot will automatically create an implementation outline following workflow standards
- Approve or refine: Confirm the plan meets your needs or request adjustments
- Example prompt: "I want to add user authentication to my web app. Users should be able to register with email/password, login securely, logout, and have password reset functionality. The system should handle validation errors gracefully."
Copilot will automatically document tasks following the workflow. Your role is to review and approve the breakdown.
- Review task breakdown: Copilot will add tasks to your project list and create subtasks
- Verify scope boundaries: Ensure what's included and excluded is clear and appropriate
- Approve documentation: Confirm the task structure before Copilot proceeds to testing
- Example verification: "Review the authentication tasks you've added. Does this scope make sense for our current iteration?"
Copilot will automatically document test cases before implementation. You verify the testing approach meets your quality standards.
- Review test documentation: Copilot will document all test scenarios following TDD principles
- Verify coverage: Ensure happy paths, error scenarios, and edge cases are included
- Approve test approach: Confirm the testing strategy before Copilot implements failing tests
- Example verification: "Check the test cases you've documented for authentication. Are we covering all the important scenarios?"
Copilot will implement functionality to make tests pass. You track progress and validate the working solution.
- Track implementation: Copilot will write minimal code following TDD red-green-refactor cycle
- Verify test results: Copilot will run tests and report results - you confirm they're passing
- Test functionality yourself: Validate that the implementation works as expected in practice
- Example check: "Show me the test results and let me verify the authentication is working correctly."
Copilot will automatically update all documentation. You verify completeness and accuracy of updates.
- Review documentation changes: Copilot will update README, API docs, and code comments
- Verify task status updates: Confirm completed work is properly marked in project management docs
- Approve changelog entries: Review user-facing changes recorded in changelog
- Example review: "Show me what documentation you've updated for the authentication feature. Let me verify it's accurate and complete."
Copilot will create proper commits following conventional standards. You approve the commit structure and messages.
- Review commit structure: Copilot will prepare atomic commits with conventional messages
- Verify file inclusion: Ensure all related files (code, tests, docs) are included together
- Approve commits: Confirm the commit represents complete, working functionality
- Example approval: "Show me the commit you've prepared for the authentication feature. Does it include everything we've built?"
Copilot will verify workflow completion automatically. You perform final validation before moving to new work.
- Review completion checklist: Copilot will verify all tests pass, documentation is updated, and changes are committed
- Confirm clean repository state: Verify temporary files are cleaned up and repository is organized
- Approve workflow completion: Give explicit approval before starting any new tasks
- Example confirmation: "Confirm our authentication workflow is complete and we're ready for the next feature."
metacoding
enforces strict quality practices:
- Documentation-First Principle: No coding begins until documentation is complete
- Single-Task Focus: One change at a time - never mix unrelated tasks
- Confirmation Gates: User approval required before proceeding with implementation
- Test Coverage: Comprehensive testing mandatory for all functionality
- Repository Hygiene: Clean up temporary files and maintain organization
Starting a new feature: "Let's implement feature X following the 7-step workflow. First, help me understand requirements and create an implementation plan."
During development: "We're on step 3 of our workflow. Document the test cases for this component before implementing tests."
Scope management: "I want to add feature Y, but we're working on feature X. Add Y to the task list and let's complete X first."
Quality check: "Review our current workflow step. Are we ready to proceed, or do we need to complete documentation first?"
GitHub Copilot automatically applies relevant instruction files based on your work:
- Test files β Applies test-driven development and quality standards
- Documentation β Enforces documentation architecture and maintenance guidelines
- Code files β Provides code review criteria and quality standards
- Release files β Guides version management and release procedures
For specific guidance, explicitly reference instruction files:
- "Use the 7-step workflow to implement user registration"
- "Apply code review guidelines to check this function"
- "Follow test documentation standards to update our test cases"
- "Use release instructions to prepare version 2.1.0"
If you try to skip steps or mix tasks, Copilot will redirect you:
- Skipping documentation: "Let's document this task first before implementing"
- Task switching: "I've added that to the task list. Let's complete our current workflow first"
- Missing tests: "We need to document and implement tests before the production code"
- Start small: Begin with simple features to practice the workflow
- Stay focused: Complete one task fully before starting another
- Trust the process: The workflow prevents technical debt and quality issues
- Attach context: Include task lists, documentation, and related files in prompts
- Confirm understanding: Always confirm plans before implementation begins
The metacoding
workflow transforms chaotic development into a structured, quality-driven process that scales from personal projects to enterprise teams.
Before installing metacoding
, choose your AI development setup:
- Visual Studio Code installed (download here)
- GitHub Copilot extension installed and configured in VS Code
- Active GitHub Copilot subscription (get one here)
- Node.js (version 16 or higher) for the CLI tool
- Cursor IDE installed (download here)
- Active Cursor Pro subscription for advanced AI features (recommended)
- Node.js (version 16 or higher) for the CLI tool
The easiest way to get started with metacoding
is using our npm package:
- Install globally:
npm install -g metacoding
- Navigate to your project:
cd your-project
- Initialize
metacoding
:metacoding init
- Follow the interactive prompts to choose your AI setup and you're done!
Basic usage:
metacoding init
- Interactive setup with AI assistant and template selectionmetacoding init --template react
- Use React template with interactive AI setupmetacoding init --template node
- Use Node.js template with interactive AI setupmetacoding init --template javascript
- Use JavaScript template with interactive AI setupmetacoding init --template python
- Use Python template with interactive AI setupmetacoding init --force
- Overwrite existing files
Direct AI setup:
metacoding init --vscode
- Set up for VS Code + GitHub Copilotmetacoding init --cursor
- Set up for Cursor IDEmetacoding init --cursor --template react
- Cursor setup with React templatemetacoding init --cursor --template javascript
- Cursor setup with JavaScript template
For VS Code + GitHub Copilot: The CLI automatically configures VS Code settings for custom instructions. If you need to configure manually, add these settings to your VS Code settings.json:
{
"github.copilot.chat.codeGeneration.useInstructionFiles": true,
"chat.promptFiles": true
}
For Cursor IDE:
No additional configuration needed! Cursor automatically detects and uses workflow.cursorrules
and .cursor/rules/*.mdc
files.
VS Code + GitHub Copilot setup:
my-awesome-project/
βββ .github/
β βββ copilot-instructions.md
β βββ instructions/
β βββ test-runner.instructions.md
β βββ release.instructions.md
β βββ docs-update.instructions.md
β βββ code-review.instructions.md
Cursor IDE setup:
my-awesome-project/
βββ .cursor/
β βββ rules/
β βββ workflow.mdc
β βββ test-runner.mdc
β βββ release.mdc
β βββ docs-update.mdc
β βββ code-review.mdc
- Restart VS Code to ensure all settings are applied
- Create a new file in your project (e.g.,
test.js
ormain.py
) - Open GitHub Copilot Chat:
- Press
Ctrl+Shift+P
(Windows/Linux) orCmd+Shift+P
(Mac) - Type "GitHub Copilot: Open Chat"
- Press Enter
- Press
- Test the setup:
- In GitHub Copilot, ask: "What is the development workflow for this project?"
- Copilot should reference your custom instructions and provide project-specific guidance!
- Open your project in Cursor IDE
- Verify rules are loaded:
- Check that
workflow.cursorrules
appears in the Cursor IDE interface - Look for rule indicators showing active patterns
- Check that
- Test the setup:
- In Cursor chat, ask: "What is the development workflow for this project?"
- Cursor should reference your workflow rules and provide project-specific guidance!
Once installed, you can use these commands:
Initialize metacoding in your current project:
Interactive setup:
metacoding init
- Interactive setup with AI assistant and template selectionmetacoding init --template react
- Initialize with React template (interactive AI setup)metacoding init --template node
- Initialize with Node.js template (interactive AI setup)metacoding init --template javascript
- Initialize with JavaScript template (interactive AI setup)metacoding init --template python
- Initialize with Python template (interactive AI setup)metacoding init --force
- Overwrite existing files without confirmation
Direct AI setup:
metacoding init --vscode
- Set up for VS Code + GitHub Copilotmetacoding init --cursor
- Set up for Cursor IDEmetacoding init --vscode --template react
- VS Code setup with React templatemetacoding init --cursor --template javascript
- Cursor setup with JavaScript templatemetacoding init --cursor --template python
- Cursor setup with Python template
Update your metacoding
setup to the latest version:
metacoding update
- Update to latest versionmetacoding update --dry-run
- Validate current setup without making changesmetacoding update --dry-run --strict
- Strict validation rulesmetacoding update --backup
- Create backup before updating
metacoding --help
- Show all commands and examplesmetacoding --version
- Show version number
Q: Do I need to be an experienced developer?
A: No! metacoding
provides guidance and structure to help developers at any level adopt proven practices and improve their skills.
Q: Should I choose VS Code + GitHub Copilot or Cursor IDE? A: Both work great! Choose based on your preference:
- VS Code + GitHub Copilot: Best if you already use VS Code and have GitHub Copilot
- Cursor IDE: Best for AI-first development with built-in AI features
Q: What if I don't have an AI assistant subscription? A: You'll need either an active GitHub Copilot subscription (for VS Code) or Cursor Pro (for advanced Cursor features). Students can get GitHub Copilot free through GitHub Education.
Q: Can I switch between VS Code and Cursor later?
A: Yes! Run metacoding init --vscode
or metacoding init --cursor
to switch your setup. The CLI will install the appropriate files for your chosen AI assistant.
Q: Can I use this without the CLI tool? A: The CLI tool provides the easiest setup experience. For manual setup, you can download instruction files from our GitHub repository.
Q: Will this work with my preferred programming language?
A: Yes! The general metacoding
template works with any language supported by your AI assistant.
Q: Can I customize the workflow for my team's needs? A: Absolutely! All instruction files can be modified to match your specific requirements.
Q: Does this replace learning to code? A: Nope. But it's totally up to you!.
Q: What VS Code settings are required?
A: For VS Code + GitHub Copilot, you need github.copilot.chat.codeGeneration.useInstructionFiles: true
and chat.promptFiles: true
. The CLI configures these automatically.
Q: Does Cursor IDE require special settings?
A: No additional settings needed! Cursor automatically detects workflow.cursorrules
and .cursor/rules/*.mdc
files.
Installation Issues:
- Make sure Node.js (version 16+) is installed:
node --version
- Verify npm is working:
npm --version
- Try clearing npm cache:
npm cache clean --force
VS Code + GitHub Copilot Issues:
- Make sure you've restarted VS Code after installation
- Verify your GitHub Copilot subscription is active
- Check that the instruction files are in the correct
.github/
folder - Ensure VS Code settings include the required custom instruction settings
- Try manually referencing instructions in GitHub Copilot
Cursor IDE Issues:
- Verify
workflow.cursorrules
file exists in your project root - Check that
.cursor/rules/*.mdc
files are present - Ensure Cursor IDE is updated to the latest version
- Look for rule indicators in Cursor IDE interface showing active patterns
- Try asking Cursor: "What rules are active for this project?"
Instructions not applying automatically:
- Ensure file names match exactly (including extensions)
- Verify the folder structure is correct for your AI setup
- Run
metacoding update --dry-run
to validate your setup - For VS Code: Check
.github/instructions/
folder structure - For Cursor: Check
workflow.cursorrules
and.cursor/rules/
files
CLI Command Issues:
- Ensure
metacoding
is installed globally:npm list -g metacoding
- Try reinstalling:
npm uninstall -g metacoding && npm install -g metacoding
- Check PATH configuration if command not found
Learn more about GitHub Copilot custom instructions:
- VS Code Custom Instructions Guide - Official comprehensive guide from the VS Code team on custom instructions
- GitHub Copilot Documentation - Official GitHub Copilot best practices
- VS Code Copilot Customization - Technical documentation for advanced customization
We welcome contributions to make metacoding
even better! Whether you have:
- Improvements to existing workflows
- New instruction patterns for specific technologies
- Documentation enhancements
- Bug fixes or clarifications
Feel free to open an issue or submit a pull request.
This project is open source and available under the MIT License. Use it freely in personal or commercial projects.