AI Agent Integration
Conduct seamlessly integrates with popular AI coding tools, providing them with custom commands and instructions for managing your project specifications.
Supported AI Agents
Cursor
Command Location: .cursor/commands/
Cursor commands are available via the command palette and slash commands:
/feature- Create a new feature specification/change- Create a change specification
Files Created:
.cursor/commands/feature.md.cursor/commands/change.md
Claude Code
Command Location: .claude/commands/conduct/
Claude commands are available through custom slash commands:
/feature- Create a new feature specification/change- Create a change specification
Files Created:
.claude/commands/conduct/feature.md.claude/commands/conduct/change.mdCLAUDE.md- Root-level instructions automatically loaded
Special Features:
- Claude reads
CLAUDE.mdautomatically on project load - Instructions are injected into Claude’s context without manual intervention
Warp
Command Location: .warp/commands/conduct/
Warp commands are available in Agent Mode:
/feature- Create a new feature specification/change- Create a change specification
Files Created:
.warp/commands/conduct/feature.md.warp/commands/conduct/change.mdWARP.md- Root-level instructions for Warp Agent Mode
Special Features:
- Warp reads
WARP.mdautomatically in Agent Mode - Commands are optimized for terminal-based workflow
Factory
Command Location: .factory/commands/
Factory commands integrate directly with Factory’s command system:
/feature- Create a new feature specification/change- Create a change specification
Files Created:
.factory/commands/feature.md.factory/commands/change.md
OpenCode
Command Location: .opencode/command/
OpenCode commands are available through custom slash commands:
/feature- Create a new feature specification/change- Create a change specification
Files Created:
.opencode/command/feature.md.opencode/command/change.md
GitHub Copilot
Command Location: .github/prompts/
GitHub Copilot uses prompt files for custom instructions:
Files Created:
.github/prompts/conduct-feature.prompt.md.github/prompts/conduct-change.prompt.md
Usage: Reference these prompts in GitHub Copilot Chat or use them as context for code generation.
How Agent Integration Works
1. Command Files
Each agent receives markdown files containing:
- Command syntax and usage
- Step-by-step instructions for creating specs
- Templates for feature and change specifications
- Naming conventions and best practices
- Issue tracker integration guidelines
2. Automatic Context Loading
Some agents (Claude, Warp) automatically load root-level instruction files:
CLAUDE.md- Loaded by Claude on project openWARP.md- Loaded by Warp in Agent Mode
These files contain:
- Overview of Conduct structure
- Links to agent commands
- Project-specific conventions
3. Dynamic Content
Agent commands include dynamic placeholders that get replaced at runtime:
{{ISSUE_TRACKER_LINKS}}- Links to configured issue trackers{{FEATURE_PATH}}- Current feature context{{VERSION}}- Current spec version
Using Agent Commands
Creating a Feature
- Open your AI agent (Cursor, Claude, Warp, etc.)
- Use the
/featurecommand:/feature User authentication system - The agent will:
- Create
conduct/features/user-authentication-system/ - Generate
spec.v0.mdwith proper structure - Create nested
features/andchanges/directories - Link to issue tracker if configured
- Create
Creating a Change
- Open your AI agent
- Use the
/changecommand:/change Add OAuth2 support - The agent will:
- Prompt for parent feature (if multiple exist)
- Create change spec in feature’s
changes/directory - Increment parent feature version (v0 → v1)
- Update
track.jsonwith new version
Nested Features
To create a nested feature:
- Navigate to a feature directory in your codebase
- Use
/featurecommand within that context:/feature OAuth integration - The agent creates a nested feature:
conduct/features/authentication/features/oauth/spec.v0.md
Agent-Specific Tips
Cursor
- Commands appear in the command palette (Cmd+K / Ctrl+K)
- Use in chat mode for interactive feature creation
- Commands respect current file/directory context
Claude Code
CLAUDE.mdis automatically loaded on project open- No manual command registration needed
- Commands work in both chat and inline modes
Warp
- Commands are optimized for terminal workflows
WARP.mdprovides context in Agent Mode- Use commands directly in chat interface
Factory
- Commands integrate with Factory’s workflow system
- Supports Factory’s multi-step command execution
- Respects Factory’s project structure conventions
OpenCode
- Commands follow OpenCode’s slash command conventions
- Integrates with OpenCode’s project awareness
- Supports OpenCode’s multi-file editing
GitHub Copilot
- Use prompt files as context in Copilot Chat
- Reference prompts:
@conduct-feature,@conduct-change - Works with Copilot’s code completion
Customizing Agent Instructions
Upgrading Instructions
Keep agent instructions up to date:
conduct upgradeThis updates all agent command files to the latest version.
Manual Customization
You can manually edit agent command files to:
- Add project-specific conventions
- Include custom templates
- Add additional validation steps
- Modify naming patterns
Note: Running conduct upgrade will overwrite manual changes. Back up customizations before upgrading.
Per-Agent Configuration
Each agent can have different instructions if needed:
- Edit agent-specific command files
- Add custom steps or requirements
- Maintain consistency across agents for team collaboration
Issue Tracker Integration
Conduct integrates with issue trackers to link specs to tickets:
Supported Trackers
- GitHub Issues:
https://github.com/org/repo/issues/123 - Jira:
https://company.atlassian.net/browse/PROJ-123 - Linear:
https://linear.app/company/issue/PROJ-123 - GitLab:
https://gitlab.com/org/repo/-/issues/123 - Azure DevOps:
https://dev.azure.com/org/project/_workitems/edit/123
How It Works
- Configure trackers during
conduct init - Agent commands include tracker links in templates
- AI agents automatically generate proper links in specs
Example in Spec
## Links
- [GitHub Issue #123](https://github.com/myorg/myrepo/issues/123)
- [Jira Ticket PROJ-456](https://mycompany.atlassian.net/browse/PROJ-456)Multi-Agent Workflows
Same Project, Multiple Agents
You can use multiple AI agents in the same project:
- Configure all agents during
conduct init - Each agent gets its own command files
- All agents follow the same specification structure
- Changes made by any agent are compatible with others
Team Collaboration
When working in teams:
- Commit
.cursor/,.claude/,.warp/, etc. to version control - Team members use their preferred AI agents
- Everyone follows the same Conduct conventions
- Specifications remain consistent regardless of agent used
Switching Between Agents
You can switch between agents seamlessly:
- All agents read the same
conduct/specifications - Commands are equivalent across agents
- No migration needed when switching
Troubleshooting
Commands Not Appearing
Cursor: Reload window (Cmd+R / Ctrl+R)
Claude: Restart Claude Code editor
Warp: Restart Warp or reload Agent Mode
Other agents: Refer to agent-specific documentation
Commands Not Working
- Verify agent command files exist
- Check file permissions
- Ensure
conduct/directory exists - Run
conduct upgradeto refresh instructions
Outdated Instructions
Run conduct upgrade to update all agent instructions to the latest version.
Custom Modifications Lost
- Back up custom changes before running
conduct upgrade - Maintain custom instructions in separate files
- Use version control to track changes
Next Steps
- Learn about Architecture
- Read the CLI Reference
- Explore specification structure