agentleFS
volantlabsvolantlabs/vellis/.agents/skills/documentation-sync/SKILL.md

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
  1. Distinctive:

    Keep each documentation projection useful without creating a second source of component truth.

    line 8
  2. Very specific:

    Run just model-render for parser-backed inventories, model-derived views, conformance objectives, and manifests.

    line 25
  3. Distinctive:

    When an accepted source or prior model exists, confirm the projection preserves its public meaning unless an explicit contract change was …

    line 30
  4. Distinctive:

    Before deleting predecessor documentation, classify its remaining content: contractual facts move to the model.

    line 32
  5. Distinctive:

    When package ownership or imports change, update library/application indexes and confirm the generated dependency direction still matches …

    line 37
  6. Distinctive:

    Update only hand-authored documents whose readers need new context or workflow guidance.

    line 39
  7. Distinctive:

    Update AGENTS when repository-wide authoring or realization rules change.

    line 40
  8. Distinctive:

    Update reusable skills only for generally applicable workflow improvements.

    line 41
  9. Distinctive:

    Update skill UI metadata when a skill's purpose changes.

    line 43
  10. Very specific:

    Keep generated-artifact freshness in ordinary model-check.

    line 64
  11. Distinctive:

    Prefer projections built from a conformant parser's structured model inventory.

    line 65
  12. Distinctive:

    Do not create historical archives or ADRs when Git history and the current model are sufficient.

    line 70
  13. Distinctive:

    Do not copy full model contracts into README or workflow documents.

    line 71

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 views

Hand-authored Markdown may explain rationale, tutorials, operations, evolution, or unresolved questions. It must not independently restate normative action signatures, state, dependencies, or invariants.

Workflow

  1. 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.
  2. Run just model-render for parser-backed inventories, model-derived views, conformance objectives, and manifests.
  3. 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.
  4. When an accepted source or prior model exists, confirm the projection preserves its public meaning unless an explicit contract change was approved.
  5. 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.
  6. When package ownership or imports change, update library/application indexes and confirm the generated dependency direction still matches the canonical model.
  7. Update only hand-authored documents whose readers need new context or workflow guidance.
  8. Update AGENTS when repository-wide authoring or realization rules change.
  9. Update reusable skills only for generally applicable workflow improvements; keep product names, project findings, and repository-specific package maps in repository guidance.
  10. Update skill UI metadata when a skill's purpose changes.
  11. 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.

Download now (ZIP)

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.