This document provides essential guidelines for AI agents working with the Dev Flow extension project development and maintenance.
Purpose: This file documents how AI agents should interact with and contribute to this Dev Flow project itself (development, documentation, code reviews, etc.).
Extension Version: 1.1.0
Related Documentation:
- GEMINI.md - Gemini CLI extension context (loaded automatically by Gemini CLI)
- README.md - User-facing documentation and command reference
dev-flow/
├── README.md # User-facing documentation
├── AGENTS.md # This file - AI agent guidelines
├── GEMINI.md # Gemini CLI extension context
├── EXAMPLES.md # Usage examples
├── CHANGELOG.md # Version history
├── NOTICE # Attribution notice
├── gemini-extension.json # Extension configuration
├── commands/dev/ # Command definitions (.toml files)
└── tasks/ # Created during runtime (not tracked)
The Dev Flow extension follows a simple three-step process for users:
- Plan (
/dev:create-prd) - Generate feature planning documents - Design (
/dev:generate-tasks) - Create task breakdowns - Build (
/dev:process-task-list) - Execute implementation
- Focus on maintaining simplicity - this is intentionally a lightweight CLI extension
- Keep documentation clear and concise
- Test changes thoroughly before committing
- Follow established patterns in the codebase
- Update README.md for user-facing changes
- Update GEMINI.md for extension context changes
- Update AGENTS.md when changing how agents should work with the project
- Keep CHANGELOG.md updated with version changes
- Prioritize user experience and simplicity
- Ensure commands work reliably across different environments
- Test with actual Gemini CLI installation when possible
- Verify documentation accuracy after changes
- Focus on clear, measurable requirements
- Include acceptance criteria
- Consider edge cases and error scenarios
- Break features into logical, sequential steps
- Ensure tasks are actionable and testable
- Include verification steps
- Follow task sequences precisely
- Verify completion before proceeding
- Handle errors constructively
- Maintain clear communication
Missing directories: Automatically create /tasks directory
File creation failures: Provide clear error messages and retry
Stream processing: Handle incomplete responses gracefully
your-project/
├── tasks/
│ ├── 0001-prd-feature-name.md # Generated PRDs
│ ├── tasks-0001-prd-feature-name.md # Generated task lists
│ └── completed/ # Archived work
└── .gemini/extensions/dev-flow/ # Extension files
File Purpose Clarification:
- GEMINI.md: Provides context to Gemini CLI about the extension's functionality (loaded automatically)
- AGENTS.md: Guidelines for AI agents working on this project's development and maintenance
- README.md: User-facing documentation for installing and using the extension
- EXAMPLES.md: Comprehensive usage examples and real-world scenarios
This project aims to provide a simple, structured development workflow while maintaining clarity and ease of use. Focus on simplicity and reliability in all contributions.