agentleFS
marcusgollmarcusgoll/Spec-Flow/.claude/skills/epic-scoping/SKILL.md

epic-scoping

Skill94 starsChanged 7 months agoMITView on GitHub

Interactive question bank-driven scoping for epic workflows. Systematically scope epics with structured AskUserQuestion calls, eliminating ambiguity before planning. Uses centralized question bank to ensure consistent, comprehensive scoping. Questions from bank: - initial_scoping.business_goal - initial_scoping.subsystem_selection Apply answers to epic-spec.md: - business_goal → ## Objective > ### Business Value - subsystem_selection → ## Subsystems (update Involved field) **Based on subsystem_selection**, ask relevant follow-ups: Apply answers: - backend_scope → ### Backend section - frontend_scope → ### Frontend section - database_scope → ### Database…

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always for new epics (via /epic command)

    line 11

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Epic Scoping Skill

Interactive question bank-driven scoping for epic workflows.

Purpose

Systematically scope epics with structured AskUserQuestion calls, eliminating ambiguity before planning. Uses centralized question bank to ensure consistent, comprehensive scoping.

When to Invoke

  • Always for new epics (via /epic command)
  • Skip if resuming with /epic continue

Quick Start

# Load question bank
cat .claude/skills/epic/references/question-bank.md

5-Round Interactive Scoping

Round 1: Initial Scoping (2 questions)

Questions from bank:

  • initial_scoping.business_goal
  • initial_scoping.subsystem_selection
AskUserQuestion({
  questions: [
    questionBank.initial_scoping.business_goal,
    questionBank.initial_scoping.subsystem_selection,
  ],
});

Apply answers to epic-spec.md:

  • business_goal → ## Objective > ### Business Value
  • subsystem_selection → ## Subsystems (update Involved field)

Round 2: Scope Refinement (0-4 questions, conditional)

Based on subsystem_selection, ask relevant follow-ups:

const refinementQuestions = [];

if (selectedSubsystems.includes("Backend API")) {
  refinementQuestions.push(questionBank.scope_refinement.backend_scope);
}
if (selectedSubsystems.includes("Frontend UI")) {
  refinementQuestions.push(questionBank.scope_refinement.frontend_scope);
}
if (selectedSubsystems.includes("Database")) {
  refinementQuestions.push(questionBank.scope_refinement.database_scope);
}
if (selectedSubsystems.includes("External integrations")) {
  refinementQuestions.push(questionBank.scope_refinement.integration_scope);
}

if (refinementQuestions.length > 0) {
  AskUserQuestion({ questions: refinementQuestions });
}

Apply answers:

  • backend_scope → ### Backend section
  • frontend_scope → ### Frontend section
  • database_scope → ### Database section
  • integration_scope → ### Infrastructure section

Round 3: Success Metrics (2 questions)

AskUserQuestion({
  questions: [
    questionBank.success_metrics.measurement_approach,
    questionBank.success_metrics.target_values,
  ],
});

// If "Specific targets" selected, follow-up:
if (answers["Targets"] === "Specific targets") {
  const customTargets = answers["Targets_custom"];
  // Parse and apply to epic-spec.md
}

Apply answers:

  • measurement_approach → ### Success Metrics section
  • target_values → ### Success Metrics (actual values)

Round 4: Dependencies & Constraints (2 questions)

AskUserQuestion({
  questions: [
    questionBank.dependencies_and_constraints.external_dependencies,
    questionBank.dependencies_and_constraints.constraints,
  ],
});

Apply answers:

  • external_dependencies → ## Dependencies section
  • constraints → ### Constraints section

Round 5: Complexity Assessment (2 questions)

AskUserQuestion({
  questions: [
    questionBank.complexity_assessment.technical_complexity,
    questionBank.complexity_assessment.sprint_estimate,
  ],
});

// Warn if 7+ sprints
if (answers["Sprint Estimate"] === "7+ sprints") {
  console.log("Warning: Consider breaking into smaller epics");
}

Apply answers:

  • technical_complexity → YAML frontmatter complexity field
  • sprint_estimate → ## Overview section

Progress Indicators

Show progress after each round:

🔍 Epic Scoping: Round 1/5 (Initial scoping)
📝 Applied: Business Goal → New capability
📝 Applied: Subsystems → Backend API, Frontend UI, Database
🔍 Epic Scoping: Round 2/5 (Scope refinement)
...

Completion Summary

After 5 rounds:

✅ Epic Scoping Complete (9 questions answered)

📊 Epic Summary:
  Business Goal: New capability
  Subsystems: Backend API, Frontend UI, Database (3)
  Success Metrics: User adoption (target: 80% within 30 days)
  Dependencies: Third-party APIs (Stripe)
  Constraints: Time constraint (2-week deadline)
  Complexity: Medium
  Estimated Sprints: 3-4 sprints

📋 Next Steps:
  1. Review epic-spec.md for accuracy
  2. Run /plan to generate research → plan → sprint breakdown
  3. Run /epic continue to execute automated workflow

Velocity Benefit

  • With skill: 5-10 minute interactive scoping
  • Without skill: 30+ minute unstructured discussion
  • Improvement: 3-6x faster

Question Bank Reference

Location: .claude/skills/epic/references/question-bank.md

Contains:

  • Initial scoping (2 questions)
  • Scope refinement (0-4 conditional)
  • Success metrics (2 questions)
  • Dependencies & constraints (2 questions)
  • Complexity assessment (2 questions)

Total: 8-9 questions across 5 rounds

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.