AGENT SKILL
project-intelligence
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-16
- Stars
- ★ 0
- Forks
- 0
02 资源文件 6
- 参考文档checks/project-intelligence-checklist.md1.3 KB
- 参考文档manifest.json1.9 KB
- 参考文档references/project-intelligence-guide.md2.2 KB
- 脚本scripts/verify.sh3.9 KB
- 参考文档templates/project-intelligence-spec.md1.4 KB
- 参考文档templates/project-intelligence-template.md818 B
03 SKILL.md 正文
Project Intelligence
Purpose
Record honest task-level cost, effort, quality, and token metrics in a durable intelligence ledger, then use estimate-vs-actual variance to calibrate future planning instead of relying on gut feel.
Use when
- Closing out a Task or Goal that must leave behind cost, duration, token spend, and defect metrics.
- Estimating a new Task by analogy to measured historical tasks rather than guessing.
- Auditing planning accuracy across a wave or release (estimate drift, systematic underestimation).
- Detecting quality signals early: reopen rates, review rounds, evidence failures per task.
Do not use when
- Selecting which context to load for the current task (use
lean-progressive-context). - Compressing already-loaded context (use
context-optimization). - Writing people-performance reviews; this skill measures tasks, never individuals.
Required context
- Task ledger location (default evidence/intelligence.jsonl) and schema version in use.
- Estimate baseline for the task: hours, tokens, and complexity class recorded before work starts.
- Quality signals available: test results, review rounds, reopen counts, evidence gate outcomes.
- Historical ledger entries for analogous tasks used in calibration.
Procedure
- Record the estimate before starting: log estimated hours (e.g. 6), estimated tokens (e.g. 25,000), and complexity class (S/M/L) with the task id and date 2026-09-23; estimates written after the fact are rejected.
- Instrument the run: capture wall-clock duration, measured token spend from the ledger, test pass/fail counts, and number of review rounds as the work proceeds.
- Close the ledger entry at completion: append one JSONL line with estimate vs actual for hours and tokens, defect count found post-merge within 7 days, and reopen flag.
- Compute variance: variance_pct = (actual - estimate) / estimate * 100 per task; aggregate by complexity class weekly to find systematic bias (e.g. class M tasks average +38% hours).
- Calibrate the next estimate: multiply the raw guess by the class calibration factor (1 + mean variance) and record both raw and calibrated numbers.
- Run
scripts/verify.shto confirm schema validity and variance computation before publishing the report.
Decision rules
- Estimates precede work: an estimate recorded after completion is marked void, never backfilled.
- Actuals are measured, not recalled: durations and token counts come from logs, never from memory.
- Variance is reported with sign: underruns (-15%) and overruns (+40%) are both published; hiding underruns corrupts calibration equally.
- Class-based calibration only: adjust using the complexity class mean, never a single outlier task.
- Tasks, not people: ledger entries carry task ids and classes; attributing variance to individuals is prohibited.
Evidence required
- JSONL ledger entry for the task conforming to the intelligence schema.
- Variance computation showing estimate, actual, and signed percentage per metric.
- Calibration factor applied to the next estimate with its historical basis.
- Passing execution log from
scripts/verify.sh.
Output contract
- Closed ledger entry with estimate-vs-actual metrics and quality signals.
- Variance report aggregated by complexity class.
- Calibrated estimate for the next analogous task.
Stop conditions
- Ledger entry closed, variance computed, and calibration applied with evidence.
- Historical sample too small (fewer than 5 tasks per class); report uncalibrated with a warning.
- Token budget exhausted.
- Blocked on external dependency.
Escalation rules
- Escalate to the planning owner if systematic bias exceeds +50% for two consecutive weeks; the estimation model needs revision, not per-task excuses.
- Escalate to a human if ledger data reveals a security incident or data-loss event pattern.
04 同仓库更多 Skills
zoom-reflow
暂无简介
★ 0
wireframe-styleguide
暂无简介
★ 0
visual-regression
Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates
★ 0
ui-implementation
Component-driven UI implementation, multi-state matrix (default, hover, focus-visible, active, disabled, loading, empty, error), DTCG design tokens, responsive layout contracts, and accessibility tree mapping.
★ 0
tui-editor-engine
Text buffer and editing semantics for a terminal code editor — index conversion, transaction-first editing, multi-cursor invariants, undo grouping, and large-file behaviour.
★ 0
tree-sitter-context-indexing
暂无简介
★ 0