@adbayb/stack 3.7.0 → 3.8.0-next.1794482865350.88f33f9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -69,10 +69,12 @@ stack release
69
69
 
70
70
  ### Agent skills
71
71
 
72
- `@adbayb/stack` ships four [Agent Skills](https://agentskills.io/specification) for coding agents:
72
+ `@adbayb/stack` ships six [Agent Skills](https://agentskills.io/specification) for coding agents:
73
73
 
74
74
  - [software-design](https://github.com/adbayb/stack/blob/main/stack/skills/software-design/): design and write clean, testable code; the single source of the design rules and glossary.
75
75
  - [software-audit](https://github.com/adbayb/stack/blob/main/stack/skills/software-audit/): audit code or pull requests against the `software-design` rules (depends on `software-design`).
76
+ - [document-design](https://github.com/adbayb/stack/blob/main/stack/skills/document-design/): create project documentation from the embedded README template; requires the [`makespec`](https://github.com/adbayb/makespec) skill for ADR, RFC, and PDR work.
77
+ - [document-audit](https://github.com/adbayb/stack/blob/main/stack/skills/document-audit/): audit project documentation, including ADR, RFC, and PDR records (requires `document-design` and [`makespec`](https://github.com/adbayb/makespec)).
76
78
  - [skill-design](https://github.com/adbayb/stack/blob/main/stack/skills/skill-design/): design and write skills with one shared anatomy, plus agent instructions such as `AGENTS.md`; the single source of the writing rules.
77
79
  - [skill-audit](https://github.com/adbayb/stack/blob/main/stack/skills/skill-audit/): audit and score skills and agent instructions such as `AGENTS.md` against the `skill-design` rules (depends on `skill-design` and Anthropic `skill-creator` for skill evaluation).
78
80
 
@@ -83,7 +85,7 @@ pnpm add -D @adbayb/stack
83
85
  pnpm approve
84
86
  ```
85
87
 
86
- If the package is already installed, run `pnpm approve`. Select `@adbayb/stack` to approve all four skills; pnpm records the approval in `pnpm-workspace.yaml`. pnpm links skills into existing agent skill directories by default. To choose a directory explicitly, configure:
88
+ If the package is already installed, run `pnpm approve`. Select `@adbayb/stack` to approve all six skills; pnpm records the approval in `pnpm-workspace.yaml`. pnpm links skills into existing agent skill directories by default. To choose a directory explicitly, configure:
87
89
 
88
90
  ```yaml
89
91
  skills:
@@ -98,6 +100,8 @@ For older pnpm versions or global installation, install from the repository with
98
100
  ```bash
99
101
  pnpm dlx skills add adbayb/stack --skill software-design -g
100
102
  pnpm dlx skills add adbayb/stack --skill software-audit -g
103
+ pnpm dlx skills add adbayb/stack --skill document-design -g
104
+ pnpm dlx skills add adbayb/stack --skill document-audit -g
101
105
  pnpm dlx skills add adbayb/stack --skill skill-design -g
102
106
  pnpm dlx skills add adbayb/stack --skill skill-audit -g
103
107
  ```
package/dist/index.js CHANGED
@@ -931,7 +931,7 @@ const createWatchCommand = (program) => {
931
931
 
932
932
  //#endregion
933
933
  //#region package.json
934
- var version = "3.7.0";
934
+ var version = "3.8.0-next.1794482865350.88f33f9";
935
935
 
936
936
  //#endregion
937
937
  //#region src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "3.7.0",
3
+ "version": "3.8.0-next.1794482865350.88f33f9",
4
4
  "description": "My opinionated JavaScript-based toolchain",
5
5
  "keywords": [
6
6
  "development",
@@ -59,8 +59,8 @@
59
59
  "@e18e/eslint-plugin": "^0.8.1",
60
60
  "@stylistic/eslint-plugin": "^5.10.0",
61
61
  "eslint-plugin-perfectionist": "^5.13.0",
62
- "oxfmt": "^0.77.0",
63
- "oxlint": "^1.92.0",
62
+ "oxfmt": "^0.78.0",
63
+ "oxlint": "^1.93.0",
64
64
  "oxlint-tsgolint": "^7.0.2006",
65
65
  "termost": "^2.0.0",
66
66
  "turbo": "^2.11.10",
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: document-audit
3
+ description: "Audit, review, and score project documentation, including README files, guides, and ADR, RFC, or PDR records, for accuracy, completeness, usability, and consistency. Use when users ask to review, assess, audit, or fix docs, including those records, even without naming Makespec. Requires the `document-design` and `makespec` skills."
4
+ license: MIT
5
+ metadata:
6
+ author: adbayb
7
+ repository: adbayb/stack
8
+ requires:
9
+ - "document-design >=1.0.0"
10
+ - "makespec >=1.0.2"
11
+ version: "1.0.0"
12
+ ---
13
+
14
+ # Document Audit
15
+
16
+ Audit project documentation against its purpose and the rules owned by `document-design`. Application code is out of scope; in mixed changes, assess only the documentation and claims relevant to it. `document-design` owns documentation rules, `makespec` owns record structure and lifecycle, and this skill owns audit evidence, severity, scoring, and fix policy. Repository rules override both prerequisites, which take precedence in their respective domains.
17
+
18
+ ## Prerequisite
19
+
20
+ `document-design` and `makespec` are required at the versions declared by `metadata.requires`. The `makespec` binary must also be available on `PATH`. If any prerequisite is unavailable or incompatible, stop before auditing and ask the user to install or update it:
21
+
22
+ ```bash
23
+ pnpm dlx skills add adbayb/stack --skill document-design -g
24
+ pnpm dlx skills add adbayb/makespec --skill makespec -g
25
+ ```
26
+
27
+ Install the Makespec binary from a release or from a Makespec checkout:
28
+
29
+ ```bash
30
+ cargo install --path . --locked
31
+ ```
32
+
33
+ Do not install without explicit approval. After approval, load both skills, confirm their frontmatter `metadata.version` values satisfy `metadata.requires`, and verify `makespec --version` succeeds. See the [Makespec README](https://github.com/adbayb/makespec#1-install-the-binary) for release-binary instructions. Do not continue with partial prerequisites.
34
+
35
+ ## Workflow
36
+
37
+ Never edit documents during an audit-only request. Do not change decisions, specifications, or application code as part of a document fix.
38
+
39
+ ### 1. Scope
40
+
41
+ - Confirm the requested documents and intended audience or task. Read each in scope fully, plus only directly relevant records, sources, instructions, and project context.
42
+ - Establish the verification baseline using applicable documented checks. Record unavailable sources and checks before assessing claims.
43
+
44
+ ### 2. Detect
45
+
46
+ - Read `references/checklist.md` for the audit dimensions, evidence threshold, severity, and scoring.
47
+ - Load `document-design` reference `writing.md` for evidence and usability, and `document-design` reference `readme-template.md` for README structure. Apply only relevant references.
48
+ - Whenever the request mentions or covers an ADR, RFC, `PDR`, or other Makespec record, use the `makespec` skill for record structure and lifecycle validation, even if the user does not name Makespec. Report its results separately from documentation findings.
49
+ - Trace material claims, links, examples, and commands to their sources. For every in-scope checklist item, record a finding, checked-clean evidence, or an inapplicability reason. Treat unsupported suspicion as an investigation question, not a confirmed finding.
50
+
51
+ ### 3. Report before fixing
52
+
53
+ - Present findings using `Output`. If the request is audit-only, stop after the report.
54
+ - Fix only when requested. Ask before deleting documentation, changing accepted records, or broadening the audited scope.
55
+
56
+ ### 4. Fix and verify
57
+
58
+ - Correct only confirmed documentation defects in scope; preserve intended meaning and clearly distinguish facts, accepted commitments, proposals, and assumptions.
59
+ - Re-run applicable checks, recheck changed claims and links, then report fixes, what remains, verification results, coverage, and updated scores.
60
+
61
+ ## Output
62
+
63
+ ```markdown
64
+ ## Audit findings
65
+
66
+ | # | Location | Severity | Dimension | Issue | Solution |
67
+ | --- | ----------------- | -------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
68
+ | 1 | `README.md#usage` | Major | C. Structure and completeness | The documented command is absent from the inspected package scripts, so readers cannot follow the setup instructions. | Replace it with the verified command. |
69
+
70
+ Totals: <Blocker>, <Major>, <Minor>. Coverage: <dimensions checked, skipped, and why>.
71
+ Verification: <checks and limits>.
72
+ Scores: <A-F criterion scores>.
73
+ **Total score: <score>/10**
74
+ ```
75
+
76
+ For no findings, say so and still report coverage and scores. Explain unconfirmed questions separately. When fixing, close with the changes, remaining items and reasons, and verification results before the updated score.
77
+
78
+ ## Example
79
+
80
+ **Request:** "Review this README for inaccurate install steps and fix them."
81
+
82
+ **Response:** Findings identify each inaccurate step with source evidence and severity; requested fixes replace only unsupported commands. The report lists applicable checks, remaining gaps, per-dimension scores, and the updated total.
@@ -0,0 +1,55 @@
1
+ # Documentation Audit Checklist
2
+
3
+ Audit every in-scope document fully. For each Evidence bullet, record a finding, checked-clean evidence, or why it does not apply. Each `Rules:` line maps the check to its canonical `document-design` owner.
4
+
5
+ ## A. Accuracy and evidence
6
+
7
+ Rules: `document-design` reference `writing.md`.
8
+
9
+ - Evidence: claims supported by inspected implementation, configuration, sources, or accepted records; proposals distinguished from commitments; assumptions labeled; cited sources actually read; no fabricated evidence, measurements, behavior, approval, or status. When an ADR, RFC, `PDR`, or other Makespec record is in scope, use the `makespec` skill for record status and format validation.
10
+ - Deltas: unsupported claims require a concrete contradiction or missing source; do not deduct merely because a document lacks citations when its factual basis is clear in scope.
11
+
12
+ ## B. Purpose, audience, and scope
13
+
14
+ Rules: `document-design` reference `writing.md`.
15
+
16
+ - Evidence: intended reader and task are clear; document covers the requested scope without unrelated filler; prerequisites, steps, and outcomes support the task; scope does not imply authorization for unrequested decisions or implementation.
17
+ - Deltas: assess the document's stated audience and purpose, not an imagined broader readership.
18
+
19
+ ## C. Structure and completeness
20
+
21
+ Rules: `document-design` reference `writing.md` and `document-design` reference `readme-template.md`.
22
+
23
+ - Evidence: sections fit the artifact and established template; required content is present; README headings and order follow the chosen template; adapting content preserves the source's intended meaning; placeholders, stale scaffold text, and missing non-optional content are identified. Delegate ADR, RFC, `PDR`, and other formal Makespec record structure checks to the `makespec` skill.
24
+ - Deltas: a template mismatch is not a finding when an explicit user or repository template takes precedence; when a section is inapplicable, check that the document says so instead of silently omitting it.
25
+
26
+ ## D. Usability and navigation
27
+
28
+ Rules: `document-design` reference `writing.md` and `document-design` reference `readme-template.md`.
29
+
30
+ - Evidence: headings, sequence, examples, terminology, and expected results help readers complete the task; local links resolve; commands and examples are distinguishable from placeholders; related requirements link to their owning records.
31
+ - Deltas: report only reader-impacting navigation or clarity issues, not stylistic preferences.
32
+
33
+ ## E. Consistency and maintenance
34
+
35
+ Rules: `document-design` reference `writing.md` and `document-design` reference `readme-template.md`.
36
+
37
+ - Evidence: terms and claims align with relevant documents and accepted records; duplicated details link to a source of truth; links, package names, contribution guidance, and license match inspected project evidence; conflicting records are surfaced, not silently reconciled.
38
+ - Deltas: distinguish a concrete contradiction or drift path from harmless wording variation.
39
+
40
+ ## F. Validation and change scope
41
+
42
+ Rules: `document-design` reference `writing.md` and `document-design` reference `readme-template.md`.
43
+
44
+ - Evidence: relevant documented checks were run when available; check results and unverified claims are stated accurately; use the `makespec` skill for formal record lifecycle checks; fixes affect only requested documentation and do not change record status or application behavior.
45
+ - Deltas: no CLI or check is required for prose-only documents when no applicable validator exists; report unavailable validation rather than implying success.
46
+
47
+ ## Severity
48
+
49
+ Assign severity by demonstrated reader impact. Blocker: dangerous or irreversible instructions, or a core document unusable for its stated task. Major: a materially false instruction, commitment, or required step likely to mislead readers. Minor: local clarity, completeness, navigation, or maintenance defect without material impact.
50
+
51
+ ## Evidence and scoring
52
+
53
+ Cite each finding's location and supporting source. State whether the issue was reproduced, traced without execution, or left unconfirmed. Keep investigation questions separate from findings and do not score unconfirmed suspicions.
54
+
55
+ Score A-F from 0 (absent or conflicting) to 2 (complete in the audited scope). Each unresolved confirmed finding lowers an affected dimension. Calculate `sum / 12 * 10`, rounded to one decimal, and state that the score is a qualitative judgment; incomplete relevant verification makes it provisional. End with **Total score: ?/10**.
@@ -0,0 +1,83 @@
1
+ ---
2
+ name: document-design
3
+ description: "Create or update project documentation and missing READMEs using the embedded template; delegate ADR, RFC, PDR, and Makespec record work to its skill. Use when users ask to write or improve docs or README files, or mention or request an ADR, RFC, PDR, or Makespec record, even without naming Makespec. Requires the `makespec` skill."
4
+ license: MIT
5
+ metadata:
6
+ author: adbayb
7
+ repository: adbayb/stack
8
+ requires:
9
+ - "makespec >=1.0.2"
10
+ version: "1.0.0"
11
+ ---
12
+
13
+ # Document Design
14
+
15
+ Create project documentation grounded in inspected sources. Application code and documentation audits are out of scope. This skill owns general writing rules and README creation; the `makespec` skill owns formal decision and specification records. Repository rules override this skill, and its references win over this file on documentation-rule conflicts.
16
+
17
+ ## Prerequisite
18
+
19
+ The `makespec` skill is required at the version declared by `metadata.requires`, and the `makespec` binary must be available on `PATH`. If either is missing or incompatible, stop before creating documentation and ask the user to install or update it. Do not install anything without explicit approval.
20
+
21
+ Install the skill globally with:
22
+
23
+ ```bash
24
+ pnpm dlx skills add adbayb/makespec --skill makespec -g
25
+ ```
26
+
27
+ Install the binary from a Makespec release as documented in its [README](https://github.com/adbayb/makespec#1-install-the-binary), or build it from a Makespec checkout:
28
+
29
+ ```bash
30
+ cargo install --path . --locked
31
+ ```
32
+
33
+ After approval, load the skill, confirm its frontmatter `metadata.version` satisfies `metadata.requires`, and verify `makespec --version` succeeds. The alternative `makespec init` installs the skill locally but also creates record directories and an adoption decision; do not run it without explicit approval. Do not continue with partial prerequisites. A missing mapped reference is an incompatibility to report, not a reason to recreate Makespec guidance here.
34
+
35
+ ## Acronym glossary
36
+
37
+ - **AI**: Artificial Intelligence.
38
+ - **ADR**: Architecture Decision Record.
39
+ - **ASCII**: American Standard Code for Information Interchange.
40
+ - **CLI**: Command-Line Interface.
41
+ - **ID**: identifier.
42
+ - **MUST / SHOULD / MAY**: Makespec requirement priority words.
43
+ - **RFC**: Request for Comments.
44
+ - **README**: readme file.
45
+
46
+ ## Workflow
47
+
48
+ Follow in order. Load only the references needed for the requested artifact.
49
+
50
+ ### 1. Establish purpose and sources
51
+
52
+ - Load `references/writing.md` for the shared prose rules and documentation-specific evidence and scope guidance.
53
+ - Inspect the target directory, relevant project instructions, existing documentation, and only the code or configuration needed to support the requested claims. Distinguish accepted commitments from proposals.
54
+
55
+ ### 2. Choose the document route
56
+
57
+ - Whenever a request mentions or asks to write, review, or revise an ADR, RFC, `PDR`, or other Makespec record, load the prerequisite `makespec` skill, even if the user does not name Makespec. Delegate record structure, creation, editing, validation, status changes, and record interpretation to it. Do not duplicate its lifecycle or template rules.
58
+ - For a missing or rewritten README, load `references/readme-template.md`. Inspect repository-specific README sources when available.
59
+ - For other documentation, follow `references/writing.md` and any format already established by the project.
60
+
61
+ ### 3. Draft the requested artifact
62
+
63
+ - State only supported facts; label assumptions and link relevant inspected sources. Preserve existing project terminology and avoid duplicating requirements owned by linked specifications.
64
+ - Keep the change limited to the requested document. Do not silently create decisions, specifications, or other documentation.
65
+
66
+ ### 4. Validate and report
67
+
68
+ - Verify claims, local paths, links, commands, and examples against available sources. Run only documented checks that apply to the artifact; let the `makespec` skill perform record validation.
69
+ - If the Makespec skill, binary, or required project context is unavailable, stop the affected work and report the blocker rather than inventing a manual substitute. Report any checks not run.
70
+
71
+ ## Output
72
+
73
+ State the files created or updated, the sources or assumptions that materially shaped them, and applicable validation results. Identify unresolved gaps and checks not run; omit unchanged items.
74
+
75
+ ## Example
76
+
77
+ **Request:** "Add a README for `libraries/api` using the embedded template."
78
+
79
+ **Response:** Created `libraries/api/README.md` using the embedded template, with package usage and architecture grounded in the inspected manifest and source. No unsupported features were added; links and commands were checked against the repository.
80
+
81
+ ## Missing rule?
82
+
83
+ If a documentation rule is missing or ambiguous, report the gap and consult `references/sources.md` for non-normative sources.
@@ -0,0 +1,46 @@
1
+ <div align="center">
2
+ <h1>📦 {{projectName}}</h1>
3
+ <strong>{{projectDescription}}</strong>
4
+ </div>
5
+ <br>
6
+ <br>
7
+
8
+ ## ✨ Features
9
+
10
+ {{features}}
11
+
12
+ <br>
13
+
14
+ ## 🚀 Usage
15
+
16
+ This section introduces the `{{projectName}}` essentials by walking through its main commands:
17
+
18
+ {{usageSteps}}
19
+
20
+ {{usageOutcome}}
21
+
22
+ <br>
23
+
24
+ ## 🌍 Ecosystem
25
+
26
+ {{ecosystem}}
27
+
28
+ <br>
29
+
30
+ ## 🏗️ Architecture
31
+
32
+ {{architecture}}
33
+
34
+ <br>
35
+
36
+ ## ✍️ Contribution
37
+
38
+ {{contributionGuidance}}
39
+
40
+ <br>
41
+
42
+ ## 📖 License
43
+
44
+ {{license}}
45
+
46
+ <br>
@@ -0,0 +1,20 @@
1
+ # README Structure
2
+
3
+ Use when creating a missing README or substantially reorganizing one. The portable starting point is [`../assets/README.template.md`](../assets/README.template.md).
4
+
5
+ ## Choose the template
6
+
7
+ - Use the embedded asset by default unless a repository-specific template or the user's request takes precedence.
8
+ - If the target repository has an explicit local README template or the user provides one, adapt the asset to it rather than overwriting its conventions.
9
+ - The asset is a portable outline, not pre-verified project content. Inspect local documentation, source, configuration, and scripts to fill it.
10
+
11
+ ## Adapt, do not copy blindly
12
+
13
+ - Preserve the template's headings and order unless the user or a repository-specific template explicitly takes precedence. Replace every placeholder with verified project content.
14
+ - Adapt the source content to fit the template while preserving its meaning, relevant facts, caveats, warnings, links, and intent. Reorganize or rephrase only as needed; do not discard information merely to make the README shorter or cleaner.
15
+ - Keep each template section. If a section truly does not apply or its content cannot be verified, say so briefly in that section rather than silently removing it or inventing content.
16
+ - Preserve the embedded template's emoji headings when using it; they are part of its required formatting.
17
+ - Do not copy claims, commands, links, dependencies, or architecture from the template into another project without verifying that they apply.
18
+ - Derive features from implemented behavior, usage from actual scripts or public interfaces, and architecture from inspected source and configuration. Include prerequisites and expected outcomes for procedures.
19
+ - Verify repository links, commands, package names, license, and examples. Do not invent a contribution process or license; state when the information is unavailable.
20
+ - When source content conflicts with the template or cannot be preserved without changing its meaning, retain the source meaning and report the conflict instead of silently rewriting it.
@@ -0,0 +1,7 @@
1
+ # Sources
2
+
3
+ These sources are non-normative. Repository instructions, local accepted records, and local templates take precedence. The installed `makespec` skill is the canonical owner of Makespec record workflows; this file does not restate them.
4
+
5
+ - Makespec bundled authoring skill: https://github.com/adbayb/makespec/blob/main/.agents/skills/makespec/SKILL.md
6
+ - Makespec skill source, including the writing guide copied into `writing.md`: https://github.com/adbayb/makespec/tree/main/.agents/skills/makespec
7
+ - Original source for the embedded README template (provenance only): https://github.com/adbayb/stack/blob/main/stack/README.md
@@ -0,0 +1,34 @@
1
+ # Documentation Writing
2
+
3
+ The writing rules below are copied from the Makespec skill's writing guide because they also apply to README files and general project documentation. Keep them aligned with that guide when updating either skill.
4
+
5
+ ## Writing rules
6
+
7
+ Apply these rules to record content and planning prose. Preserve facts, technical meaning, required template syntax, IDs, comparison labels, and MUST/SHOULD/MAY priorities. Leave code, commands, paths, URLs, and quotations unchanged. Keep meaningful Unicode in names, localized text, and technical notation.
8
+
9
+ - Do not use em dashes (U+2014) or en dashes (U+2013) in authored prose. Use commas, periods, colons, or parentheses. Do not substitute spaced hyphens or double hyphens as sentence connectors; keep normal hyphenated terms.
10
+ - Use plain ASCII punctuation: straight quotes and apostrophes, ordinary spaces, and `...` if an ellipsis is needed. Avoid smart quotes, typographic ellipses, and decorative Unicode symbols.
11
+ - Remove accidental invisible characters, including zero-width spaces, nonbreaking spaces, soft hyphens, and byte order marks. Preserve intentional characters that carry meaning.
12
+ - Use plain Markdown bullets and sentence-case headings. Avoid decorative emojis, arrows, repeated horizontal rules, and bold labels on every list item. Keep required template formatting.
13
+ - Lead with the problem, decision, or required behavior. Remove document announcements, chatbot greetings, praise, offers to continue, and sign-offs such as "Great question", "Here's why", or "I hope this helps".
14
+ - Remove model-specific citation tokens, role tags, and drafting notes. Cite verified sources with Markdown links; retain explicit unknowns and template-supported open questions.
15
+ - Remove filler, redundant qualifiers, and empty emphasis such as "It's worth noting" or "really". Keep qualifiers that change requirement scope or behavior, such as "only" and "by default".
16
+ - Name the responsible actor or component and prefer active voice. State who rejects invalid input, retries an operation, or accepts a decision. Avoid giving documents or data human intentions.
17
+ - Make claims specific. Replace vague importance, performance claims, and unnamed expert opinions with concrete consequences, measurable requirements, or cited evidence. State missing evidence and uncertainty; do not invent facts, citations, or personal anecdotes.
18
+ - Use plain technical language. Remove sales language and stock phrasing such as "delve into", "game-changing", or "seamless". Keep specialized terms when they have a defined technical meaning.
19
+ - Avoid rhetorical questions, dramatic fragments, staged objections, formulaic "not X, but Y" contrasts, and forced three-item lists. Keep genuine comparisons, constraints, and distinct options regardless of their count.
20
+ - Vary sentence openings, length, and paragraph structure without padding or deliberate mistakes. Cut slogans, punchy closing lines, repeated conclusions, and explanations the reader already has.
21
+
22
+ Before finishing, check punctuation and hidden characters, then reread for repetition and unsupported claims. Confirm that edits preserve actors, negation, scope, numbers, evidence, and requirement strength. Judge clarity and accuracy; do not claim human authorship or guaranteed AI-detector results.
23
+
24
+ ## Applying the rules to project documentation
25
+
26
+ - Identify the intended reader, task, and scope. Prefer the shortest document that lets the reader complete that task.
27
+ - Read relevant source files, configuration, commands, and existing documentation before making claims. Do not infer implemented behavior from a proposal, filename, or example.
28
+ - Separate observed facts, accepted decisions, proposals, and assumptions. Label assumptions when they materially affect the document.
29
+ - Link to authoritative sources and nearby documentation instead of copying details likely to drift. Do not claim a link, command, option, or behavior was checked unless it was.
30
+ - Put prerequisites before steps that need them, order procedures as performed, and put expected results near the relevant action.
31
+ - Make links descriptive and relative for repository-local targets. Verify local targets and distinguish placeholders from literal example values.
32
+ - Edit only the requested documentation and directly necessary links. Do not alter source behavior or create records, policies, or decisions without authorization.
33
+ - For content derived from a Makespec record, load the `makespec` skill; cite only records it inspected and preserve their status.
34
+ - Check factual claims, paths, links, commands, and examples. Run relevant documented documentation checks when available, and report what was not verified.