An AI-powered development pipeline that successfully combines intelligent automation with human oversight. Transform GitHub issues into production-ready features through a systematic three-stage workflow based on the GitHub spec-kit methodology.
This system transforms GitHub issues into production-ready features through a systematic three-stage workflow based on the GitHub spec-kit methodology:
flowchart TD
A[Human creates issue] --> B[Mention @claude-dev-truefrontier]
B --> C[π Specify Stage]
C --> D{Human Review}
D -->|Approve| E[ποΈ Plan Stage]
E --> F{Human Review}
F -->|Approve| G[π» Develop Stage]
G --> H{Human Review}
H -->|Approve| I[β
Feature Complete]
H -->|Changes Needed| J[π Revision]
J --> G
style C fill:#e1f5fe
style E fill:#fff3e0
style G fill:#e8f5e8
- Inconsistent development process: Standardizes how features are specified, planned, and built using GitHub spec-kit methodology
- Missing requirements: Ensures thorough specification and planning before coding begins, preventing costly rework
- Poor documentation: Generates comprehensive specifications, technical plans, and task breakdowns as searchable knowledge
- Team coordination overhead: AI handles systematic analysis while humans focus on strategic decision-making
- Context loss: Maintains complete conversation history and decision rationale throughout all three stages
- Elegant state machine architecture: Label-based workflow management provides visible, auditable process control
- Security-first design: Progressive tool access control ensures AI has appropriate permissions per stage complexity
- Race condition prevention: Explicit assignee-before-label ordering prevents workflow conflicts
- Natural language control: Simple commands like "skip to develop" or "request changes" maintain human authority
- Quality assurance: Each stage produces specific deliverables with mandatory human checkpoints and follows spec-kit methodology
- Scalable coordination: Handle multiple issues simultaneously without adding process overhead
- Knowledge democratization: Creates structured documentation accessible to technical and non-technical stakeholders
- Systematic approach: All three stages are required, ensuring comprehensive analysis from specification through implementation
The system uses GitHub labels as state indicators:
needs:*β AI is working on a stagereview:*β Human review requirederror:*β Human intervention needed
What: Creates comprehensive software specifications following GitHub spec-kit methodology Deliverable: Structured feature specification document with:
- User stories and acceptance scenarios (Given-When-Then format)
- Functional and non-functional requirements
- Key entities and data models
- Success criteria and edge cases
- Review checklist for human approval
What: Develops comprehensive technical implementation plan with detailed task breakdown based on approved specifications Deliverable: Single comprehensive document combining:
- Technical Planning:
- Technology stack analysis and recommendations
- Architecture overview and component design
- Phase-based implementation strategy
- Risk assessment and mitigation strategies
- Dependencies and prerequisites
- Detailed Task Breakdown:
- Numbered tasks (T001, T002, etc.) with dependencies
- Test-driven development approach
- Parallel task identification [P]
- File-specific implementation guidance
- Dependency graph and completion criteria
What: Implements the complete feature following approved specifications, plan, and tasks Deliverable: Production-ready code on feature branch
- Creates feature branch following approved task sequence
- Implements all approved requirements with comprehensive testing
- Integrates human feedback from all previous stages
- Provides PR-ready implementation with 100% test pass rate
You stay in complete control - the AI assists but never decides. Use natural language commands:
- Approve:
@claude-dev-truefrontier proceedor check boxes and mention bot - Request changes: Describe what needs revision and mention bot
- Stop workflow:
@claude-dev-truefrontier stop(immediate halt and cleanup)
Note: All three stages are required and must be completed in sequence. Each stage builds on the previous one's approved output.
- Create issue: Describe the feature or bug
- Start workflow: Comment
@claude-dev-truefrontier - Review specification: Approve user stories, requirements, and acceptance criteria
- Review comprehensive plan: Approve architecture, technology choices, implementation strategy, AND task breakdown (T001, T002, etc.)
- Review implementation: Test the feature branch following the approved plan and tasks
- Create PR: Use the provided link to create pull request
Each stage builds on the previous one's approved output, ensuring comprehensive development planning.
# Initialize workflow in any repository
npx @truefrontier/claude-dev-workflow initThis interactive command automatically:
- Detects your project type (Node.js, PHP, Python, Rust, Go, Java, .NET)
- Copies workflow files to
.github/workflows/ - Installs Claude Code agent configurations to
.claude/agents/ - Configures labels, secrets, and project-specific commands
npx @truefrontier/claude-dev-workflow help # Detailed setup guide with platform detection
npx @truefrontier/claude-dev-workflow init # Interactive setup wizard with project analysis
npx @truefrontier/claude-dev-workflow validate # Check current configuration and project compatibility
npx @truefrontier/claude-dev-workflow labels --setup # Create workflow labelsThe workflow system automatically detects and adapts to your project:
- Node.js: Reads
package.json, detects React/Vue/Angular/Express - PHP: Reads
composer.json, detects Laravel/Symfony/CakePHP - Python: Reads
requirements.txt/pyproject.toml, detects Django/Flask - Rust: Reads
Cargo.toml, detects web frameworks - Go: Reads
go.mod, detects Gin/Echo/Gorilla - Java: Reads
pom.xml/build.gradle, detects Spring Boot - .NET: Reads
.csproj, detects ASP.NET Core
- GitHub repository with Issues enabled
- GitHub CLI (
gh) installed and authenticated - Claude GitHub App installed on your repository (github.com/apps/claude)
- Repository admin access (for secrets and collaborator management)
- Anthropic API key (get from console.anthropic.com)
The init command installs:
- 4 Workflow files in
.github/workflows/- Orchestrator + 3 stage workflows (Specify, Plan, Develop) - 6 Agent configurations in
.claude/agents/- Specialized Claude Code agents for codebase analysis - Setup scripts in
scripts/- Label creation and validation utilities - CLAUDE.md - Project guidance file for AI context
If you prefer manual setup or need customization:
- Install Claude GitHub App: The
initcommand automatically opens the installation URL, or visit github.com/apps/claude manually - Copy workflow files to
.github/workflows/from this repository - Copy agent files to
.claude/agents/for Claude Code integration - Configure API secret:
gh secret set ANTHROPIC_API_KEY - Setup workflow labels:
npx @truefrontier/claude-dev-workflow labels --setup - Add bot collaborator:
gh repo add-collaborator claude-dev-truefrontier(if user exists) - Test the system: Create an issue and comment
@claude-dev-truefrontier
Each workflow can be customized by modifying:
- Tool allowlists: Control what actions AI can perform
- Stage prompts: Adjust AI behavior and deliverables
- Trigger conditions: Modify when workflows execute
- Assignment logic: Change human assignment patterns
workflows/orchestrator.yml: Main controller that interprets human commands and manages state transitions using GitHub MCP toolsworkflows/stage-specify.yml: Creates comprehensive software specifications following GitHub spec-kit methodologyworkflows/stage-plan.yml: Develops comprehensive technical implementation plans combining architecture, risk assessment, AND detailed task breakdown with dependenciesworkflows/stage-develop.yml: Implements features following approved specifications, plans, and task breakdowns
scripts/setup-labels.sh: Unix/Linux/macOS label setup scriptscripts/setup-labels.bat: Windows label setup script
Comprehensive tooling for setup, validation, and maintenance:
npm run setup:help # Interactive setup guide with prerequisites
npm run setup:labels # Cross-platform GitHub label creation
npm run validate:workflows # Pre-deployment workflow validation
npm run docs:labels # Complete label system documentationBefore deploying, validate your setup:
npm run validate:workflows # Check workflow files for common issues
gh auth status # Verify GitHub CLI authentication
gh secret list # Confirm ANTHROPIC_API_KEY is configuredCommon Setup Issues:
- GitHub CLI not authenticated: Run
gh auth login - Missing repository permissions: Ensure admin access for secrets/collaborators
- API key invalid: Verify key works at console.anthropic.com
- Workflow files not copied: Check
.github/workflows/directory exists
- Progressive privilege escalation: AI gains broader tool access only as stages advance
- Stage-specific restrictions: Specify and Plan stages limited to read-only operations, web research, and GitHub comment management using MCP tools
- Development stage controls: Full file system access only when implementing approved specifications, plans, and tasks
- Assignee-based authorization: Workflows trigger only on properly assigned issues
- Human checkpoint enforcement: Mandatory approval between all three required stages prevents unauthorized progression
- MCP-based operations: Uses secure GitHub MCP tools instead of direct CLI commands for better integration
- Race condition prevention: Atomic assignee-then-label operations prevent workflow conflicts
- State machine integrity: Exactly one workflow label per issue at all times
- Comment filtering: Automatic bot loop prevention with validation
- Error recovery: Comprehensive error states with human intervention paths
- Audit trail: Complete workflow history preserved in GitHub issue comments
- Setup complexity: Requires GitHub CLI, API keys, and repository admin access
- External dependencies: Relies on @claude-dev-truefrontier user availability
- Single repository scope: Each repository needs independent setup
- GitHub Actions dependency: Requires GitHub Actions enabled and sufficient quota
MIT License - see LICENSE file for details