Integration of Refinement Agent for Spec Kit -> Available and ready to use
I created an integration of Refinement Agents to prepare the SpecKit process: https://github.com/pssah4/python-uv-speckit-template/edit/main/README.md
Problem:
User is not able to specify his problem, needs and idea for a solution. User is also not able to give details for a technical planning.
Solution:
I have created a Business Anayst, Requirements Engineer and Architect Agent and integrated them into the Spec Kit workflow. These three can be used very early stage to scope and work thru the exploration and ideation phase of any project. The Business Analyst uses a interview-style chat with the user, the requirements engineer scopes the ideated solution into features.
It could be used before the /speckit.specify to create deep basic understanding of the problem, users, and needs as staring point for the project, its scope, goals and desired maturity (simple test, PoC, MVP). The generated business-analys.md and Features can be used as context for the /specify prompt.
The Architect Agent the again chats with the user to define a target architecture, which could be used as reference for the /speckit.plan prompt. Again, the created ADRs, Arc42 can be used as context for the /plan prompt.
Feel free to use and integrate it into your workflow :-)
๐ฏ What This Is
Digital Innovation Agents transforms how software is built by providing a structured, agent-based workflow that ensures quality at every stage. Instead of jumping straight into code, projects follow a systematic path:
Business Idea โ Requirements โ Architecture โ GithHub Spec Kit
โ โ โ
BA Agent RE Agent Architect Agent
Each agent specializes in one phase, has built-in quality checks, and produces standardized outputs that feed into the next phase.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ INTEGRATED WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ PHASE 1: Discovery โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ BA Agent Interview โ
โ โ โ
โ ๐ business-analysis.md โ
โ ๐ constitution-draft.md โโโ for Spec Kit) โ
โ โ โ
โ ๐ RE Agent โ
โ โ โ
โ ๐ EPIC-*.md (PoC/MVP) โ
โ ๐ FEATURE-*.md + Success Criteria (tech-agnostic) โ
โ ๐ specify-context.md โโโ Handoff Template โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ PHASE 2: Spec Kit Specify โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ /speckit.constitution โ
โ Input: constitution-draft.md โ
โ โ constitution.md โ
โ โ
โ /speckit.specify [specify-context.md Prompt] โ
โ Input: specify-context.md als Prompt โ
โ โ spec.md โ
โ โ
โ /speckit.clarify (optional) โ
โ โ Klรคrt offene Fragen โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ PHASE 3: Architecture โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐๏ธ Architect Agent โ
โ Input: spec.md + FEATURE-*.md โ
โ โ โ
โ ๐ ADR-*.md โ
โ ๐ ARC42-DOCUMENTATION.md โ
โ ๐ ISSUE-*.md (atomic, 1-3 days) โ
โ ๐ plan-context.md โโโ NEU (Handoff Template) โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ PHASE 4: Spec Kit Plan โ
โ โโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ /speckit.plan [plan-context.md Prompt] โ
โ Input: ADRs + arc42 als Context โ
โ โ plan.md, research.md, data-model.md, contracts/ โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ PHASE 5: Implementation โ
โ โโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ OPTION A: Spec Kit โ
โ /speckit.tasks โ tasks.md โ
โ /speckit.implement โ Code โ
โ โ
โ OPTION B: Own created ISSUEs (recommended) โ
โ Skip /speckit.tasks โ
โ Developer Agent arbeitet ISSUE-*.md ab โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ค The Five Three Refinement Agents
1. Business Analyst (@business-analyst)
Role: Transform raw ideas into structured business requirements
When to use:
- Starting a new project from scratch
- Have a problem but unclear on the solution
- Need to explore requirements systematically
Input: Raw project idea or problem description
Output: docs/business-analysis/BA-[PROJECT].md
Key Features:
- Scope detection (Simple Test / PoC / MVP)
- Structured interviews (5-50 questions based on scope)
- Jobs-to-be-Done analysis
- Value proposition development
- Success metrics definition
2. Requirements Engineer (@requirements-engineer)
Role: Convert business analysis into architect-ready requirements
When to use:
- Have a business analysis document
- Need structured epics and features
- Ready to define technical requirements
Input: Business Analysis document OR direct user input -> select mode und just type "continue"
Output:
requirements/epics/EPIC-*.mdrequirements/features/FEATURE-*.mdrequirements/handoff/architect-handoff.md
Key Features:
- Epic creation with hypothesis statements
- Feature breakdown with acceptance criteria
- NFR quantification (Performance, Security, Scalability)
- ASR identification (Architecture-Significant Requirements)
- Comprehensive architect handoff package
Quality Gate 1 (QG1):
- โ All NFRs quantified (with numbers!)
- โ All ASRs identified and marked (๐ด/๐ก)
- โ Acceptance criteria testable
- โ Architect handoff complete
3. Architect (@architect)
Role: Design technical architecture and create developer-ready issues
When to use:
- Requirements are complete (QG1 passed)
- Need architectural decisions documented
- Ready to plan implementation
Input: requirements/handoff/architect-handoff.md
Output:
docs/decisions/ADR-*.md(Architecture Decision Records in MADR format)docs/arc42/ARC42-DOCUMENTATION.md(arc42 architecture docs)backlog/ISSUE-*.md(Developer-ready issues)backlog/Backlog.md(Single source of truth for work breakdown)
Key Features:
- Adaptive complexity (Simple Test / PoC / MVP)
- ADR creation with research (web_search + @azure)
- arc42 documentation (sections 1-7 for MVP)
- Atomic issue creation (1-3 days each)
- System design with Mermaid diagrams
Quality Gate 2 (QG2):
- โ ADRs for all major decisions (MADR format, 3+ options)
- โ arc42 complete for scope
- โ Atomic issues created (clear single responsibility)
- โ Backlog.md created (work overview)
- โ Developer handoff complete
will this be added to the official repo or should I pick it up from your repo?
This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.