This project uses ai-devkit for structured AI-assisted development. Phase documentation is located in docs/ai/.
docs/ai/requirements/- Problem understanding and requirementsdocs/ai/design/- System architecture and design decisions (include mermaid diagrams)docs/ai/planning/- Task breakdown and project planningdocs/ai/implementation/- Implementation guides and notesdocs/ai/testing/- Testing strategy and test casesdocs/ai/deployment/- Deployment and infrastructure docsdocs/ai/monitoring/- Monitoring and observability setup
- Follow the project's established code style and conventions
- Write clear, self-documenting code with meaningful variable names
- Add comments for complex logic or non-obvious decisions
- Review phase documentation in
docs/ai/before implementing features - Keep requirements, design, and implementation docs updated as the project evolves
- Reference the planning doc for task breakdown and priorities
- Copy the testing template (
docs/ai/testing/README.md) before creating feature-specific testing docs
- When implementing features, first check relevant phase documentation
- For new features, start with requirements clarification
- Update phase docs when significant changes or decisions are made
Skills are packaged capabilities that teach you new competencies, patterns, and best practices. Check for installed skills in the project's skill directory and use them to enhance your work.
- Check for skills: Look for
SKILL.mdfiles in the project's skill directory - Read skill instructions: Each skill contains detailed guidance on when and how to use it
- Apply skill knowledge: Follow the patterns, commands, and best practices defined in the skill
- memory: Use AI DevKit's memory service via CLI commands when MCP is unavailable. Read the skill for detailed
memory storeandmemory searchcommand usage.
- Before implementing features that match a skill's domain
- When MCP tools are unavailable but skill provides CLI alternatives
- To follow established patterns and conventions defined in skills
The AI assistant should proactively use knowledge memory throughout all interactions.
Tip: If MCP is unavailable, use the memory skill for detailed CLI command reference.
- Before starting any task, search for relevant project conventions, patterns, or decisions
- When you need clarification on how something was done before
- To check for existing solutions to similar problems
- To understand project-specific terminology or standards
How to search:
- Use
memory.searchKnowledgeMCP tool with relevant keywords, tags, and scope - If MCP tools are unavailable, use
npx ai-devkit@latest memory searchCLI command (see memory skill for details) - Example: Search for "authentication patterns" when implementing auth features
- After making important architectural or design decisions
- When discovering useful patterns or solutions worth reusing
- If the user explicitly asks to "remember this" or save guidance
- When you establish new conventions or standards for the project
How to store:
- Use
memory.storeKnowledgeMCP tool - If MCP tools are unavailable, use
npx ai-devkit@latest memory storeCLI command (see memory skill for details) - Include clear title, detailed content, relevant tags, and appropriate scope
- Make knowledge specific and actionable, not generic advice
- Be Proactive: Search memory before asking the user repetitive questions
- Be Specific: Store knowledge that's actionable and reusable
- Use Tags: Tag knowledge appropriately for easy discovery (e.g., "api", "testing", "architecture")
- Scope Appropriately: Use
globalfor general patterns,project:<name>for project-specific knowledge
- Write tests alongside implementation
- Follow the testing strategy defined in
docs/ai/testing/ - Use
/writing-testto generate unit and integration tests targeting 100% coverage - Ensure code passes all tests before considering it complete
- Update phase documentation when requirements or design changes
- Keep inline code comments focused and relevant
- Document architectural decisions and their rationale
- Use mermaid diagrams for any architectural or data-flow visuals (update existing diagrams if needed)
- Record test coverage results and outstanding gaps in
docs/ai/testing/
When working on this project, you can run commands to:
- Understand project requirements and goals (
review-requirements) - Review architectural decisions (
review-design) - Plan and execute tasks (
execute-plan) - Verify implementation against design (
check-implementation) - Writing tests (
writing-test) - Perform structured code reviews (
code-review)