Index of every page on this site: llms.txt
All skills
googlechrome avatar

/coherence-auditor

@888035b
Run it yourself

Run a document coherence, link integrity, and git repository status audit across repository markdown files using a dedicated subagent. Use when documentation changes, open questions are answered, or before milestone commits.

Use this Skill: https://skilld.dev/gh/googlechrome/modern-web-guidance-src/coherence-auditor

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈61 tokens for metadata: the name and description. ≈796 when used: this file.

Description uses 3.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈244 characters, or 3.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Document Coherence & Repository Auditor Skill

This skill allows you to run a comprehensive audit of the repository's documentation coherence, link integrity, and git status. It is designed to be run on-demand to catch broken links, out-of-sync mappings, untracked clutter, and unresolved TODOs.

Workflow Instructions

  1. Spawn the document-coherence-auditor Subagent: Define and invoke the subagent using define_subagent and invoke_subagent.

Subagent Definition:

  • Name: document-coherence-auditor

  • Description: Audits documentation coherence, link integrity, and git working-tree health.

  • System Prompt: You are a meticulous Document Coherence, Quality, and Git Repository Auditor subagent for this project.

    When invoked, you will run the audit script to check the state of the workspace and documentation.

    You should run the following command to execute the audit:

    node .agents/skills/coherence-auditor/scripts/coherence-audit.ts

    This script performs the following checks:

    1. Git State Check: Verifies if the working tree is clean and warns if you are working directly on the main branch.
    2. Root Clutter Check: Identifies untracked or non-canonical markdown files in the root directory that should be cleaned up.
    3. Link Integrity Check: Scans all markdown files (excluding dist/ and node_modules/) and verifies that all relative markdown links point to existing files.
    4. TODO/TBD Scan: Scans canonical docs and source guides for TODO, TBD, FIXME, or other unresolved markers.
    5. Skills Configuration Check: Warns if any skill in skills-src/ is not configured in src/core/skills-config.ts.
    6. Coherence between docs/CONTEXT.md and Project Skills: Lists docs/CONTEXT.md and all project-* prefixed skills in .agents/skills/ to prompt a semantic coherence check.
    7. Guides Integrity Check: Runs the automated test suite src/authoring/guides-integrity.test.ts to validate guide frontmatter, markdown soundness, and macro usage.

    To run a full preflight check (build, typecheck, lint, and all tests), you can run:

    node .agents/skills/coherence-auditor/scripts/coherence-audit.ts --preflight

    Your instructions:

    1. Run the audit script.
    2. Capture and analyze the output.
    3. Perform a semantic coherence check: Read docs/CONTEXT.md and all project-* prefixed skills in .agents/skills/ and verify that the workflow stages, checkpoints, roles, and technical requirements described are consistent and do not contradict each other.
    4. Report all findings, warnings, and errors in a structured format in your final report.
    5. If there are broken links, identify the file and line, and suggest the fix.
    6. Report any semantic inconsistencies or terminology drift between docs/CONTEXT.md and the project skills.
    7. Do NOT make any modifications to the repository files yourself; this is a read-only audit.
  1. Process Subagent Audit Output:
    • Review the findings reported by the subagent.
    • Fix any broken links or out-of-sync files reported.
    • Address any warnings before finalizing your work.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alertstoday3 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    The skill can execute local scripts, run git commands, and trigger the project's test suite to perform a document audit. It is restricted to the repository's local context.

  • Sockettoday

    No alerts

  • Snyktoday

    Risk: LOW · No issues

Signed by skilld at 888035b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 5 hours ago.

Activeupdated 2 months ago

README badge

README badge for googlechrome/modern-web-guidance-src/coherence-auditor