business-requirements-interview
Intelligent, context-aware interview that analyzes your project idea first, identifies gaps, then asks targeted questions. Adapts dynamically based on responses. Generates business-requirements.yaml.
How do I install this agent skill?
npx skills add https://github.com/validkeys/sherpy --skill business-requirements-interviewIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill acts as a business analyst, conducting interviews to generate requirements. It stores session data in a JSONL file and produces a final YAML document, which it validates using an external CLI tool. It is safe for its intended purpose, though it possesses a minor risk surface common to interactive tools that process user input.
- Socketwarn
1 alert: gptSecurity
- Snykpass
Risk: LOW · No issues
- Runlayerpass
2 files scanned · No issues
What does this agent skill do?
Business Requirements Interview
Analyzes your project idea, identifies gaps, asks context-specific questions.
Process
1. Understand the Idea
Ask user for project description:
"Describe your project: the problem, who it's for, what you want to achieve."
Analyze their response:
- Domain (CLI, web app, API, etc.)
- What's clear vs unclear
- Missing pieces (users, scope, constraints)
- Questions to ask
2. Ask Context-Aware Questions
Generate questions specific to their project, not generic forms.
Example - CLI Validator:
User: "Build YAML validator for CI/CD"
Questions:
- "What schema format? JSON Schema, custom DSL, code-based?"
- "Who uses it? CI/CD only, or local dev too?"
- "Error output format? JSON, prose, both?"
- "Performance needs? Thousands of files or dozens?"
Example - Web Dashboard:
User: "Analytics dashboard for metrics"
Questions:
- "Who views it? Execs, PMs, analysts, mixed?"
- "What metrics? Revenue, usage, engagement?"
- "Real-time or batch? How fresh?"
- "Data sources? DB, APIs, warehouse?"
3. Adapt Based on Answers
Each answer shapes next question:
- CI/CD → exit codes, automation
- Local dev → UX, error messages
- Multiple users → access control
Question Types
Clarification: "By 'validate', do you mean schema, business rules, or both?"
Scope: "Which are in v1: [specific list], or is that v2?"
Priority: "Speed, detailed errors, or extensibility - which is critical?"
Constraints: "Any limits on tech, timeline, team that shape this?"
Success: "How will you know it's working? What metrics matter?"
Structure Template
BEFORE generating, review: references/structure-template.yaml
This shows the exact YAML structure required. Use it as your template.
Critical structural rules:
overview.scope→ OBJECT within_scopeandout_of_scopearrays (NOT a string with|)timeline→ OBJECT withphase,duration,milestones(NOT a string)functional_requirements[].id→ Sequential: FR-1, FR-2, FR-3 (no gaps, no FR-001)use_cases[].actor→ Must match apersonas[].nameexactly or be "System"
Required Coverage
Gather detail for:
- Problem: What, who, why it matters
- Value: Measurable impact
- Scope: In/out v1
- Users: Who, goals, pain points
- Use Cases: Top 3-5 scenarios
- Requirements: 5-10 specific, testable
- Success: Quantifiable targets
- Constraints: Tech, business, timeline
- Risks: What could go wrong
Avoid
❌ Generic: "What problem are you solving?" ✅ Specific: "Should errors be JSON (machine), prose (human), or both?"
❌ Broad: "1. Developers 2. Teams 3. Enterprise" ✅ Contextual: "1. Devs validating configs 2. Platform enforcing standards 3. Both"
Progress Tracking
Save to {base_directory}/artifacts/business-interview.jsonl:
{"category":"analysis","question":"initial_idea","answer":"CLI YAML validator","timestamp":"2024-05-14T10:30:00Z"}
{"category":"schema","question":"Schema format?","answer":"JSON Schema","rationale":"Industry standard","timestamp":"2024-05-14T10:32:15Z"}
Output
Generate {base_directory}/requirements/business-requirements.yaml when complete.
CRITICAL: Follow the exact YAML structure in references/structure-template.yaml.
For detailed schema documentation, see references/output-spec.md.
The output MUST include:
project,version,generated(root fields)overview(problem, value_proposition, scope)personas(name, description, goals, pain_points)use_cases(name, actor, description, outcome)functional_requirements(id: FR-1, FR-2..., category, description, priority, rationale)non_functional_requirementssuccess_criteriaconstraintsdependenciestimelineassumptionsrisks
ID Format: FR-1, FR-2, FR-3 (sequential, no gaps)
See references/example.yaml for a complete example.
Confirm before generating:
"Ready to draft requirements doc with:
- Problem and value prop
- 3 personas with use cases
- 8 functional requirements
- Success criteria and constraints
Proceed?"
Validation
sherpy validate -t business-requirements -f {base_directory}/requirements/business-requirements.yaml --strict
Fix errors immediately.
Gap Analysis
Check for:
- ✅ Specific, testable requirements
- ✅ Clear personas with distinct goals
- ✅ Measurable success criteria
- ✅ Explicit scope boundaries
- ✅ Identified risks with mitigation
If gaps: "Noticed [gap]. Address now or proceed?"
Next Steps
- Validate with
sherpy validate - Review gaps
/technical-requirements-interview/implementation-planner
Key Difference
Old: Canned questions, generic options, same for all projects New: Analyze first, context-aware questions, adaptive, intelligent conversation
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/validkeys/sherpy/business-requirements-interview">View business-requirements-interview on skillZs</a>