shep-kit:research
Skill262 starsChanged 8 months agoMITView on GitHub
Use after /shep-kit:new-feature to analyze technical approach, evaluate libraries, document decisions. Triggers include "research", "technical analysis", "evaluate options", "which library", or explicit /shep-kit:research invocation. Part of the Shep autonomous SDLC platform — https://shep.bot
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- architecture-reviewerSkill
- cross-validate-artifactsSkill
- mermaid-diagramsSkill
- react-flowSkill
- shadcn-uiSkill
- shep-kit:commit-prSkill
- shep-kit:fast-loopSkill
- shep-kit:implementSkill
- shep-kit:mergedSkill
- shep-kit:new-feature-fastSkill
- shep-kit:new-featureSkill
- shep-kit:parallel-taskSkill
- shep-kit:planSkill
- shep-kit:statusSkill
- shep:ui-componentSkill
- shep-workstreamsSkill
- tsp-modelSkill
- vercel-react-best-practicesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 9 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Document technical decisions, library evaluations, and architectural choices for a feature.
- Distinctive: line 25
Before starting research, verify:
- Very specific: line 28
If any unresolved items exist in
openQuestions: STOP and inform user: - Very specific: line 31
Only proceed: when the openQuestions array is empty or all items are marked resolved
- Distinctive: line 39
Check current branch name
- Very specific: line 41
Read specs/NNN-feature-name/spec.yaml for context
- Distinctive: line 60
Consider project constraints (from CLAUDE.md, existing patterns)
- Distinctive: line 72
Document why alternatives were rejected
- Very specific: line 83
Write research output to specs/NNN-feature-name/research.yaml (the source of truth):
- Very specific: line 93
CRITICAL: Update status in YAML source files and feature.yaml:
- Distinctive: line 141
Gate enforcement: Never skip the open questions check
- Distinctive: line 142
Evidence-based: Use web search, docs, benchmarks - not assumptions
- Distinctive: line 143
Project-aware: Consider existing patterns and constraints
- Distinctive: line 144
Trade-off focused: Every decision has pros/cons - document both
- Very specific: line 146
Status tracking: Always update Phase fields AND feature.yaml before committing
- Very specific: line 147
feature.yaml sync: Update lifecycle → "planning" and add checkpoint
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Research Technical Approach
Document technical decisions, library evaluations, and architectural choices for a feature.
Full workflow guide: docs/development/spec-driven-workflow.md
Prerequisites
- Feature spec exists at
specs/NNN-feature-name/spec.yaml(YAML source of truth) - On the feature branch
feat/NNN-feature-name
GATE CHECK (Mandatory)
Before starting research, verify:
- Read
spec.yamland check theopenQuestionsarray - If any unresolved items exist in
openQuestions: STOP and inform user:Cannot proceed with research. Open questions in spec.yaml must be resolved first. Please answer these questions or ensure openQuestions is empty (
openQuestions: []) - Only proceed when the
openQuestionsarray is empty or all items are marked resolved
Workflow
1. Identify Current Feature
Determine which feature we're researching:
- Check current branch name
- Or ask user which spec to research
- Read
specs/NNN-feature-name/spec.yamlfor context
2. Identify Technical Decisions
From the spec, identify decisions that need research:
- Technology/library choices
- Architecture patterns
- Integration approaches
- Performance strategies
3. Research Each Decision
For each technical decision:
Analyze options:
- List 2-4 viable approaches
- Research each using web search, documentation
- Consider project constraints (from
CLAUDE.md, existing patterns)
Evaluate trade-offs:
- Pros and cons of each option
- Compatibility with existing stack
- Learning curve, maintenance burden
- Performance implications
Make recommendation:
- Choose best option with clear rationale
- Document why alternatives were rejected
4. Document Security & Performance
Identify and document:
- Security considerations specific to this feature
- Performance implications and optimizations
5. Write research.yaml and Generate Markdown
Write research output to specs/NNN-feature-name/research.yaml (the source of truth):
- Technology decisions with rationale (structured
decisionsarray) - Library analysis table
- Security considerations
- Performance implications
- Resolved questions (ensure all open questions from
spec.yamlare addressed)
6. Update Status Fields & feature.yaml
CRITICAL: Update status in YAML source files and feature.yaml:
# In spec.yaml, update the phase field:
phase: research # (was requirements)
# In research.yaml, keep:
phase: research
updatedAt: '<today's date>'Update feature.yaml:
# specs/NNN-feature-name/feature.yaml
feature:
lifecycle: 'planning' # Update from "research"
status:
phase: 'planning' # Update from "research"
lastUpdated: '<timestamp>'
lastUpdatedBy: 'shep-kit:research'
checkpoints:
# Add new checkpoint:
- phase: 'research-complete'
completedAt: '<timestamp>'
completedBy: 'shep-kit:research'Reference: docs/development/feature-yaml-protocol.md
7. Commit
git add specs/NNN-feature-name/
git commit -m "feat(specs): add NNN-feature-name research"8. Next Steps
Inform the user:
Research complete for
NNN-feature-name! Next:/shep-kit:planto create implementation plan.
Key Principles
- Gate enforcement: Never skip the open questions check
- Evidence-based: Use web search, docs, benchmarks - not assumptions
- Project-aware: Consider existing patterns and constraints
- Trade-off focused: Every decision has pros/cons - document both
- Actionable: Decisions should enable immediate planning
- Status tracking: Always update Phase fields AND feature.yaml before committing
- feature.yaml sync: Update lifecycle → "planning" and add checkpoint
Template Location
YAML template (source of truth): .claude/skills/shep-kit-new-feature/templates/research.yaml
Example
See: .claude/skills/shep-kit-research/examples/sample-research.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

