[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ENC8X330E0AVBD5AMZE5W9":3,"skill-same:01M7ENC8X330E0AVBD5AMZE5W9":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M7ENC8X330E0AVBD5AMZE5W9","okfreq-gardening",null,"Audit and improve an okfreq requirements bundle by finding missing traceability, stale requirements, broken hierarchy links, coverage gaps, and configuration drift while preserving authored content and generated-field ownership.","gsemet\u002Fmarkdown-okf-schema-studio","gsemet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F133498?v=4","01M7ENBEXKFDNNNXEN1YNE0CJ4","Gaetan Semet","01M7ENBEY56X9KMNA0YHQF56EN",6,"MIT","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fokfreq-gardening\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: okfreq-gardening\ndescription: 'Audit and improve an okfreq requirements bundle by finding missing traceability, stale requirements, broken hierarchy links, coverage gaps, and configuration drift while preserving authored content and generated-field ownership.'\nmetadata:\n  keywords: [okfreq, requirements, traceability, gardening, audit, coverage, StRS, SwRS]\n  url: https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fokf-schema\n---\n\n# okfreq gardening\n\n\u003C!-- @implements_req SwRS-OKFSCHEMA-OKFREQ-008 -->\n\nThis specialized workflow extends the foundational `okfreq` skill. Load the\n`okfreq` skill first so the requirements goal, StRS-to-SwRS model,\nproject-guideline precedence, and traceability semantics remain in force\nthroughout gardening. Do not assume that installed skills share a directory.\n\nRead the bundle's `guidelines\u002Frequirements.guidelines.md` during Phase 1, after\nchecking the project's own `AGENTS.md`, then any project guideline in the same\nfolder (by convention `project.guidelines.md`), which wins where it specializes\nthe shared text. `okfreq init` installs the shared file; if it is missing or\noutdated, run `okfreq init \u003Cbundle> --force`, which replaces it with the\npackaged text and never touches the project files.\n\nPerform an explicit, evidence-based maintenance pass over an `okfreq` bundle.\nThe primary users are coding agents working on brownfield projects where source\ncode, tests, and requirements have drifted apart. The workflow discovers gaps,\nproposes safe changes, and validates the result. It does not silently invent\nrequirements, evidence, IDs, UUIDs, lifecycle transitions, or coverage.\n\nInvoke this skill only when the user asks to audit, garden, refresh, reconcile,\nor maintain an `okfreq` requirements base. Do not run it proactively during an\nunrelated implementation task.\n\n## Non-negotiable boundaries\n\n- Resolve the bundle root before anything else: it is the directory that owns\n   `config.yml`. Prefer a top-level `requirements\u002F`; otherwise resolve the agent\n   configuration directory, using `.agents\u002F` when it exists and `.github\u002F` only\n   as a fallback. Never prefer `.github\u002F` over an existing `.agents\u002F` directory,\n   and do not create both locations for the same configuration.\n- Treat the bundle as split. The bundle root owns `config.yml`, `guidelines\u002F`,\n   and generated reports; `\u003Cbundle>\u002Ftiers\u002F` owns `_schema\u002F`, `index.md`,\n   `log.md`, and the tier folders. Read `config.yml` and every file in\n   `\u003Cbundle>\u002Ftiers\u002F_schema\u002F` before editing anything.\n- Preserve requirement IDs, UUIDs, authored frontmatter, unknown properties,\n  YAML comments, and Markdown bodies.\n- Never hand-edit `derived_by`, `supersedes`, `implemented_in_files`, `tested_in_files`,\n  `default_owner_email`, indexes or reports. Use explicit `okfreq` commands for generated data.\n- Never claim implementation or test coverage without source evidence and\n  markers. Markers are links, not proof that tests pass.\n- Never change lifecycle or approval state as an incidental edit.\n- Never renumber existing IDs. New IDs must be collision-safe and stable.\n- Imported requirements remain read-only by default; change them only through an\n  explicit migration or import operation.\n- Preserve unrelated user work and inspect the worktree before writing.\n\nFor CLI syntax, configuration, skipped link checks and report destinations, read\nthe installed `okfreq` skill's `references\u002Foperations.md`; it is packaged and\nrequires no access to the tool's source repository or documentation site.\n\n## Phase 1 — Discover project rules and scope\n\n1. Resolve the bundle root. Prefer an explicit path; otherwise look for\n   `requirements\u002F`, then `\u003Cagent-config>\u002Frequirements\u002F`, where `\u003Cagent-config>`\n   is `.agents\u002F` when it exists and `.github\u002F` otherwise. Confirm the choice by\n   the presence of `config.yml`. Stop if no unique bundle exists.\n2. Read the nearest `AGENTS.md`, the bundle's own\n   `guidelines\u002Frequirements.guidelines.md`, any other applicable guidelines,\n   `config.yml`, and every schema in `tiers\u002F_schema\u002F`. If the bundle guideline\n   is absent, use the `okfreq` skill's bundled reference guideline as the\n   fallback; a project-local guideline always takes precedence.\n3. Confirm the bundle resolves as expected before auditing content. Run\n   `okfreq validate \u003Cbundle> --prose`; a traceback or a missing-schema error means the\n   layout and the tool disagree, and that drift is the first finding to fix.\n4. Read the project task runner and CI configuration to identify validation and\n   test commands. Do not assume a universal runner.\n5. Record configured tiers, parent relationships, ID policy, lifecycle values,\n   owners and approval locks, marker keywords, generated-field ownership, and\n   scope mappings.\n6. Inspect `git status` so pre-existing changes are not attributed to gardening.\n\n## Phase 2 — Establish a read-only baseline\n\nRun the project-prescribed validation and test checks before changing files.\nThen inspect requirements frontmatter before bodies and inventory:\n\n- every requirement by ID, UUID, tier, scope, origin, and lifecycle;\n- authored `derives_from`, `depends_on`, `superseded_by` and `relates_to` relationships;\n- generated `derived_by`, `supersedes`, implementation, and test fields;\n- verification methods and criteria;\n- unknown producer metadata and preservation-sensitive comments;\n- source and test files covered by each configured scope.\n\nUse the following commands as appropriate:\n\n```console\nokfreq status .\nokfreq validate . --prose\nokfreq lint . --prose --check\nokfreq index .\nokfreq graph . --json\nokfreq trace . --json\n```\n\nKeep schema errors, graph errors, marker errors, missing IDs, lifecycle counts,\nand scan warnings as separate findings.\n\n## Phase 3 — Repair structural and graph issues\n\n1. Identify malformed frontmatter, missing required fields, invalid UUIDs, invalid\n   tiers, invalid lifecycle values, and unknown hierarchy targets.\n2. Detect orphaned upper-level requirements and requirements whose parent tier\n   violates the configured hierarchy.\n3. Use `okfreq graph` to inspect reverse derivation. Rebuild generated\n   `derived_by` and `supersedes` only through `okfreq update-coverage` after\n   previewing it. Every `superseded` requirement must name its replacements in\n   `superseded_by`; report one that does not instead of guessing a replacement.\n4. Never repair an uncertain relationship by guessing. Report it as an open\n   discrepancy and ask for a decision.\n5. Preserve all authored and unknown metadata while making approved repairs.\n\n## Phase 4 — Audit source and test traceability\n\nRun `okfreq trace . --json` and classify results:\n\n- `implemented` — source files containing implementation markers;\n- `tested` — test files containing test markers;\n- `missing_ids` — markers that reference no known requirement;\n- `duplicates` — always empty: the same ID may be marked several times in one\n  file, and in several files; the key is kept for report compatibility;\n- `non_leaf` — markers on an upper-level requirement, normally a warning;\n- `warnings` — missing or otherwise incomplete scan locations.\n\nFor each requirement, determine whether it has credible implementation and test\nlinks. Distinguish these cases:\n\n1. **Existing behavior, missing marker:** propose adding the correct marker near\n   the relevant function, class, module, or test.\n2. **New behavior with no requirement:** propose a new configured-tier\n   requirement through `okfreq new`, link it with `derives_from`, and do not\n   repurpose an existing ID.\n3. **Requirement with no matching behavior:** report `req_not_in_code`; do not\n   delete or silently deprecate it.\n4. **Behavior delivered by shipped non-code content:** when a requirement is\n   satisfied by packaged prompt, skill, or data files, add that location to the\n   relevant scope in `config.yml` and place the marker in the file itself, using\n   a comment form the format allows. Do not attribute it to unrelated code.\n5. **Infrastructure or generated code:** record an explicit exemption rationale\n   instead of forcing a misleading marker.\n\nAsk for confirmation before modifying source, tests, authored requirement\ncontent, or scope mappings. Add markers in comments appropriate for the language\nand keep them close to the behavior they identify.\n\n### Tier-specific authoring contract\n\nWhen an approved gap requires `okfreq new`, preserve the distinct generated\nformats instead of applying one generic requirement template:\n\n- **StRS — stakeholder intent:** provide one stakeholder-observable `SHALL`\n  statement as `--description` and the stakeholder's underlying outcome as\n  `--user-need`. Use the frontmatter title as the first heading. Complete `Normative behavior`, `User Need`,\n  and `Rationale and constraints`. Do not add SwRS scenarios, verification\n  notes, or implementation markers to an StRS. Add a direct validation-test\n  marker only for a real stakeholder test, as required by the configured mode.\n- **SwRS — software behavior:** provide one observable, bounded `SHALL`\n  response as `--description` and at least one valid StRS parent with\n  `--derives-from`. Complete nominal and boundary\u002Ffailure GIVEN-WHEN-THEN\n  scenarios plus objective verification notes. Do not add a `User Need` or\n  stakeholder-constraints section to an SwRS.\n\nTreat every angle-bracket item emitted by the scaffold as an explicit authoring\ngap. Replace it with evidence-based content or leave it visible and report the\nrequirement as incomplete; never delete a placeholder merely to silence prose\nvalidation. Use the generated frontmatter as-is: `user_need` belongs to StRS,\nwhile annotation exemption intent belongs to SwRS.\n\n## Phase 5 — Update generated coverage safely\n\nAfter markers are reviewed, preview generated updates:\n\n```console\nokfreq update-coverage . --check\nokfreq update-coverage . --diff\nokfreq update-coverage .\n```\n\nThe command may update only fields owned by `okfreq`: reverse derivation and\ncoverage fields. Verify that bodies, comments, quotes, IDs, UUIDs, unknown\nproperties, authored derivations, dependencies, and verification criteria are\nunchanged. If a generated update would overwrite external ownership, stop and\nreport the conflict.\n\nAfter reviewed requirement changes, run `okfreq lint \u003Cbundle> --diff`, then\n`okfreq lint \u003Cbundle>` to refresh tier\u002Fscope navigation. Keep authored text\noutside generated blocks. Append a dated summary to `\u003Cbundle>\u002Ftiers\u002Flog.md`\nwith affected IDs, rationale, decisions and real validation evidence; never\nregenerate the log or invent entries for a no-op pass.\n\n## Phase 6 — Lifecycle and verification audit\n\nTreat `draft`, `proposed`, `approved`, `deprecated`, and `superseded` as distinct.\nAn approved requirement needs configured verification information and successful\nstructural validation; a marker alone is insufficient. It also records its\nowner's agreement (`approved_by`, `approved_on`) on a tier and scope whose\n`approval_lock` is true; report a gap, never fill these fields yourself during an\naudit. Implemented drafts are reported as candidates for `proposed`; the change\nitself follows the user's decision. Lifecycle changes are\nexplicit and confirmed:\n\n```console\nokfreq archive REQUIREMENT-ID --yes\nokfreq supersede OLD-ID REPLACEMENT-ID [REPLACEMENT-ID...] --yes\n```\n\nArchive never deletes. Supersession requires at least one real replacement\ntarget and records them all in the `superseded_by` list. A draft\nthat was never published may be discarded with `okfreq retire ID --yes`, which\nrecords the ID in `retired_ids` so the number is never reused; do not delete\nrequirement files by hand. Do not\nmutate lifecycle state merely because prose, coverage, or indexes changed.\n\n## Phase 6b — Simplify and restructure\n\nMeasure whether the bundle has grown too fine or repetitive for the local\nguideline's granularity rule: several SwRS that are scenarios of one behaviour,\nthe same rule repeated per feature, near-duplicates across scopes, or SwRS that\ndescribe internals rather than observable behaviour. Report the counts with\nexample IDs and a proposed mapping from old to new requirements.\n\nRestructuring (merging, superseding or archiving requirements) changes the\ncontract: do it only after the user approves the proposed mapping. Without\napproval, report the proposal and stop this phase. Never delete a published\nrequirement; supersede or archive it. Use `okfreq retire` only for drafts that\nwere never published.\n\n## Phase 7 — Reports and final validation\n\nGenerate separate metrics rather than a composite score:\n\nWrite generated reports to the project's `dist\u002F` directory, never into the\nrequirements bundle or `tiers\u002F`:\n\n```console\nokfreq generate-report \u003Cbundle> --output-json \u003Cproject>\u002Fdist\u002Frequirements-report.json \\\n  --output-summary-md \u003Cproject>\u002Fdist\u002Frequirements-report.md\n```\n\nReport at least:\n\n- schema and structural health;\n- hierarchy and graph errors;\n- implementation marker coverage;\n- test marker coverage;\n- missing, duplicate, and non-leaf references;\n- lifecycle counts;\n- unresolved discrepancies and exemptions.\n\nRun the project-prescribed preflight after all approved changes. At minimum,\nrun `okfreq validate --prose`, `okfreq lint --prose`, and the normal project\ntests. Prose findings remain advisory, but unresolved scaffold placeholders must\nbe reported as authoring gaps.\n\n## Final report\n\nReturn a concise summary containing:\n\n1. baseline errors and warnings;\n2. requirements inspected and discrepancies by category;\n3. markers added or proposed in source and tests;\n4. generated fields updated and preview commands used;\n5. lifecycle changes explicitly confirmed;\n6. files changed and files intentionally preserved;\n7. validation and test commands with results; and\n8. unresolved questions requiring human decisions.\n\nDo not claim that traceability is complete when evidence is missing or tests did\nnot run successfully.\n","# okfreq gardening\n\n\u003C!-- @implements_req SwRS-OKFSCHEMA-OKFREQ-008 -->\n\nThis specialized workflow extends the foundational `okfreq` skill. Load the\n`okfreq` skill first so the requirements goal, StRS-to-SwRS model,\nproject-guideline precedence, and traceability semantics remain in force\nthroughout gardening. Do not assume that installed skills share a directory.\n\nRead the bundle's `guidelines\u002Frequirements.guidelines.md` during Phase 1, after\nchecking the project's own `AGENTS.md`, then any project guideline in the same\nfolder (by convention `project.guidelines.md`), which wins where it specializes\nthe shared text. `okfreq init` installs the shared file; if it is missing or\noutdated, run `okfreq init \u003Cbundle> --force`, which replaces it with the\npackaged text and never touches the project files.\n\nPerform an explicit, evidence-based maintenance pass over an `okfreq` bundle.\nThe primary users are coding agents working on brownfield projects where source\ncode, tests, and requirements have drifted apart. The workflow discovers gaps,\nproposes safe changes, and validates the result. It does not silently invent\nrequirements, evidence, IDs, UUIDs, lifecycle transitions, or coverage.\n\nInvoke this skill only when the user asks to audit, garden, refresh, reconcile,\nor maintain an `okfreq` requirements base. Do not run it proactively during an\nunrelated implementation task.\n\n## Non-negotiable boundaries\n\n- Resolve the bundle root before anything else: it is the directory that owns\n   `config.yml`. Prefer a top-level `requirements\u002F`; otherwise resolve the agent\n   configuration directory, using `.agents\u002F` when it exists and `.github\u002F` only\n   as a fallback. Never prefer `.github\u002F` over an existing `.agents\u002F` directory,\n   and do not create both locations for the same configuration.\n- Treat the bundle as split. The bundle root owns `config.yml`, `guidelines\u002F`,\n   and generated reports; `\u003Cbundle>\u002Ftiers\u002F` owns `_schema\u002F`, `index.md`,\n   `log.md`, and the tier folders. Read `config.yml` and every file in\n   `\u003Cbundle>\u002Ftiers\u002F_schema\u002F` before editing anything.\n- Preserve requirement IDs, UUIDs, authored frontmatter, unknown properties,\n  YAML comments, and Markdown bodies.\n- Never hand-edit `derived_by`, `supersedes`, `implemented_in_files`, `tested_in_files`,\n  `default_owner_email`, indexes or reports. Use explicit `okfreq` commands for generated data.\n- Never claim implementation or test coverage without source evidence and\n  markers. Markers are links, not proof that tests pass.\n- Never change lifecycle or approval state as an incidental edit.\n- Never renumber existing IDs. New IDs must be collision-safe and stable.\n- Imported requirements remain read-only by default; change them only through an\n  explicit migration or import operation.\n- Preserve unrelated user work and inspect the worktree before writing.\n\nFor CLI syntax, configuration, skipped link checks and report destinations, read\nthe installed `okfreq` skill's `references\u002Foperations.md`; it is packaged and\nrequires no access to the tool's source repository or documentation site.\n\n## Phase 1 — Discover project rules and scope\n\n1. Resolve the bundle root. Prefer an explicit path; otherwise look for\n   `requirements\u002F`, then `\u003Cagent-config>\u002Frequirements\u002F`, where `\u003Cagent-config>`\n   is `.agents\u002F` when it exists and `.github\u002F` otherwise. Confirm the choice by\n   the presence of `config.yml`. Stop if no unique bundle exists.\n2. Read the nearest `AGENTS.md`, the bundle's own\n   `guidelines\u002Frequirements.guidelines.md`, any other applicable guidelines,\n   `config.yml`, and every schema in `tiers\u002F_schema\u002F`. If the bundle guideline\n   is absent, use the `okfreq` skill's bundled reference guideline as the\n   fallback; a project-local guideline always takes precedence.\n3. Confirm the bundle resolves as expected before auditing content. Run\n   `okfreq validate \u003Cbundle> --prose`; a traceback or a missing-schema error means the\n   layout and the tool disagree, and that drift is the first finding to fix.\n4. Read the project task runner and CI configuration to identify validation and\n   test commands. Do not assume a universal runner.\n5. Record configured tiers, parent relationships, ID policy, lifecycle values,\n   owners and approval locks, marker keywords, generated-field ownership, and\n   scope mappings.\n6. Inspect `git status` so pre-existing changes are not attributed to gardening.\n\n## Phase 2 — Establish a read-only baseline\n\nRun the project-prescribed validation and test checks before changing files.\nThen inspect requirements frontmatter before bodies and inventory:\n\n- every requirement by ID, UUID, tier, scope, origin, and lifecycle;\n- authored `derives_from`, `depends_on`, `superseded_by` and `relates_to` relationships;\n- generated `derived_by`, `supersedes`, implementation, and test fields;\n- verification methods and criteria;\n- unknown producer metadata and preservation-sensitive comments;\n- source and test files covered by each configured scope.\n\nUse the following commands as appropriate:\n\n```console\nokfreq status .\nokfreq validate . --prose\nokfreq lint . --prose --check\nokfreq index .\nokfreq graph . --json\nokfreq trace . --json\n```\n\nKeep schema errors, graph errors, marker errors, missing IDs, lifecycle counts,\nand scan warnings as separate findings.\n\n## Phase 3 — Repair structural and graph issues\n\n1. Identify malformed frontmatter, missing required fields, invalid UUIDs, invalid\n   tiers, invalid lifecycle values, and unknown hierarchy targets.\n2. Detect orphaned upper-level requirements and requirements whose parent tier\n   violates the configured hierarchy.\n3. Use `okfreq graph` to inspect reverse derivation. Rebuild generated\n   `derived_by` and `supersedes` only through `okfreq update-coverage` after\n   previewing it. Every `superseded` requirement must name its replacements in\n   `superseded_by`; report one that does not instead of guessing a replacement.\n4. Never repair an uncertain relationship by guessing. Report it as an open\n   discrepancy and ask for a decision.\n5. Preserve all authored and unknown metadata while making approved repairs.\n\n## Phase 4 — Audit source and test traceability\n\nRun `okfreq trace . --json` and classify results:\n\n- `implemented` — source files containing implementation markers;\n- `tested` — test files containing test markers;\n- `missing_ids` — markers that reference no known requirement;\n- `duplicates` — always empty: the same ID may be marked several times in one\n  file, and in several files; the key is kept for report compatibility;\n- `non_leaf` — markers on an upper-level requirement, normally a warning;\n- `warnings` — missing or otherwise incomplete scan locations.\n\nFor each requirement, determine whether it has credible implementation and test\nlinks. Distinguish these cases:\n\n1. **Existing behavior, missing marker:** propose adding the correct marker near\n   the relevant function, class, module, or test.\n2. **New behavior with no requirement:** propose a new configured-tier\n   requirement through `okfreq new`, link it with `derives_from`, and do not\n   repurpose an existing ID.\n3. **Requirement with no matching behavior:** report `req_not_in_code`; do not\n   delete or silently deprecate it.\n4. **Behavior delivered by shipped non-code content:** when a requirement is\n   satisfied by packaged prompt, skill, or data files, add that location to the\n   relevant scope in `config.yml` and place the marker in the file itself, using\n   a comment form the format allows. Do not attribute it to unrelated code.\n5. **Infrastructure or generated code:** record an explicit exemption rationale\n   instead of forcing a misleading marker.\n\nAsk for confirmation before modifying source, tests, authored requirement\ncontent, or scope mappings. Add markers in comments appropriate for the language\nand keep them close to the behavior they identify.\n\n### Tier-specific authoring contract\n\nWhen an approved gap requires `okfreq new`, preserve the distinct generated\nformats instead of applying one generic requirement template:\n\n- **StRS — stakeholder intent:** provide one stakeholder-observable `SHALL`\n  statement as `--description` and the stakeholder's underlying outcome as\n  `--user-need`. Use the frontmatter title as the first heading. Complete `Normative behavior`, `User Need`,\n  and `Rationale and constraints`. Do not add SwRS scenarios, verification\n  notes, or implementation markers to an StRS. Add a direct validation-test\n  marker only for a real stakeholder test, as required by the configured mode.\n- **SwRS — software behavior:** provide one observable, bounded `SHALL`\n  response as `--description` and at least one valid StRS parent with\n  `--derives-from`. Complete nominal and boundary\u002Ffailure GIVEN-WHEN-THEN\n  scenarios plus objective verification notes. Do not add a `User Need` or\n  stakeholder-constraints section to an SwRS.\n\nTreat every angle-bracket item emitted by the scaffold as an explicit authoring\ngap. Replace it with evidence-based content or leave it visible and report the\nrequirement as incomplete; never delete a placeholder merely to silence prose\nvalidation. Use the generated frontmatter as-is: `user_need` belongs to StRS,\nwhile annotation exemption intent belongs to SwRS.\n\n## Phase 5 — Update generated coverage safely\n\nAfter markers are reviewed, preview generated updates:\n\n```console\nokfreq update-coverage . --check\nokfreq update-coverage . --diff\nokfreq update-coverage .\n```\n\nThe command may update only fields owned by `okfreq`: reverse derivation and\ncoverage fields. Verify that bodies, comments, quotes, IDs, UUIDs, unknown\nproperties, authored derivations, dependencies, and verification criteria are\nunchanged. If a generated update would overwrite external ownership, stop and\nreport the conflict.\n\nAfter reviewed requirement changes, run `okfreq lint \u003Cbundle> --diff`, then\n`okfreq lint \u003Cbundle>` to refresh tier\u002Fscope navigation. Keep authored text\noutside generated blocks. Append a dated summary to `\u003Cbundle>\u002Ftiers\u002Flog.md`\nwith affected IDs, rationale, decisions and real validation evidence; never\nregenerate the log or invent entries for a no-op pass.\n\n## Phase 6 — Lifecycle and verification audit\n\nTreat `draft`, `proposed`, `approved`, `deprecated`, and `superseded` as distinct.\nAn approved requirement needs configured verification information and successful\nstructural validation; a marker alone is insufficient. It also records its\nowner's agreement (`approved_by`, `approved_on`) on a tier and scope whose\n`approval_lock` is true; report a gap, never fill these fields yourself during an\naudit. Implemented drafts are reported as candidates for `proposed`; the change\nitself follows the user's decision. Lifecycle changes are\nexplicit and confirmed:\n\n```console\nokfreq archive REQUIREMENT-ID --yes\nokfreq supersede OLD-ID REPLACEMENT-ID [REPLACEMENT-ID...] --yes\n```\n\nArchive never deletes. Supersession requires at least one real replacement\ntarget and records them all in the `superseded_by` list. A draft\nthat was never published may be discarded with `okfreq retire ID --yes`, which\nrecords the ID in `retired_ids` so the number is never reused; do not delete\nrequirement files by hand. Do not\nmutate lifecycle state merely because prose, coverage, or indexes changed.\n\n## Phase 6b — Simplify and restructure\n\nMeasure whether the bundle has grown too fine or repetitive for the local\nguideline's granularity rule: several SwRS that are scenarios of one behaviour,\nthe same rule repeated per feature, near-duplicates across scopes, or SwRS that\ndescribe internals rather than observable behaviour. Report the counts with\nexample IDs and a proposed mapping from old to new requirements.\n\nRestructuring (merging, superseding or archiving requirements) changes the\ncontract: do it only after the user approves the proposed mapping. Without\napproval, report the proposal and stop this phase. Never delete a published\nrequirement; supersede or archive it. Use `okfreq retire` only for drafts that\nwere never published.\n\n## Phase 7 — Reports and final validation\n\nGenerate separate metrics rather than a composite score:\n\nWrite generated reports to the project's `dist\u002F` directory, never into the\nrequirements bundle or `tiers\u002F`:\n\n```console\nokfreq generate-report \u003Cbundle> --output-json \u003Cproject>\u002Fdist\u002Frequirements-report.json \\\n  --output-summary-md \u003Cproject>\u002Fdist\u002Frequirements-report.md\n```\n\nReport at least:\n\n- schema and structural health;\n- hierarchy and graph errors;\n- implementation marker coverage;\n- test marker coverage;\n- missing, duplicate, and non-leaf references;\n- lifecycle counts;\n- unresolved discrepancies and exemptions.\n\nRun the project-prescribed preflight after all approved changes. At minimum,\nrun `okfreq validate --prose`, `okfreq lint --prose`, and the normal project\ntests. Prose findings remain advisory, but unresolved scaffold placeholders must\nbe reported as authoring gaps.\n\n## Final report\n\nReturn a concise summary containing:\n\n1. baseline errors and warnings;\n2. requirements inspected and discrepancies by category;\n3. markers added or proposed in source and tests;\n4. generated fields updated and preview commands used;\n5. lifecycle changes explicitly confirmed;\n6. files changed and files intentionally preserved;\n7. validation and test commands with results; and\n8. unresolved questions requiring human decisions.\n\nDo not claim that traceability is complete when evidence is missing or tests did\nnot run successfully.\n",{"name":5,"metadata":24,"description":7},{"url":25,"keywords":26},"https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fokf-schema",[27,28,29,30,31,32,33,34],"okfreq","requirements","traceability","gardening","audit","coverage","StRS","SwRS","main","e8b7d463f623160cf740b763ece656ded8592052",".agents\u002Fskills\u002Fokfreq-gardening",0,"https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio","https:\u002F\u002Fgithub.com\u002Fgsemet","Senior SW Engineer & AI practitioner • Agentic coding, Python, scaling IA • Work at Ampere Software Technologies, making Renault Electric cars","2026-11-15 01:07:51",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add gsemet\u002Fmarkdown-okf-schema-studio --skill okfreq-gardening",{"tool":49,"command":50},"bunx","bunx skills add gsemet\u002Fmarkdown-okf-schema-studio --skill okfreq-gardening",{"tool":52,"command":53},"pnpm","pnpm dlx skills add gsemet\u002Fmarkdown-okf-schema-studio --skill okfreq-gardening","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fokfreq-gardening\u002FSKILL.md",true,[],[58,65,72,78,85,92],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7ENCR7A88JV6EAHSP2VHNG1","Local tooling guide","Documents nested YAML and list metadata for the editor preview.","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002Ftest\u002Fvisual\u002Ffixtures\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7ENCKB75WDXQ1EZGQ0B9K1N","writing-for-markdown-okf-schema-studio","Write or generate a Markdown document (implementation plan, report, design note, README, spec, runbook) that renders well in Markdown OKF Schema Studio, the VS Code Markdown preview. Use when asked to write, draft or generate a .md file for Markdown OKF Schema Studio, to make a document look good in it, or to choose diagrams, charts, cards, tabs or admonitions for it.","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-markdown-okf-schema-studio\u002FSKILL.md",[],[],{"skillNo":73,"name":27,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7ENCE0C7JS06RBQPJ64YGNZ","Understand, set up, author, implement, and maintain an okfreq requirements base that connects stakeholder intent to observable software behavior, source code, tests, and traceability reports. Use when the user mentions okfreq, living requirements, StRS or SwRS authoring, requirement derivation, implementation or test markers, requirement coverage, or requirements lifecycle; route explicit brownfield audits to okfreq-gardening.","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fokfreq\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7ENC5MRRCB2CQ446J26Z5Y8","markdown-studio-exploratory-qa","This skill runs exploratory QA campaigns for Markdown OKF-Schema Studio when requested.","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-studio-exploratory-qa\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7ENBRZE7R7D3D87NCCMDN4V","markdown-studio-exploratory-qa-claude","This skill should be used when asked to run, resume, or re-validate an exploratory QA campaign on the Markdown OKF-Schema Studio VS Code extension in a real VS Code window (real mouse and keyboard through CDP), and to write one bug sheet per finding under .agents\u002Fchanges\u002F3-requests\u002F. A Foreman picks charters from a coverage map and the PRs merged since the last campaign, hands groups of charters to QA Driver sub-agents, and each Driver runs charter agents that drive their own window with scenario files and automatic checks. It ships the driver, scenario engine, no-op sweep, a read-only spy extension, synthetic fixtures, a use-case catalogue, and the harness pitfalls learned in previous campaigns.","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-studio-exploratory-qa-claude\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7ENBQ2CSCFFMGK8YN14WCJD","change-requests-factory","A 4 layers software factory able to chains and parallelize Change Requests implementation","https:\u002F\u002Fgithub.com\u002Fgsemet\u002Fmarkdown-okf-schema-studio\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fchange-requests-factory\u002FSKILL.md",[],[]]