Turn plain-English specifications into production-ready code with automatic planning and review.
Specification Mode transforms simple feature descriptions into working code with automatic planning and safety checks. You provide a brief description of what you want, and droid creates a detailed specification and implementation plan before making any changes.
Simple Input
Just 4-6 sentences describing what you want built
Automatic Planning
Droid creates detailed specs and implementation plans
Safe Execution
No code changes until you approve the complete plan
Add a feature for users to export their personal data.It should create a ZIP file with their profile, posts, and uploaded files.Send them an email when it's ready. Make sure it follows GDPR requirements.The export should work for accounts up to 2GB of data.
Droid generates:
Complete specification with detailed acceptance criteria
Technical implementation plan covering backend, frontend, and email
File-by-file breakdown of changes needed
Testing strategy and verification steps
Security and compliance considerations
You approve, then droid implements the complete solution while showing each change for review.
Specification Mode must be manually activated using Shift+Tab in the CLI.
It does not automatically activate.
Focus on outcomes: Describe what the software should accomplish, not how to build it.
Copy
Ask AI
Users need to be able to reset their passwords using email verification.The reset link should expire after 24 hours for security.Include rate limiting to prevent abuse.
Include important constraints:
Copy
Ask AI
Add user data export functionality that works for accounts up to 5GB.Must comply with GDPR and include audit logging.Should complete within 10 minutes and not impact application performance.
Reference existing patterns:
Copy
Ask AI
Add a notification system similar to how we handle email confirmations.Use the same background job pattern as our existing report generation.Follow the authentication patterns we use for other sensitive operations.
Be specific about verification: Tell droid how to confirm the implementation works correctly.Consider the full user journey: Describe the complete experience, not just technical requirements.Include error scenarios: Specify how failures should be handled and communicated to users.Think about scale: Mention performance requirements and expected usage patterns.
Implement the user management features described in this Jira ticket:https://company.atlassian.net/browse/PROJ-123Follow our security standards and include comprehensive error handling.
If you’ve integrated platforms through Factory’s dashboard, droid can read context from tickets, documents, and specs during analysis.
Document your project conventions to enhance Specification Mode’s planning. See AGENTS.md for more information.Specification Mode automatically incorporates these conventions, ensuring consistency with your team’s standards.
Once you approve a specification plan, droid systematically implements the changes while showing each modification for review. You maintain full control through the approval workflow, ensuring quality and alignment with requirements.For simpler changes that don’t need comprehensive planning, droid can proceed directly while still showing all modifications for approval.Ready to try Specification Mode? Start with a simple description of what you want to build, and let droid handle the specification and planning complexity.