AGENT SKILL

status

Shows a summary of project artifacts: counts by status, broken links and stage gate readiness. Use to check project health; add --dashboard for an HTML report.

适用职业数据分析师
使用场景分析与可视化
License 许可
MIT
所属仓库
vibbs/company-os
最近更新
2026-10-21
Stars
★ 6
Forks
2

01 前言 Front Matter

name
status
runtimes
{ "claude": { "argument-hint": "[prd | rfc | qa | all | --dashboard]", "user-invocable": true } }
description
Shows a summary of project artifacts: counts by status, broken links and stage gate readiness. Use to check project health; add --dashboard for an HTML report.

02 资源文件 5

03 SKILL.md 正文

Status Dashboard

When to Use

  • User wants to see project health at a glance
  • Before starting a new feature (check what exists)
  • Before a release (check all gates)
  • After a session to verify artifact integrity

Reference

  • ID: S-ORG-09
  • Category: Orchestration
  • Inputs: artifacts/ directory contents, company.config.yaml
  • Outputs: Formatted status dashboard
  • Used by: User (directly)
  • Tool scripts: ./tools/artifact/validate.sh, ./tools/artifact/check-gate.sh, ./tools/ops/dashboard.sh

Purpose

Show a project health dashboard at a glance: how many artifacts exist, their statuses, whether references between them are intact, and whether stage gates are ready to pass.

What You Will See

## Artifact Status Dashboard

| Category         | Total | Draft | Review | Approved | Archived |
|------------------|-------|-------|--------|----------|----------|
| PRDs             | 3     | 1     | 0      | 2        | 0        |
| RFCs             | 2     | 0     | 1      | 1        | 0        |
| Test Plans       | 1     | 0     | 0      | 1        | 0        |
| QA Reports       | 0     | 0     | 0      | 0        | 0        |

All artifact references verified.

## Gate Readiness

### PRD-001: User Authentication
- [x] prd-to-rfc: PASS
- [x] rfc-to-impl: PASS
- [ ] impl-to-qa: NOT READY (test plan missing)
- [ ] release: NOT READY (QA report missing)

Next: write the test plan for PRD-001 to unblock impl-to-qa.

How to read it: a gate is a check that must pass before work moves to the next stage. PASS means you can proceed. NOT READY lists what is missing. Run /status --dashboard for the longer report with a lineage graph and cost snapshot.

Procedure

Step 1: Load Configuration

Read company.config.yaml and extract personas.* values. When referencing agents in recommendations or gate readiness output, use persona names if configured (e.g., "Morgan (Engineering) should review the RFC" instead of "Engineering Agent should review the RFC").

Step 1.5: Scan Artifact Directories

Scan all 9 artifact directories:

  • artifacts/prds/
  • artifacts/rfcs/
  • artifacts/test-plans/
  • artifacts/qa-reports/
  • artifacts/security-reviews/
  • artifacts/launch-briefs/
  • artifacts/decision-memos/
  • artifacts/product/
  • artifacts/experiments/

For each .md file found, extract YAML frontmatter:

  • id
  • type
  • status (draft | review | approved | archived)
  • parent
  • children
  • depends_on
  • blocks

Step 2: Build Summary Table

Present a summary by category:

## Artifact Status Dashboard

| Category         | Total | Draft | Review | Approved | Archived |
|------------------|-------|-------|--------|----------|----------|
| PRDs             | X     | X     | X      | X        | X        |
| RFCs             | X     | X     | X      | X        | X        |
| Test Plans       | X     | X     | X      | X        | X        |
| QA Reports       | X     | X     | X      | X        | X        |
| Security Reviews | X     | X     | X      | X        | X        |
| Launch Briefs    | X     | X     | X      | X        | X        |
| Decision Memos   | X     | X     | X      | X        | X        |

Step 3: Check Reference Integrity

For each artifact, verify:

  • If parent is set, the referenced artifact file exists
  • If children are set, each referenced artifact file exists
  • If depends_on are set, each referenced artifact file exists
  • If blocks are set, each referenced artifact file exists

Report any broken references:

## Broken References
- RFC-001 references parent PRD-001 but file not found
- PRD-002 lists child RFC-003 but file not found

If no broken references: "All artifact references verified."

Step 4: Gate Readiness (Optional)

If the user passes a specific artifact or says "all":

For each PRD that has status approved, check gate readiness:

  • Run ./tools/artifact/check-gate.sh prd-to-rfc <prd>
  • If RFC exists: run ./tools/artifact/check-gate.sh rfc-to-impl <rfc>
  • If implementation exists: run ./tools/artifact/check-gate.sh impl-to-qa <rfc>
  • If QA exists: run ./tools/artifact/check-gate.sh release <prd>

Present gate status:

## Gate Readiness

### PRD-001: User Authentication
- [x] prd-to-rfc: PASS
- [x] rfc-to-impl: PASS
- [ ] impl-to-qa: NOT READY (test plan missing)
- [ ] release: NOT READY (QA report missing, security review missing)

Step 5: Recent Activity

Show the 5 most recently modified artifacts (by file modification time) to give context on what has been worked on.

Step 6: Recommendations

Based on the scan, suggest next actions:

  • If there are draft artifacts: "Consider promoting X to review"
  • If there are broken references: "Fix broken references with ./tools/artifact/link.sh"
  • If gates are failing: "Complete missing artifacts to unblock gates"
  • If everything is clean: "All artifacts validated and linked. Ready to ship."

Step 7: Generate Dashboard (Optional)

If the user passes --dashboard:

  1. Run ./tools/ops/dashboard.sh to generate a comprehensive dashboard with artifact status, gate readiness, artifact graph (Mermaid), open risks, and cost ledger snapshot.
  2. For HTML output: ./tools/ops/dashboard.sh --html --out artifacts/dashboard.html
  3. Present the dashboard output or file path to the user.

This delegates the heavy lifting to the dashboard tool, which reads all artifact directories, parses lineage links, and builds the visualization.

Filtering

If the user provides an argument:

  • prd -- only show PRD status + gates
  • rfc -- only show RFC status + gates
  • qa -- only show QA-related artifacts (test plans, QA reports)
  • all -- full dashboard with gate checks (default if no argument)
  • --dashboard -- generate comprehensive dashboard via ./tools/ops/dashboard.sh (Markdown or HTML)

Quality Checklist

  • [ ] All artifact directories scanned
  • [ ] Frontmatter extracted from every .md file
  • [ ] Summary table is accurate
  • [ ] Broken references detected and reported
  • [ ] Gate readiness checked (if requested)
  • [ ] Recommendations are actionable

04 同仓库更多 Skills