skills/forge-history/SKILL.md
[read-only] View trends across multiple pipeline runs -- score oscillations, agent effectiveness, common findings, and PREEMPT health. Use when you want to see how quality has changed over time, identify recurring issues, or review past pipeline run outcomes.
npx skillsauth add quantumbitcz/dev-pipeline forge-historyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
See shared/skill-contract.md for the standard exit-code table.
Before any action, verify:
git rev-parse --show-toplevel 2>/dev/null. If fails: report "Not a git repository. Navigate to a project directory." and STOP..claude/forge.local.md exists. If not: report "Forge not initialized. Run /forge-init first." and STOP..claude/forge-log.md with run entries.forge/reports/ with report files
If neither exists: report "No pipeline history found. Run /forge-run to start building history." and STOP.Read all available history sources:
.claude/forge-log.md): Primary source -- contains per-run entries with dates, requirements, scores, verdicts, and retrospective notes..forge/reports/): Detailed per-run reports with findings, agent dispatches, and timing data.shared/learnings/ and .forge/learnings/): PREEMPT items and agent effectiveness records.If forge-log.md is very large (>500 lines), summarize the last 10 runs instead of all runs.
Extract from forge-log.md each run's date, requirement summary, final quality score, verdict, total fix cycles (verify + review), and wall time:
## Pipeline Run History
### Quality Score Trend
| Date | Requirement | Score | Verdict | Fix Cycles | Duration |
|------|-------------|-------|---------|------------|----------|
Compute trend direction: improving (last 3 scores ascending), declining (descending), or stable (within oscillation tolerance).
Aggregate finding categories across all runs. Show top 5 by frequency:
### Most Common Findings
1. {CATEGORY} ({N} runs) -- {typical description}
2. ...
Identify findings that appear in 3+ runs as convention candidates -- patterns the team consistently triggers that should be codified as project rules.
If agent effectiveness data exists in forge-log.md (added by retrospective):
### Agent Effectiveness
| Agent | Runs | Avg Time | Avg Findings | FP Rate |
|---|---|---|---|---|
If no effectiveness data: report "Agent effectiveness tracking not yet available. Will populate after future runs."
Read learnings files for PREEMPT items:
### PREEMPT Health
- Active items: {count} (HIGH: {n}, MEDIUM: {n}, LOW: {n})
- Archived items: {count}
- Last promotion: {date} -- {item description}
- Decay candidates: {count} items with 10+ unused runs
If no PREEMPT data: report "No PREEMPT items found."
Synthesize the data into actionable observations:
| Condition | Action | |-----------|--------| | Prerequisites fail | Report specific error message and STOP | | forge-log.md missing | Fall back to reports directory. If also missing, STOP with guidance | | forge-log.md unparseable | Report "forge-log.md has unexpected format. Showing raw content summary." and display what can be extracted | | Reports directory empty | Work from forge-log.md alone, note limited data | | State corruption | This skill is read-only and does not depend on state.json |
/forge-status -- Check the current (active) pipeline run state/forge-insights -- Deeper cross-run analytics with cost analysis, convergence patterns, and memory health/forge-profile -- Detailed performance profiling of a single pipeline run/forge-recover diagnose -- Diagnose pipeline health issues when something looks wrongdevelopment
[writes] Build, fix, deploy, review, or modify code in this project. Universal entry for the forge pipeline. Auto-bootstraps on first run; brainstorms before planning when given a feature description. Use when you want to take any productive action: implementing features, fixing bugs, reviewing branches, deploying, committing, running migrations.
tools
[writes] Manage forge state and configuration: recovery, abort, config edits, session handoff, automations, playbooks, output compression, knowledge graph maintenance. Use when you need to recover from broken pipeline state, edit settings, or manage long-lived state.
development
[writes] Create, list, show, resume, or search forge session handoffs. Use when context is getting heavy and you want to transfer a forge run or conversation into a fresh Claude Code session, or to resume from a prior handoff artefact. Subcommands - no args (write), list, show, resume, search.
development
[writes] Manage the Neo4j knowledge graph. Subcommands: init, rebuild (writes); status, query <cypher>, debug (read-only). Requires Docker. No default — an explicit subcommand is required. Use when setting up the graph for the first time, rebuilding after major refactors, checking graph health, or running ad-hoc Cypher diagnostics.