Fewer Tool Calls
IDE plugin provides real-time context so Droid sees what you see
Better First Attempts
Spec Mode explores before coding, preventing false starts
Consistent Quality
AGENTS.md captures your standards once, applies them always
Self-Correcting Code
Linters and tests let Droid fix issues before you even see them
Factory IDE Plugin — Real-time context awareness
Make sure to install Factory IDE plugin for Droid. The Factory IDE plugin acts as an MCP server that gives Droid immediate awareness of your development environment. No more explaining what file you’re looking at or copying error messages—Droid sees exactly what you see. What Droid gets automatically:- Open files and selected lines
- VSCode error highlighting and diagnostics
- Project structure and active terminal output
- Your cursor position and recent edits
Quick setup: Install the Factory extension from VSCode marketplace.
Spec Mode — Explore and plan first, code second
Complex features need exploration before implementation. Spec Mode prevents costly false starts by letting Droid investigate your codebase thoroughly before writing a single line of code.1
Activate Spec Mode
Press Shift+Tab when starting complex work
2
Describe your goal
Write 1-2 sentences about what you want or provide fully-featured existing technical specs.
3
Droid explores
Searches relevant files, understands patterns, identifies dependencies
4
Review the plan
Get a detailed specification with implementation steps before any changes
5
Approve and execute
Only after you approve does Droid start making changes
- Features touching 2+ files
- Architectural changes
- Unfamiliar codebases
- Security-sensitive work
Spec Mode isn’t just for features—use it for complex debugging, refactoring, or any task where understanding comes before doing.
AGENTS.md — Your preferences, remembered
AGENTS.md captures your coding standards, project conventions, and personal preferences in one place. Droid reads it automatically for every task. What to document:Category | Examples |
---|---|
Code style | ”Use arrow functions, not function declarations” “Prefer early returns over nested conditionals” |
Testing | ”Every new endpoint needs integration tests” “Use factories, not fixtures for test data” |
Architecture | ”Services go in src/services with matching interfaces” “All database queries use the repository pattern” |
Tooling | ”Run npm run verify before marking any task complete” “Deploy with scripts/deploy.sh , never manual commands” |
Mistakes to avoid | ”Never commit .env files” “Don’t use any! type annotations” |
AGENTS.md
in your project root:
Pro tip: Include examples of good code from your project. “Follow the pattern in src/services/UserService.ts” gives Droid a concrete template.
Agent Readiness — Let your tools do the teaching
Make your project self-correcting. When Droid can run the same verification tools as your CI/CD pipeline, it fixes problems immediately instead of waiting for you to point them out.Linters
ESLint, Pylint catch style issues instantly
Type Checkers
TypeScript, mypy prevent type errors before runtime
Fast Tests
Unit tests that run in seconds provide immediate feedback
Pre-commit Hooks
Husky, pre-commit ensure consistency before commits
Critical: Keep verification fast. Slow tests will make the end-to-end work slower.
Combining all four for maximum impact
These features compound. IDE plugin provides context → Spec Mode uses that context for better planning → AGENTS.md ensures consistent implementation → Agent readiness catches issues immediately.Getting started? Install the IDE plugin first—it’s the fastest path to better results. Then add AGENTS.md with just your test commands. Build from there.