sync-adr-index
Rebuild the ADR index table in `docs/decisions/README.md` from the actual ADR files on disk.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rebuild the ADR index table in `docs/decisions/README.md` from the actual ADR files on disk.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add a new Board Support Package (BSP) crate to the Tyrne workspace — from crate skeleton through boot checklist to first QEMU or hardware boot.
Propose and draft a new Architecture Decision Record (ADR) in MADR format for Tyrne.
Run an independent verification pass over artefacts in `Proposed` / `In Review` waiting-for-promotion states. Distinct from code-review (style + correctness on a diff) and security-review (adversarial axis pass) — this skill verifies that the artefacts' claims about their own state match reality and produces a Done-promotion verdict.
Produce a review artifact in `docs/analysis/reviews/<type>-reviews/`, following that type's master plan. Works for business / code / security / performance-optimization reviews.
Change an existing Tyrne standard correctly — write or update the motivating ADR first, then update the standard file.
Add a new Rust crate to the Tyrne workspace following the dependency policy in `infrastructure.md`.
| name | sync-adr-index |
| description | Rebuild the ADR index table in `docs/decisions/README.md` from the actual ADR files on disk. |
| when-to-use | After adding, superseding, or deprecating ADRs in a way that the index may have fallen out of sync. Also as a periodic maintenance task. |
None. This skill scans the filesystem and reconciles.
Enumerate ADR files.
docs/decisions/ matching the pattern NNNN-*.md, where NNNN is a zero-padded four-digit number.README.md and template.md.NNNN.Read metadata from each ADR.
# heading, with the "NNNN — " prefix stripped.- **Status:** ... line in the header block. Valid values: Proposed, Accepted, Deprecated, Superseded by NNNN.- **Date:** ... line.Cross-check supersession.
Superseded by MMMM, confirm that ADR MMMM exists and is Accepted.References) points forward to a superseding ADR, confirm the older ADR's status actually says Superseded by.Rebuild the index table. In docs/decisions/README.md, replace the contents of the ## Index section's table with freshly generated rows:
| # | Title | Status | Date |
|---|-------|--------|------|
| 0001 | [<Title>](0001-slug.md) | Accepted | 2026-04-20 |
| 0002 | [<Title>](0002-slug.md) | Accepted | 2026-04-20 |
...
Date: field.Do not touch the rest of README.md. The surrounding sections (Why ADRs, Format, Creating a new ADR) are not this skill's responsibility.
Report anomalies to the maintainer, if any:
Superseded by MMMM where MMMM does not exist or is not Accepted.Commit per commit-style.md:
docs(adr): sync index.NNNN-*.md files on disk.docs/decisions/README.md.README.md prose. The table is all this skill rebuilds.