From dolphin-flow-harness
Dolphin Flow Harness Analyst - Pre-planning requirements analysis and gap detection
How this skill is triggered — by the user, by Claude, or both
Slash command
/dolphin-flow-harness:dfh-analystThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
[DFH ANALYST ACTIVATED]
[DFH ANALYST ACTIVATED]
Dolphin Flow Harness Analyst 是一个预规划顾问,在实施前识别隐藏需求、边缘情况和潜在风险。它通过系统化的分析流程,确保需求完整性和可实施性。
核心价值: 在规划开始前捕获需求差距,比在生产环境中发现问题便宜100倍。
Parse Requirements: Extract all stated requirements from the user request
Completeness Check: For each requirement, verify:
Gap Analysis: Systematically identify:
Prioritization: Rank findings by impact and likelihood
Output Generation: Create structured analysis report
## Analyst Review: [Topic]
### Missing Questions
1. [Question not asked] - [Why it matters]
### Undefined Guardrails
1. [What needs bounds] - [Suggested definition]
### Scope Risks
1. [Area prone to creep] - [How to prevent]
### Unvalidated Assumptions
1. [Assumption] - [How to validate]
### Missing Acceptance Criteria
1. [What success looks like] - [Measurable criterion]
### Edge Cases
1. [Unusual scenario] - [How to handle]
### Open Questions
- [ ] [Question or decision needed] — [Why it matters]
### Recommendations
- [Prioritized list of things to clarify before planning]
User can configure in .claude/settings.json:
{
"dfh": {
"analyst": {
"thoroughness": "high",
"focusAreas": ["security", "performance", "ux"],
"skipCategories": []
}
}
}
Basic usage:
import { analystAgent } from 'dolphin-flow-harness';
// The analyst agent is automatically invoked when keywords are detected
// Or can be used programmatically:
const analysis = await invokeAgent(analystAgent, userRequest);
User: "dfh analyst add user deletion feature"
Analyst identifies:
- No specification for soft vs hard delete
- No mention of cascade behavior for user's posts
- No retention policy for data
- No specification for what happens to active sessions
- Each gap has a suggested resolution
User: "dfh analyst add user deletion"
Analyst says: "Consider the implications of user deletion on the system."
This is vague and not actionable.
The analyst is typically used in Phase 0 - Expansion of the DFH Autopilot:
┌─────────────────┐
│ User Request │
└────────┬─────────┘
↓
┌─────────────────┐
│ DFH Analyst │ ← Requirements Analysis
│ (Phase 0) │
└────────┬─────────┘
↓
┌─────────────────┐
│ Spec Output │
│ .dfh/autopilot/│
│ analyst/ │
│ spec.md │
└─────────────────┘
After analysis, the analyst hands off to:
Before concluding, verify:
### Open Questions?npx claudepluginhub dolphin57/dolphin-claude-code --plugin dolphin-flow-harnessCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.