agentleFS
noah-sheldonnoah-sheldon/ai-dev-kit/skills/backlog-management/SKILL.md

backlog-management

Skill13 starsChanged 8 months agoMITView on GitHub

Manage the feature backlog from docs/features/ and Git issues. Prioritizes features, tracks readiness, identifies specs missing details, and surfaces what needs human input. Used by the multi-agent-project-manager agent.

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

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:

    Before a feature enters the ready state, validate it has all required information:

    line 65

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

Backlog Management

Manage the feature backlog from docs/features/ and Git issues. Prioritize, track readiness, identify missing details, and surface what needs human input.

When to Use

  • The multi-agent-project-manager agent scans for new work in its 60-second cycle
  • A user wants to see what features are in the backlog
  • A feature spec is incomplete and needs human input before a workflow can start
  • Reprioritization is needed due to changing business needs

Backlog Sources

Source 1: Feature Specs (docs/features/)

# Scan for all feature specs
find docs/features -name "spec.md" -type f

Each spec in docs/features/<name>/spec.md should have:

---
name: <feature-name>
version: 1.0.0
status: proposed | approved | in_progress | done | rejected
created: YYYY-MM-DD
author: <name>
priority: 1-10
---

Source 2: Git Issues

gh issue list --state open --label "feature" --json number,title,labels

Backlog States

new → ready → approved → in_progress → done
         ↓
      needs_human_input
StateMeaning
newSpec/issue exists but has not been reviewed
readySpec has all required fields, acceptance criteria defined
approvedHuman has reviewed and approved the spec for implementation
in_progressMulti-agent workflow is running
doneMerged to main
needs_human_inputSpec is missing critical details — cannot proceed without human

Spec Completeness Check

Before a feature enters the ready state, validate it has all required information:

required_fields:
  - name: "Feature name is present"
  - name: "Problem statement is clear"
  - name: "Proposed solution exists"
  - name: "Acceptance criteria are defined (at least 2)"
  - name: "Affected surfaces are identified"
  - name: "Dependencies are listed (or 'none')"
  - name: "Risk level is assessed"

optional_but_recommended:
  - name: "User stories with acceptance criteria"
  - name: "Technical constraints documented"
  - name: "Success metrics defined"
  - name: "Timeline/deadline specified"

Missing Details Detection

def check_spec_completeness(spec_path):
    spec = parse_frontmatter(spec_path)
    content = read_markdown_body(spec_path)

    missing = []

    if not spec.get("name"):
        missing.append("Feature name missing")
    if "problem" not in content.lower() and "why" not in content.lower():
        missing.append("Problem statement unclear — why is this needed?")
    if "acceptance" not in content.lower() and "criteria" not in content.lower():
        missing.append("Acceptance criteria not defined")
    if "scope" not in content.lower() and "affected" not in content.lower():
        missing.append("Affected surfaces not identified")

    return {
        "complete": len(missing) == 0,
        "missing": missing,
        "action": "ready" if len(missing) == 0 else "needs_human_input"
    }

Priority Scoring

priority_scoring:
  business_impact:
    revenue_affecting: 10
    user_facing: 7
    internal_tooling: 4
    tech_debt: 3
  urgency:
    security_fix: 10
    production_bug: 9
    deadline_driven: 8
    scheduled: 5
    backlog: 2
  dependencies:
    no_blockers: 10
    blocked_by_1: 7
    blocked_by_2_plus: 3
  complexity:
    trivial_auto_approve: 10
    small_1_surface: 8
    medium_2_3_surfaces: 5
    large_4_plus_surfaces: 3
    massive_full_stack: 1

  final_score = weighted_average(business_impact, urgency, dependencies, 1/complexity)

Backlog Operations

Add to Backlog

# Create a new feature spec
mkdir -p docs/features/<feature-name>
cat > docs/features/<feature-name>/spec.md << 'EOF'
---
name: <feature-name>
version: 1.0.0
status: proposed
created: $(date +%Y-%m-%d)
author: <name>
---

# Feature: <Title>

## Problem
<What problem does this solve?>

## Proposed Solution
<How will it be solved?>

## Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2

## Affected Surfaces
- List files/directories that will change

## Dependencies
- List dependencies or "none"

## Risk Level
low/medium/high
EOF

Move Between States

# Update status in spec frontmatter
python3 -c "
import frontmatter
post = frontmatter.load('docs/features/<name>/spec.md')
post['status'] = 'approved'  # or 'in_progress', 'done', 'rejected'
with open('docs/features/<name>/spec.md', 'w') as f:
    f.write(frontmatter.dumps(post))
"

Report Backlog

BACKLOG REPORT:

  Ready for work (approved, waiting for agents):
    1. <feature-name>     Priority: 8/10  Est. agents: 3

  Needs human input:
    1. <feature-name>     Missing: Acceptance criteria, OAuth provider decision
    2. <feature-name>     Missing: Affected surfaces not identified

  New (not yet reviewed):
    1. <feature-name>     Created: 2026-04-12

  In progress:
    1. <feature-name>     Wave: executing (5 agents active)

Integration with Multi-Agent Project Manager

The PM agent calls this skill during its 60-second cycle:

Step 1 of PM loop: SCAN FOR NEW WORK
  → Call backlog-management skill
  → Scan docs/features/ for new/updated specs
  → Check completeness of each spec
  → Score priority
  → Move complete specs to "ready" queue
  → Flag incomplete specs as "needs_human_input"
  → Update backlog report

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.