documentation-sync
Skill9 starsChanged 4 months agoApache-2.0View on GitHub
Keep human documentation synchronized with canonical SysML v2 models, generated component and application views, implementation realizations, repository tooling, skills, and workflow rules. Use after model, code, generated-view, README, AGENTS, skill, command, or public behavior changes.
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep each documentation projection useful without creating a second source of component truth.
- Very specific: line 25
Run just model-render for parser-backed inventories, model-derived views, conformance objectives, and manifests.
- Distinctive: line 30
When an accepted source or prior model exists, confirm the projection preserves its public meaning unless an explicit contract change was …
- Distinctive: line 32
Before deleting predecessor documentation, classify its remaining content: contractual facts move to the model.
- Distinctive: line 37
When package ownership or imports change, update library/application indexes and confirm the generated dependency direction still matches …
- Distinctive: line 39
Update only hand-authored documents whose readers need new context or workflow guidance.
- Distinctive: line 40
Update AGENTS when repository-wide authoring or realization rules change.
- Distinctive: line 41
Update reusable skills only for generally applicable workflow improvements.
- Distinctive: line 43
Update skill UI metadata when a skill's purpose changes.
- Very specific: line 64
Keep generated-artifact freshness in ordinary model-check.
- Distinctive: line 65
Prefer projections built from a conformant parser's structured model inventory.
- Distinctive: line 70
Do not create historical archives or ADRs when Git history and the current model are sufficient.
- Distinctive: line 71
Do not copy full model contracts into README or workflow documents.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Sync
Keep each documentation projection useful without creating a second source of component truth.
Source Direction
textual SysML/KPAR -> generated component, application, and manifest viewsHand-authored Markdown may explain rationale, tutorials, operations, evolution, or unresolved questions. It must not independently restate normative action signatures, state, dependencies, or invariants.
Workflow
- Inventory canonical model, implementation, generated, documentation, and skill changes from version-control status and diffs. Include untracked files; an ordinary diff omits newly added documentation and can hide an incomplete sync.
- Run
just model-renderfor parser-backed inventories, model-derived views, conformance objectives, and manifests. - Review generated component pages for actions, signatures/defaults, typed failures, state access, required constraints, asserted satisfiers, native action calls, invariants, and subject-compatible verification objectives. A fresh but semantically incomplete projection fails sync.
- When an accepted source or prior model exists, confirm the projection preserves its public meaning unless an explicit contract change was approved.
- Before deleting predecessor documentation, classify its remaining content: contractual facts move to the model; rationale, tutorials, operations, evolution notes, and unresolved questions move to a clearly non-normative home; obsolete statements cite the current model decision that supersedes them. Confirm implementation discoveries are either modeled intentionally or recorded as realization drift.
- When package ownership or imports change, update library/application indexes and confirm the generated dependency direction still matches the canonical model.
- Update only hand-authored documents whose readers need new context or workflow guidance.
- Update AGENTS when repository-wide authoring or realization rules change.
- Update reusable skills only for generally applicable workflow improvements; keep product names, project findings, and repository-specific package maps in repository guidance.
- Update skill UI metadata when a skill's purpose changes.
- Confirm packaged products validate independently and downstream products consume packaged
dependencies, then run
just skills-check,just model-check, local-link and documentation- guidance checks when available, and the narrowest relevant repository checks.
Documentation Roles
- Canonical textual model roots: normative component and application design when designated by the repository.
- Generated human-reference roots: non-normative projections; never edit them by hand.
- Generated machine-projection roots: parser indexes, conformance objectives, evidence indexes, or other derived data; regenerate rather than hand-edit.
- Project orientation and contributor guidance: architecture, links, setup, and workflow rules.
- Hand-authored documentation roots: rationale, tutorials, operations, evolution, and unresolved questions that do not restate the contract.
- Reusable skill roots: general authoring, realization, and maintenance workflows rather than product-specific findings or directory maps.
Rules
- Change the model, not generated Markdown, when a public component contract changes.
- Keep generated-artifact freshness in ordinary
model-check. - Prefer projections built from a conformant parser's structured model inventory. When temporary text extraction remains, cross-check every projected public definition against that inventory.
- Freshness is insufficient: generated pages must expose every modeled public contract, including package-level constructors, failure mappings, defaults, and verification closure.
- Record unclear model/implementation behavior as compact drift rather than explanatory duplication.
- Do not create historical archives or ADRs when Git history and the current model are sufficient.
- Do not copy full model contracts into README or workflow documents.
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- homarr-labs/homarr★ 5.3ksame name
- BurakD/ai-engineering-harness★ 1same name
- dss-time/repo-doctor-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- component-authoringSkill
- model-hygiene-reviewSkill
- python-component-implementationSkill
- rtg-knowledge-graph-mcpSkill
- rtg-schema-designSkill
- sysml-referenceSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

