Vibing software that doesn't suck π
A structured approach to organizing development rules, agents, workflows, and context for consistent, high-quality software development.
Take the chaos of vibing and turns it into something that makes sense. We've separated development guidance into distinct, interconnected components that work together. Each component has a specific role and references others through @ path links (because we're not animals).
Note: We in this document really means me and the AI Model, as it felt it should be included since it did all the writing.
FIRST THING YOU DO - Copy the foundational agent context file to your project root:
cp vibing/context/AGENTS.md ./AGENTS.mdThis gives you the base agent behavior and file reference management that everything else depends on.
- Generate Domain Knowledge - Run the domain knowledge generator FIRST or Copy in from Gemini Deep Research . Run Planning Workflows (100 series) - Create your design documents
- Generate Context Files - Run the agent context manager to generate AGENTS.md files
- Generate Commands - Run the common commands generator
- Analyze Technology Stack - Run the technology stack analyzer
- Customize Test Rules - Run test rules customization (after data model is done)
Look, we didn't just throw this together randomly. The framework is designed to be used in a specific sequence because, surprise surprise, order matters. Follow this sequence to avoid the classic "why is everything broken?" moment:
FIRST THING YOU DO - Before anything else, establish domain expertise. You can't build what you don't understand.
Prompt: Follow the domain-knowledge-generator instructions to create comprehensive domain knowledge. Use tools like Gemini's deep research for best results.
Why First: Domain knowledge informs every decision from architecture to UI design. Skip this and you'll be rebuilding everything when you realize you misunderstood the business.
Run all 100-series workflows to establish your project foundation. Skip this and you'll be debugging architectural decisions at 2 AM:
101-project-overview.md- Start here102-system-architecture.md- Define your system structure103-data-model.md- Figure out your data relationships (trust us on this one)104-backend-architecture.md- Design your backend services105-frontend-architecture.md- Structure your frontend106-ui-design.md- Plan your UI components107-ui-experience-overview.md- Map your user experience flow108-ui-page-design.md- Design individual pages109-data-access-patterns.md- Strategize your data access110-feature-overview.md- Plan your features
CRITICAL: Before running any 200-series workflows, execute the context manager. This isn't optional - it's the difference between organized chaos and just chaos.
Prompt: Follow the instructions in the agent-context-manager modifier. Avoid all duplication between the rule files and the created AGENTS.md files.
Important: Run this prompt multiple times to ensure comprehensive context capture. Yes, multiple times. We're not kidding.
Note: Domain knowledge should already be established from Step 0 above.
IMPORTANT: The 200 series is done for EACH feature you want to implement from the 110 feature planning step. Don't try to design everything at once - that's how projects die.
After context management (you did do that, right?), proceed with design workflows for each individual feature:
201-high-level-design.md- Technical design overview202-test-scenario-design.md- Test planning (because testing isn't optional)203-implementation-design.md- Implementation details204-plan-evaluation-validation.md- Design validation (Run this multiple times - seriously)
301-feature-implementation.md- Feature development302-test-only-implementation.md- Test implementation
FLEXIBLE APPROACH: All 400 series workflows can and possibly should be run multiple times. Sometimes it's even fun to use different models for different perspectives on the same code.
401-code-cleanup.md- Code quality improvements (run multiple times, try different models)402-test-cleanup.md- Test optimization (run multiple times, try different models)
Run these in order for maximum effectiveness:
File: modifiers/domain-knowledge-generator.md
When: FIRST THING YOU DO - Before any planning or development
Prompt: Follow the domain-knowledge-generator instructions to create comprehensive domain knowledge.
Output: Creates context/domain-knowledge.md with industry research, user workflows, and business requirements
Purpose: Establishes domain expertise for informed decision-making (because building without domain knowledge is like driving blindfolded)
Best Practice: Use tools like Gemini's deep research for comprehensive domain understanding and industry insights
File: modifiers/agent-context-manager.md
When: After domain knowledge is established (Step 0) and 100-series planning
Prompt: Follow the instructions in the agent-context-manager modifier. Avoid all duplication between the rule files and the created AGENTS.md files.
Output: Generates AGENTS.md files in key directories with real implementation patterns and technology-specific guidance
Note: Run multiple times to ensure comprehensive coverage (seriously, multiple times)
File: modifiers/common-commands-generator.md
When: After commands and test patterns are established
Prompt: Follow the common-commands-generator instructions to create project-specific command references.
Output: Creates context/common-commands.md with project-specific commands, test patterns, and operational procedures
Purpose: Establishes project-specific command patterns that help significantly with your allowed command list
File: modifiers/technology-stack-analyzer.md
When: After 100-series or with existing projects
Prompt: Follow the technology-stack-analyzer instructions to update relevant agent files.
Output: Updates agent files to filter out irrelevant rules for your tech stack
Purpose: Ensures agents have current technology knowledge for your specific project, helping to reduce context size for unneeded information
File: modifiers/test-rules-customization.md
When: After data model is complete (T03 - Data Model.md)
Prompt: Follow the test-rules-customization instructions to update test-related agents and rules.
Output: Updates test-related rules with project-specific entities and feature tags
Purpose: Customizes testing approach for project needs (because one-size-fits-all testing is a myth)
Purpose: Specific how-to instructions for building and styling code that doesn't make your future self cry.
- Content: Step-by-step implementation patterns, coding standards, and technical guidelines
- Format: Markdown files with clear sections and examples (because we're not monsters)
- Usage: Referenced by other files when specific implementation guidance is needed
- Examples:
common/foundation/typescript-guidelines.md- TypeScript best practicesapollo/apollo-client-guidelines.md- Apollo Client usage patternsreact/react-component-guidelines.md- React component patterns
Purpose: Framework/language-specific expert personas that know which rules to apply (and won't judge your code).
- Content: Agent definitions with persona, scope, rule references, and guardrails
- Format: Markdown files with structured metadata (organized, not chaotic)
- Usage: Invoked by workflows to provide specialized expertise
- Examples:
frontend-engineer.md- React specialist with component expertisebackend-engineer.md- GraphQL specialist with Apollo knowledgetest-automation-engineer.md- Testing specialist with E2E expertise
Purpose: Step-based orchestration that coordinates multiple agents to accomplish goals without the usual chaos.
- Content: Concise checklists with agent references and validation steps
- Format: Numbered workflows with clear objectives and agent handoffs
- Usage: Executed to guide complex development processes
- Examples:
101-project-overview.md- Product planning workflow301-feature-implementation.md- Feature development workflow401-code-cleanup.md- Code quality improvement workflow
Purpose: Describes what has been built and the specific patterns in use (because memory is unreliable).
- Content: Current architecture, patterns, and implementation details
- Format: Markdown files describing existing systems
- Usage: Referenced by agents to understand current state before making changes
- Examples:
AGENTS.md-src/apiBackend API patterns and architectureAGENTS.md-src/ui/storeGraphQL store implementation detailsAGENTS.md-src/ui/components- Frontend component architecture
Purpose: Reusable prompts that help update or customize other prompts for specific projects (because one size doesn't fit all).
- Content: Template prompts and customization instructions
- Format: Markdown files with prompt templates
- Usage: Applied to generate project-specific content from templates
- Examples:
common-commands-generator.md- Generatescontext/common-commands.mdwith project-specific commands and updatesAGENTS.mdto reference itagent-context-manager.md- Context file generation from design docstechnology-stack-analyzer.md- Technology-specific customization
Purpose: Focused, modular guidance blocks that can be embedded into agents, rules, and workflows (like LEGO for development).
- Content: Guardrails, principles, response formatting rules, and clarification prompts
- Format: Concise Markdown fragments designed for inclusion
- Usage: Referenced by agents and workflows to standardize tone, behavior, and expectations
- Examples:
engineer-guardrails.md- Operational boundaries and safety constraintsengineer-principles.md- Engineering values and decision principlesresponse-formatting.md- Output style and structure requirementsuser-clarification.md- Strategies and prompts to resolve ambiguity
Purpose: Reusable prompts that establish common architecture across projects (because reinventing the wheel is overrated).
- Content: Architectural patterns and setup instructions
- Format: Markdown files with implementation patterns
- Usage: Applied once at project start to implement unique features
- Examples:
test-context-architecture-guide.md- Test data management setuptest-data-generation-design.md- Test data generation patterns
Purpose: Placeholder and outline documents used by workflows to create specific design documents and features (because starting from scratch is for masochists).
- Content: Document templates with numbered sections and placeholders
- Format: Markdown files with template structure and guidance
- Usage: Referenced by workflows to generate project-specific documents
- Examples:
project-overview-template.md- Project overview document templatetechnical-design-template.md- Feature technical design templatefeature-overview-template.md- Feature planning template