agentleFS
aws-solutionsaws-solutions/konductor/skills/progress-tracking/SKILL.md

progress-tracking

Skill12 starsChanged 2 months agoApache-2.0View on GitHub

Validates feature plans, tracks implementation progress, and verifies code-level requirements traceability. Use when validating a feature plan, tracking its progress, or checking requirements against code.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 14 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 16
  2. Distinctive:

    Follow stages sequentially based on selected mode:

    line 36
  3. Distinctive:

    Use consistently across all reports:

    line 89
  4. Distinctive:

    All reports follow this structure (customize sections per mode):

    line 98
  5. Distinctive:

    Use CURRENT date/time (never hardcoded dates)

    line 102
  6. Distinctive:

    NEVER report "Complete" based only on file presence

    line 105
  7. Distinctive:

    CRITICAL: Use Current Date: - Always use the actual current date/time when generating reports.

    line 157
  8. Very specific:

    If ambiguous, ask: "Which validation mode?

    line 165
  9. Very specific:

    Locate Feature Plan: Read plan_path (default .kiro/specs/feature-implementation/tasks.md).

    line 167
  10. Distinctive:

    Check File Presence: Verify requirements.md, design.md, tasks.md exist for each feature.

    line 222
  11. Distinctive:

    Report: Use standard template. Summary: features passed, critical issues, warnings.

    line 237
  12. Very specific:

    Save History: If enabled, save to .kiro/specs/validation-history/progress-[timestamp].json with: timestamp, mode, overall_percentage, …

    line 273
  13. Distinctive:

    Objective: Verify requirements covered by tasks, identify gaps, calculate coverage.

    line 281
  14. Distinctive:

    Detect Cycles: Use DFS to detect cycles. If node in recursion_stack visited again → cycle.

    line 315
  15. Distinctive:

    Validate Ordering: Check if feature/task order respects dependencies.

    line 317
  16. Very specific:

    Decision: No cycles: PASS → Stage 6 (Final.

    line 321
  17. Distinctive:

    After completing mode-specific stages, generate consolidated report using standard template with:

    line 335
  18. Distinctive:

    History: If enabled, note saved location.

    line 345

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

Progress Tracking

Overview

Operates in three modes: initial validates feature plan completeness before implementation starts; progress tracks task completion and identifies blockers during development; final verifies that implemented code matches the design and all requirements are traceable.

Usage

Use this skill when:

  • Initial mode: validating a feature plan before implementation begins
  • Progress mode: checking completion status during a sprint
  • Final mode: verifying code matches design before handoff to QA

Target Personas

  • Team Leads: Pre-implementation validation and progress monitoring
  • Developers: Code-level verification and pattern alignment
  • Product Managers: Requirements traceability and coverage tracking

Parameters

  • mode: initial, progress, or final. Stage 1 detects it from the request.
  • plan_path (optional): the feature plan's task breakdown. Defaults to .kiro/specs/feature-implementation/tasks.md. A caller that keeps its plan elsewhere passes its own path, and this skill reads that file instead.
  • spec_dir per feature: the directory holding that feature's requirements.md, design.md, and tasks.md. Taken from the plan's _Spec: path_ reference, otherwise .kiro/specs/{feature-name}/, the same default the kiro-* skills use.

Execution Flow

Follow stages sequentially based on selected mode:

Mode Branching:

  • Initial: Stages 1, 2, 3A, 4, 5 → Report
  • Progress: Stages 1, 2, 3B → Report
  • Final: Stages 1, 2, 3A, 4, 5, 6, 7, 8 → Report (Stages 6-8 are in references/final-mode.md)

Common Reference Sections

Data Structures

Feature Map:

features_map: Map<
  featureName,
  {
    requirements: [{ id; userStory; acceptanceCriteria: [{ id; text }] }];
    design: {
      components: [{ name; type; description }];
      apis: [{ endpoint; method; schemas }];
      dataModels: [{ name; fields }];
    };
    tasks: [
      {
        id;
        description;
        state: 'not_started' | 'in_progress' | 'completed';
        requirementRefs;
        optional;
      },
    ];
    stats: { totalRequirements; totalTasks; completedTasks };
  }
>;

Validation State:

{
  mode: "initial"|"progress"|"final",
  plan_path, detailed_analysis, save_history,
  features_map, parsing_errors,
  validation_results: { structure?, coverage?, dependencies?, progress?, code_analysis?, pattern_analysis?, traceability? }
}

Visual Indicators

Use consistently across all reports:

  • ✅ Pass/Completed | ❌ Fail/Missing | ⚠️ Warning/At-Risk | 🔄 In Progress | 🚫 Blocked | ⏳ Not Started
  • 📊 Coverage/Metrics | 💻 Code | 🔍 Pattern | 🔗 Traceability/Dependencies

Progress Bar: [████████░░] 80% (8/10) (each block = 10%)

Standard Report Template

All reports follow this structure (customize sections per mode):

CRITICAL: Status Reporting Rules

  • Use CURRENT date/time (never hardcoded dates)
  • Distinguish Spec Status (files exist) from Implementation Status (tasks done)
  • Feature status format: "Specs: [Complete/Pending] | Implementation: [Complete/In Progress/Not Started]"
  • NEVER report "Complete" based only on file presence
═══════════════════════════════════════════════════
[REPORT TITLE]
═══════════════════════════════════════════════════

Validation Date: [CURRENT_DATE] | Mode: [mode] | Features: [N]

## HIGH-LEVEL PROGRESS

**Project Status:** [Overall assessment in 1-2 sentences]

| Phase              | Complete | In Progress | Not Started | Total | Progress |
| ------------------ | -------- | ----------- | ----------- | ----- | -------- |
| Spec Generation    | [M]      | [P]         | [Q]         | [N]   | [X]%     |
| Implementation     | [A]      | [B]         | [C]         | [N]   | [Y]%     |

**Estimated Remaining Effort:** [X] person-hours ([Y] person-days)

## SUMMARY
Overall Status: [✅ PASS | ❌ FAIL | ⚠️ WARNINGS]
Specs: [M] complete, [P] pending | Implementation: [A] complete, [B] in progress, [C] not started
[Mode-specific metrics]

## [MODE-SPECIFIC SECTIONS]
[Content varies by validation mode]

## RECOMMENDATIONS
Critical Actions (Must Fix): [numbered list]
Warnings (Should Address): [numbered list]

## NEXT STEPS
[Mode-specific guidance]

Error Handling Patterns

File System: Missing files → log warning, continue with available, suggest template | Permission errors → report issue, suggest chmod, offer alternative | Invalid paths → provide error, suggest correction

Parsing: Malformed markdown → report line number, skip section, continue | Missing sections → log missing, extract available, continue | Invalid format → skip items, log lines, show correct format

Validation: Coverage gaps → identify, provide remediation, continue with warnings | Circular dependencies → detect cycles, report features, suggest breaking points | Invalid references → report IDs, suggest corrections, mark as errors

General: Fail gracefully with partial data | Provide context (file paths, line numbers) | Suggest concrete fixes | Prioritize: Critical (blocks) vs Warnings (should fix) vs Info (nice to have)


Stage 1: Mode Selection & Context Gathering

Objective: Determine mode, locate feature plan, gather preferences.

CRITICAL: Use Current Date - Always use the actual current date/time when generating reports. Never use hardcoded example dates. Get the current date from the system.

Mode Detection: Analyze request for keywords:

  • Initial: "validate", "check completeness", "pre-implementation", "before we start"
  • Progress: "track progress", "status update", "check blockers", "how far along"
  • Final: "final validation", "code verification", "post-implementation", "traceability"

If ambiguous, ask: "Which validation mode? (initial/progress/final)" with descriptions. Default: initial.

Locate Feature Plan: Read plan_path (default .kiro/specs/feature-implementation/tasks.md). If it is missing or unreadable, ask the user for the path.

Gather Preferences:

  1. Detail Level: "Detailed analysis?" (yes/no, default: no) → Yes: explanations, examples, paths | No: summary only
  2. Save History: "Save validation history?" (yes/no, default: no for initial, yes for progress/final) → Saves to .kiro/specs/validation-history/[timestamp].json

Output: ✅ Configuration: Mode: [mode] | Plan: [path] | Detail: [level] | History: [yes/no]

Store: mode, plan_path, detailed_analysis, save_history


Stage 2: Spec Discovery & Parsing

Objective: Parse feature plan, discover features, extract structured data.

Parse Feature Plan: Extract feature names using patterns: task descriptions, task details (_Spec: path_), section headers, explicit refs. Build list with: featureName, specPath, displayName, discovered status.

Parse Spec Files: For each feature, read from its spec_dir:

requirements.md: Extract requirement sections, user stories, acceptance criteria. Build: { id, userStory, acceptanceCriteria: [{ id, text }] }. Criteria IDs: requirement + item (e.g., "3.2").

design.md: Extract components, APIs, data models. Build: { components: [{ name, type, description }], apis: [{ endpoint, method, schemas }], dataModels: [{ name, fields }] }.

tasks.md: Extract checkbox tasks with states (- [ ] → not*started, - [-] → in_progress, - [x] → completed). Build: { id, description, state, requirementRefs, optional }. Parse refs: \_Requirements: 1.1, 1.2*. Optional: ends with \*.

Apply error handling patterns for missing files, malformed markdown, invalid formats.

Build Feature Map: Combine parsed data. Calculate stats: totalRequirements, totalTasks, completedTasks.

CRITICAL: Feature Status Logic - Distinguish between spec status and implementation status:

  • Spec Status: Whether spec files (requirements.md, design.md, tasks.md) exist
    • ✅ Specs Complete: All 3 files exist
    • ⏳ Specs Pending: Files missing or incomplete
  • Implementation Status: Whether tasks are actually completed (based on checkbox states)
    • ✅ Implementation Complete: All required tasks marked [x]
    • 🔄 Implementation In Progress: Some tasks marked [-] or [x]
    • ⏳ Implementation Not Started: All tasks marked [ ]

NEVER report a feature as "Complete" just because spec files exist. A feature is only complete when implementation tasks are done.

Report: 📋 Discovery Complete: [N] features | [W] warnings | [E] errors. List per-feature with BOTH spec status AND implementation status. If ALL failed → stop, request path verification. If >50% missing → warn, ask to continue.

Store: features_map, parsing_errors


Stage 3A: Structure Validation (Initial & Final)

Objective: Validate structure and completeness.

Mode: Initial and Final only (skip in Progress).

Check File Presence: Verify requirements.md, design.md, tasks.md exist for each feature. Report missing with expected paths, suggest templates.

Validate Sections:

  • requirements.md: Introduction, Requirements, User Stories, Acceptance Criteria | Warning: Glossary
  • design.md: Overview, Architecture/Components, Data Models | Warning: API section
  • tasks.md: Task list heading, at least one checkbox task

Validate Task Format:

  • Checkbox: Valid - [ ], - [-], - [x] | Invalid: - [], - [X], * [ ]
  • IDs: Single number or decimal | Invalid: missing, invalid chars
  • Hierarchy: Consistent indentation, proper parent-child | Invalid: inconsistent, orphaned sub-tasks
  • Requirement Refs: Valid formats, refs exist, >50% tasks have refs

Report: Use standard template. Summary: features passed, critical issues, warnings. Sections: File Presence, Section Validation, Task Format. Detailed mode: full paths, examples, templates. Summary mode: counts, critical only.

Decision: PASS (no critical) → Stage 4 | PASS with WARNINGS → recommend fixes, allow proceed | FAIL (critical) → block, require fixes.

Store: validation_results.structure


Stage 3B: Task State Analysis (Progress Mode)

Objective: Parse states, calculate progress, identify blockers.

Mode: Progress only (skip in Initial and Final).

Parse States: Extract checkbox states, count per feature. Track optional tasks separately. Validate: parent completed but sub-tasks incomplete → warning. A checkbox outside the valid set (- [X], - []) is an invalid state: flag it, say whether you counted it as done, and give the percentage both ways so the reader can see what it changes.

Calculate Progress:

  • Per-feature: (completed / total) * 100 (round to 1 decimal)
  • Overall: (total_completed / total_tasks) * 100
  • Status: not_started (0%), in_progress (1-99%), completed (100%), blocked (has blockers)
  • Historical: If history exists, compare to previous, calculate velocity, project completion

Cross-Check Coverage: A percentage only measures the tasks that exist. For each feature, compare the acceptance criteria in requirements.md against the tasks' _Requirements:_ refs and list any criterion no task covers. Call this out most clearly for features at 100%, since every box is ticked but the feature is not done.

Identify Blockers: Parse dependencies: explicit (Depends on: 1.1), implicit (sub-tasks, sequential IDs), cross-feature. For each incomplete task, check if dependencies completed. If not → blocked. Types: Critical (explicit, parent, cross-feature) | Warning (sequential, soft). Provide recommendations.

Calculate Remaining Effort:

  • Task Count: remaining * avg_duration (default: 1 task = 1 day)
  • Complexity: Sum effort from task details
  • Velocity: remaining / (completed / days_elapsed) (if history)
  • Provide range (optimistic, realistic, pessimistic) and confidence

Report: Use standard template. Summary: overall %, task counts, feature counts, estimated remaining. Feature Progress: per-feature breakdown with progress bars, task lists, blockers. Blockers Analysis: critical and warning blockers with recommendations. Insights: strong progress, concerns, recommendations. Detailed mode: all tasks, dependency graphs, historical charts. Summary mode: stats, blocked tasks, critical issues.

Save History: If enabled, save to .kiro/specs/validation-history/progress-[timestamp].json with: timestamp, mode, overall_percentage, features summary, blockers_count, estimated_remaining_days. Count each distinct blocker once (a dependency cycle is one blocker, however many tasks it holds up) so counts compare across weeks.

Store: validation_results.progress


Stage 4: Coverage Analysis (Initial & Final)

Objective: Verify requirements covered by tasks, identify gaps, calculate coverage.

Mode: Initial and Final only (skip in Progress).

Build Requirement-Task Mapping: Parse task details for requirement refs using patterns: _Requirements: 1.1, 1.2_, _Requirement: 3.4_, ranges. Build reverse mapping: requirement → tasks. Coverage status: Covered (completed task), At-Risk (incomplete tasks), Uncovered (no tasks).

Identify Gaps: Critical: Uncovered requirements, Invalid refs | Warning: At-risk requirements, Orphaned tasks | Info: Optional tasks without refs. For each gap: requirementId, description, gapType, severity, impact, recommendation.

Calculate Coverage:

  • Per-feature: (covered / total) * 100 (round to 1 decimal)
  • Quality: totalRequirements, coveredRequirements, atRiskRequirements, uncoveredRequirements, taskReferencePercentage
  • Quality Levels: Excellent (≥95%), Good (80-94%), Fair (60-79%), Poor (<60%)
  • Overall: (total_covered / total_requirements) * 100

Report: Use standard template. Summary: coverage %, requirements breakdown, tasks breakdown, quality level. Feature Coverage: per-feature with progress bars, covered/at-risk/uncovered lists (detailed mode). Coverage Gaps: critical and warning gaps. Insights: strong coverage, concerns, recommendations. Detailed mode: full matrix with criteria text. Summary mode: stats, critical gaps only.

Decision: ≥80%: PASS → Stage 5 | 60-79%: PASS with WARNINGS → recommend fixes or proceed | <60%: FAIL → block, require fixes.

Store: validation_results.coverage


Stage 5: Dependency Validation (Initial & Final)

Objective: Extract dependencies, detect cycles, validate ordering.

Mode: Initial and Final only (skip in Progress).

Extract Dependencies:

  • Feature-level: From the plan at plan_path, extract order and cross-feature deps. Build graph: { featureA: [featureB, featureC] }
  • Task-level: From tasks.md, extract explicit (Depends on: 1.1) and implicit (sub-tasks, sequential) deps. Build graph per feature: { taskId: [dependencyTaskIds] }

Detect Cycles: Use DFS to detect cycles. If node in recursion_stack visited again → cycle. Trace back to identify all nodes. Report as ordered list: [A → B → C → A]. Suggest breaking points: implicit weaker than explicit, cross-feature candidates.

Validate Ordering: Check if feature/task order respects dependencies. If dependency comes later → ordering issue. Report violations with suggested reordering.

Report: Use standard template. Summary: cycles count, ordering issues count. Circular Dependencies: list cycles with paths, impact, resolution options. Ordering Validation: list issues with current/suggested order, impact. Dependency Graph Summary: feature and task dependencies (top 3 features). Detailed mode: complete graphs, step-by-step resolution. Summary mode: cycles and critical issues only.

Decision: No cycles: PASS → Stage 6 (Final; open references/final-mode.md) or complete (Initial) | Cycles: FAIL → block, require fixes | Ordering issues only: PASS with WARNINGS → recommend fixes, allow proceed.

Store: validation_results.dependencies


Stages 6-8: Final Mode Only

Open references/final-mode.md (relative to this file) when mode is final, after Stage 5 passes. It holds Stage 6 (Code Analysis), Stage 7 (Pattern Matching), and Stage 8 (Traceability Matrix), which store validation_results.code_analysis, pattern_analysis, and traceability.


Final Report Generation

After completing mode-specific stages, generate consolidated report using standard template with:

Executive Summary: Overall status, mode-specific metrics, critical/errors/warnings counts.

Validation Results: Include completed stages based on mode (Initial: 3A, 4, 5 | Progress: 3B | Final: 3A, 4, 5, 6, 7, 8).

Consolidated Recommendations: Critical actions, warnings, quality improvements with specific references.

Next Steps: Mode-specific guidance (Initial: fix issues, begin implementation | Progress: unblock, continue, re-run | Final: fix gaps, proceed to release).

History: If enabled, note saved location.


Quality Gate

CRITICAL (must fix):

  • Final mode: code files don't exist for completed tasks
  • Final mode: acceptance criteria not verifiable in the codebase
  • Progress mode: blocked tasks have no documented blocker or owner

IMPORTANT (should fix):

  • Initial mode: tasks missing acceptance criteria
  • Progress mode: velocity indicates timeline risk with no mitigation plan
  • Final mode: test coverage gaps for completed features

SUGGESTION:

  • Could add traceability matrix linking tasks to user stories
  • Could flag tasks at risk based on remaining time vs effort

Present findings as: CRITICAL → IMPORTANT → SUGGESTION. Ask: "Fix these issues? [y/n]" — unless scope_confirmed is true, in which case report all the findings and leave fixing to the caller, without asking.

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.