docs-manager-c6c23b — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited docs-manager-c6c23b (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Execute a structured 6-phase workflow for managing documentation. Supports two documentation formats (MkDocs sites and standalone markdown files) and three action types (generate, update, change summary).
Execute these phases in order, completing all applicable phases:
Goal: Determine through user interaction what documentation to create and in what format.
Parse the user's input to pre-fill selections:
basic-markdownmkdocschange-summaryIf the intent is clear, present a summary for quick confirmation before proceeding (skip to Step 4). If ambiguous, proceed to Step 2.
If the documentation type is ambiguous or needs confirmation, prompt the user:
What type of documentation would you like to create?Options:
Store as DOC_TYPE = mkdocs | basic-markdown | change-summary.
If `DOC_TYPE = mkdocs`:
Prompt the user — Existing project or new setup?
MKDOCS_MODE = existingMKDOCS_MODE = newIf existing: Prompt the user — What to do?
Store as ACTION.
If new: Prompt the user — Scope?
Store as MKDOCS_SCOPE. If custom, ask for desired pages (free text).
If `DOC_TYPE = basic-markdown`:
Prompt the user — Which files?
Store as MARKDOWN_FILES. If "Other" is selected, ask for custom file paths/descriptions.
If `DOC_TYPE = change-summary`:
Prompt the user — What range?
Follow up for specific range details (tag name, ref pair, etc.).
Present a summary of all selections and prompt the user:
If the user wants to change, loop back to the relevant question. Then proceed to Phase 2.
Goal: Detect project context automatically, conditionally scaffold MkDocs.
package.json, pyproject.toml, Cargo.toml, go.mod, pom.xmlgit remote get-url origin 2>/dev/nulldocs/**/*.md, README.md, CONTRIBUTING.md, ARCHITECTURE.mdmkdocs.yml/mkdocs.yaml, read if foundDOC_TYPE = mkdocs AND MKDOCS_MODE = new) site_name: PROJECT_NAME
site_description: PROJECT_DESCRIPTION
site_url: ""
repo_url: REPO_URL
repo_name: REPO_NAME
theme:
name: material
features:
- navigation.tabs
- navigation.sections
- navigation.expand
- navigation.top
- search.suggest
- search.highlight
- content.code.copy
- content.tabs.link
palette:
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_guess: false
- pymdownx.inlinehilite
- pymdownx.tabbed:
alternate_style: true
- pymdownx.snippets
- attr_list
- md_in_html
- toc:
permalink: true
nav:
- Home: index.md
- Getting Started: getting-started.mdField population:
site_name: From manifest (name in package.json, pyproject.toml, etc.) or directory namesite_description: From manifest description field, or summarize from READMErepo_url: From git remote get-url origin (convert SSH to HTTPS if needed)repo_name: Extract owner/repo from the remote URLrepo_url and repo_namemkdocs.yml, create docs/index.md and docs/getting-started.mdIf MKDOCS_SCOPE = minimal (getting started only): write the scaffold files and skip to Phase 6.
For update modes, determine the approach:
For change-summary, execute: git log and git diff --stat for the determined range.
Proceed to Phase 3.
Goal: Deep codebase exploration using the deep-analysis skill.
Skip conditions:
change-summary (uses git-based analysis instead — see below)MKDOCS_SCOPE = minimal)Construct a specific context string based on Phase 1 selections:
| Selection | Analysis Context |
|---|---|
| MkDocs generate | "Documentation generation — find all public APIs, architecture, integration points, and existing documentation..." |
| MkDocs update | "Documentation update — identify changes to public APIs, outdated references, documentation gaps..." |
| Basic markdown README | "Project overview — understand purpose, architecture, setup, key features, configuration, and dependencies..." |
| Basic markdown ARCHITECTURE | "Architecture documentation — map system structure, components, data flow, design decisions, key dependencies..." |
| Basic markdown API docs | "API documentation — find all public functions, classes, methods, types, their signatures and usage patterns..." |
| Basic markdown CONTRIBUTING | "Contribution guidelines — find dev workflow, testing setup, code style rules, commit conventions, CI process..." |
| Multiple files | Combine relevant contexts from above |
Refer to the deep-analysis skill (from the core-tools package) and follow its workflow. Pass the documentation-focused analysis context from Step 1.
After deep-analysis, additionally:
git diff --name-only [base-ref] for changed filesgit log --oneline [range] and git diff --stat [range] Analysis context: Change summary for [range]
Focus area: These files changed in the specified range:
[list from git diff --stat]
For each significant change, identify:
- What was added, modified, or removed
- Impact on public APIs and user-facing behavior
- Whether any changes are breaking
Return a structured report of your findings.Proceed to Phase 4.
Goal: Translate analysis findings into a concrete documentation plan.
MkDocs:
docs/ paths)mkdocs.yml nav updatesBasic Markdown:
Change Summary:
Prompt the user:
Proceed to Phase 5.
Goal: Generate content using the docs-writer skill.
DOC_TYPE = change-summary: Use the change summary formats:DOC_TYPE = basic-markdown: See references/markdown-file-templates.md for structural templates.Delegate to the docs-writer skill for each page/file. Launch independent pages/files in parallel, then sequential for dependent ones.
MkDocs prompt template:
Documentation task: [page type]
Target file: [docs/path/to/page.md]
Output format: MkDocs
Project: [project name] at [project root]
MkDocs site context:
- Theme: Material for MkDocs
- Extensions available: admonitions, code highlighting, tabbed content, Mermaid diagrams
- Diagram guidance: Use Mermaid for all diagrams with dark text on nodes for readability.
- Existing pages: [list]
Exploration findings: [relevant findings]
Existing page content: [current content or "New page"]
Generate the complete page content in MkDocs-flavored Markdown.Basic Markdown prompt template:
Documentation task: [file type]
Target file: [path/to/file.md]
Output format: Basic Markdown
Project: [project name] at [project root]
File type guidance: [relevant template from markdown-file-templates.md]
Exploration findings: [relevant findings]
Existing file content: [current content or "New file"]
Generate the complete file content in standard GitHub-flavored Markdown.
Do NOT use MkDocs-specific extensions.
Diagram guidance: Use Mermaid for all diagrams with dark text on nodes. GitHub renders Mermaid natively.Proceed to Phase 6.
Goal: Write files, validate, present results.
MkDocs: Write pages under docs/, update mkdocs.yml nav. Basic Markdown: Write files to target paths. For updates, modify existing files. Change Summary: Present outputs inline, write files as applicable.
MkDocs: Verify all nav-referenced files exist. Check cross-references. Optionally run mkdocs build --strict. Basic Markdown: Validate internal cross-references. Check referenced paths exist.
Summarize: files created/updated, navigation changes, validation warnings. For change-summary, present outputs inline.
Prompt the user with relevant options:
MkDocs:
Basic Markdown:
If any phase fails:
repo_url/repo_nameupdate with git-diff mode is unavailable — fall back to full-scan or targetedchange-summary is unavailableThis skill was converted from the dev-tools plugin package. It orchestrates documentation management across 6 phases. It depends on deep-analysis (from core-tools) for codebase exploration and delegates content generation to docs-writer. The MkDocs config template and change summary templates have been inlined. The markdown-file-templates reference remains as a separate file due to its size (316 lines).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.