dyz-gongwen-skills
公文写作 Skills|AI 公文写作助手:防编造、守保密、GB/T 9704 一键排版,覆盖 22 种文书,支持 Claude Code / Codex / Cursor
翻訳待ち
No updates detected yet. GitHub releases will appear here.
Record-driven agentic development. The truth is in here.
翻訳待ち
Loading the full README.
Read the full README ↗Skills for working with an AI agent on a codebase whose records are the source of truth.
On a long-lived project, what the people decided, the words they use, and what the code does drift apart. An agent speeds that drift up: it coins terms, settles questions nobody asked it to settle, and leaves its reasons in places nobody reads. These skills make the agent keep the project's decisions as records, agreed with you before they stand, and build from them.
Work in progress: the
harness-renderingbranch renders each harness's package from capability markers and a harness profile (ADR-20261019-71m6: Render each harness's package from capability markers and a harness profile), and adds an opencode package. It is not merged yet, and its evals have not yet run against a model.
A project keeps records: short statements of what its system does and why, each about one thing, with an identifier and a title that states its substance. The records are the truth for the realization, whatever makes the system do what they say: code, skill text, or other work. The realization and its checks follow the records, and a comment in code is a citation of a record and nothing else. The people working on the project are the truth for the records: a record changes only at their direction, in words they have agreed to.
Each record belongs to one category. A category's records are listed in
its projection, and its form is borrowed from a published source, kept in
docs/knowledge-base/ so the borrowing can be checked:
| Category | Holds | Form |
|---|---|---|
| Vision | What the system is for and the domain it works in | A single file |
| Ubiquitous language (UL) | What a word means, grouped by bounded context | Evans |
| User workflows (UW) | What a person is trying to achieve, step by step | Cockburn |
| Features (F) | What a thing takes and produces, one requirement to a sentence | Mavin (EARS) |
| Message catalog (MSG) | The exact text given on a refusal or failure | — |
| Architectural decisions (ADR) | A pattern the code follows, and why | Nygard |
A record's identifier is its category's prefix, the date it was drafted and
four random characters, ADR-20261026-kzx5, so records written on two branches
or in two projects never take the same one. It is cited with its title:
`ADR-20261026-kzx5: Store inspection times in UTC`.
Building follows the same records: brainstorming routes each decision to its category, a plan cites the records each task implements, and a review checks the work against them.
recs-kickstart: start here in an existing project. Interviews you,
analyzes its realization, and writes a thin first slice of records with your
agreement, plus the project's AGENTS.md.recs-writing-records: creates, supersedes, retires and clarifies a record,
and sweeps a word across the codebase.recs-brainstorming, recs-writing-plans, recs-executing-plans,
recs-subagent-driven-development, recs-test-driven-development,
recs-systematic-debugging, recs-requesting-code-review,
recs-receiving-code-review, recs-verification-before-completion,
recs-using-git-worktrees, recs-finishing-a-development-branch: the
development flow, from brainstorming to a realization of the records,
reading and citing records at every step.The skills are generic: a project's own facts live in its AGENTS.md, which
recs-kickstart drafts from skills/recs-kickstart/agents-seed.md.
Each harness has a package of its own, published from this repository on each release:
| Harness | Install |
|---|---|
| Claude Code | claude plugin marketplace add Trevoke/the-recs-files-claude, then claude plugin install recs-files@the-recs-files |
| Codex | codex plugin marketplace add Trevoke/the-recs-files-codex, then codex plugin add recs-files@the-recs-files |
| pi | pi install git:github.com/Trevoke/the-recs-files-pi@v<version> |
| Antigravity | agy plugin install https://github.com/Trevoke/the-recs-files-agy |
The Claude Code and Antigravity packages carry the recs-code-reviewer
subagent as well as the skills. Elsewhere, such as in opencode, copy (or link)
skills/recs-* into a directory the harness reads skills from, such as a
project's .agents/skills.
Then open a project and ask for recs-kickstart.
Stable for 1.0: the categories and each category's form, and record management (creating, superseding, retiring and clarifying a record; renaming and redefining a term).
May change before 1.0: how a record is identified and named on disk, which changed in this beta from numbers to dated identifiers; and the development flow skills, which may be split into a generic flow and a part for each realization modality.
The skills are evaluated on Claude Sonnet, GPT, Gemini and Qwen; see
CHANGELOG.md for the results of each release.
Testing a change to a skill, running the evals and releasing are in
CONTRIBUTING.md.
MIT; see LICENSE. The development flow skills are derived from
superpowers by Jesse Vincent, also MIT.