agentleFS
edjchapmanedjchapman/claude-code-config/skills/refinement/SKILL.md

refinement

Skill8 starsChanged 19 days agoMITView on GitHub

Prepare technical analysis for backlog refinement meetings.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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. Distinctive:

    Ask the user to supply the ticket details:

    line 20
  2. Distinctive:

    Run up to 3 Explore agents in parallel for efficiency.

    line 52
  3. Distinctive:

    Create output directory structure:

    line 77
  4. Distinctive:

    After generating files, present:

    line 158
  5. Very specific:

    Default output directory: ./refinement/ in project root

    line 182
  6. Distinctive:

    Use architecture patterns from CLAUDE.md when exploring (if available)

    line 183
  7. Distinctive:

    Keep estimates conservative - round up when uncertain

    line 184
  8. Distinctive:

    If ticket description is vague, generate more clarifying questions

    line 186

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Prepare technical analysis for backlog refinement meetings.

Arguments

$ARGUMENTS

  • List of Jira ticket IDs: /refinement BIL-3606 BIL-3580 BIL-3252
  • Output directory: /refinement BIL-3606 --output ./refinement-2026-01-17/
  • Exploration depth: /refinement BIL-3606 --explore thorough (quick|medium|thorough)

Step 1: Fetch Tickets

Ask the user to supply the ticket details:

"I don't have direct Jira access. Please provide ticket details in one of these formats:

  1. Jira REST API JSON (paste from <your-jira-base>/rest/api/2/issue/TICKET-ID)
  2. Copy/paste the ticket description from Jira
  3. Tell me the ticket IDs and I'll ask for details on each"

Step 2: Explore Codebase

For each ticket, launch an Explore agent to find relevant code:

Task(subagent_type="Explore", prompt="""
Find code related to: {ticket.summary}

Context from ticket:
{ticket.description}

Search for:
1. Related components, models, APIs
2. Similar existing implementations
3. Test files
4. Migration patterns (if data changes needed)

Return:
- Key files with line numbers
- Existing patterns to follow
- Potential complexity factors
""")

Run up to 3 Explore agents in parallel for efficiency.

Step 3: Analyze & Estimate

For each ticket, determine:

Story Points (Fibonacci: 1, 2, 3, 5, 8, 13):

Factor1-2 pts3-5 pts8-13 pts
Files touched1-23-56+
Backend changesNoneModel or APIModel + API + Migration
Frontend changesNoneSingle componentMultiple components
New patternsFollowing existingMinor adaptationNew architecture
DependenciesNone1-2 ticketsBlocked or complex chain

Generate for each ticket:

  1. Implementation steps (bullet points)
  2. Key files to modify
  3. Clarifying questions
  4. Risk assessment

Step 4: Generate Output

Create output directory structure:

{output_dir}/
├── README.md                     # Index with summary table
├── BIL-XXXX_{title_snake_case}.md  # Individual ticket files
└── ...

Individual Ticket File Template:

# {ticket.key}: {ticket.summary}

**Story Points:** {estimated_points}
**Priority:** {ticket.priority}
**Status:** {ticket.status}

**Description:** {ticket.description | summarized}

---

## Key Files

| File              | Purpose       | Lines |
| ----------------- | ------------- | ----- |
| `path/to/file.py` | Model changes | 50-75 |
| ...               | ...           | ...   |

---

## Implementation Steps

1. Step one
2. Step two
3. ...

---

## Clarifying Questions

- Question 1?
- Question 2?

---

## Risk Assessment

**Risk Level:** Low | Medium | High

**Primary Risk:** Description

**Mitigation:** How to address

Index File (README.md) Template:

# Backlog Refinement - {date}

## Summary Table

| Ticket   | Title | Points | Complexity   | Risk         | Details                     |
| -------- | ----- | ------ | ------------ | ------------ | --------------------------- |
| BIL-XXXX | Title | **N**  | Low/Med/High | Low/Med/High | [View](./BIL-XXXX_title.md) |

---

## Dependencies

{dependency_diagram}

---

## Action Items

- [ ] Action item from refinement

Step 5: Present Summary

After generating files, present:

  1. Summary table of all tickets with estimates
  2. Key risks across all tickets
  3. Dependencies between tickets
  4. Recommended discussion order for refinement meeting

Ask:

"I've created refinement documents in {output_dir}/. Would you like me to:

  1. Add meeting notes after your refinement session?
  2. Create any additional analysis?"

Final output:

"Refinement analysis complete:

  • Local files: {output_dir}/

Total: {n} tickets, {total_points} story points estimated"

Guidelines

  • Default output directory: ./refinement/ in project root
  • Use architecture patterns from CLAUDE.md when exploring (if available)
  • Keep estimates conservative - round up when uncertain
  • Flag blockers and dependencies prominently
  • If ticket description is vague, generate more clarifying questions
  • Cross-reference related tickets if they appear in the batch

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.