skills/research/SKILL.md
Perform merged market analysis and technical research on a feature idea. Combines market-research (business domain, competitive landscape, feature comparison, gap analysis) with C4Flow technical research (approaches, contrarian view, risks).
npx skillsauth add tunneleven/C4Flow c4flow:researchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Phase: 1: Research & Spec Agent type: Sub-agent (dispatched by orchestrator) Status: Implemented
Analyze a feature idea across both market and technical dimensions. Produces a single structured artifact (research.md) with 16 sections that feeds directly into the spec phase.
Sources merged:
research (default) | fastdocs/specs/<feature>/research.md (16 sections)| Mode | Web Search | Duration | Use When |
|------|-----------|----------|----------|
| research (default) | Yes (web search + URL fetching) | ~3-5 minutes | Pre-proposal, serious builds, funding prep |
| fast | No | ~30 seconds | Quick exploration, early ideation |
| Layer | Sections | Purpose | |-------|----------|---------| | Layer 1: Market | Problem Statement → Initial MVP Scope (10 sections) | "Nên build không, và build gì?" | | Layer 2: Technical | Technical Approaches → Recommendations (4 sections) | "Build như thế nào?" | | Quality Gate | 8 core + 1 conditional check | Verify output completeness | | Executive Summary | 2-3 sentence verdict | Build / buy / skip decision |
Every research output MUST follow these 5 standards:
[estimate][stale: YYYY]Follow prompt.md step by step.
Executive Summary → Problem Statement → Target Users → Core Workflows →
Domain Entities → Business Rules → Competitive Landscape → Feature Comparison →
Gap Analysis → Differentiation Strategy → Initial MVP Scope →
Technical Approaches → Contrarian View → Risks → Recommendations → Sources
See references/research-template.md for full artifact structure.
| Research Section | Feeds Into |
|-----------------|------------|
| Executive Summary | proposal.md → Why (motivation) |
| Target Users + Core Workflows | proposal.md → What Changes; spec.md → User stories |
| Domain Entities + Business Rules | spec.md → Requirements; design.md → Data Model |
| Competitive Landscape + Feature Comparison | proposal.md → Impact + Differentiation |
| Gap Analysis + Differentiation Strategy | proposal.md → Capabilities (New) |
| Initial MVP Scope | proposal.md → Scope (In/Out) |
| Technical Approaches | tech-stack.md → Technology Choices |
| Contrarian View + Risks | design.md → Risks/Trade-offs |
| Recommendations | proposal.md → Success Criteria |
development
Quality gate aggregation — runs bd preflight, combines with Codex review results, declares Ready for PR status. Use when the user wants to check if code is ready for PR, verify quality gates, or run preflight checks. Also triggers when mentioning "verify", "preflight", "quality gate", or "ready for PR".
development
Run unit and integration tests with coverage checking. Auto-detect framework, classify failures, enforce coverage threshold before advancing to review. Use when the user wants to run tests, check coverage, or validate implementation quality. Triggers on "run tests", "check coverage", "test suite", or when the code phase completes.
development
Test-driven development — RED-GREEN-REFACTOR cycles for all C4Flow implementation work. Merged into c4flow:code as a sub-agent phase with a mandatory RED gate pause. Use c4flow:code to run the full task loop.
testing
Sync local project with remote sources — pulls DoltHub beads and GitHub repo to local. Handles the "no common ancestor" Dolt error that occurs when bd init creates a fresh local DB that conflicts with an existing DoltHub history. Use when local beads are out of sync, after a fresh init on a project that already has DoltHub data, or to pull the latest GitHub changes.