DO

documentation

Guidance for updating project documentation and templates.

Install

mkdir -p .claude/skills/documentation-bcgov && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10228" && unzip -o skill.zip -d .claude/skills/documentation-bcgov && rm skill.zip

Installs to .claude/skills/documentation-bcgov

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Guidance for maintaining documentation in the docs/ site for ai-hub-tracking. Use when updating HTML pages, partials, build scripts, or Terraform reference docs.
161 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Update technical documentation
  • Edit shared templates
  • Regenerate published pages

How it works

It manages documentation updates through source templates and build scripts.

Inputs & outputs

You give it
Documentation update
You get back
Regenerated HTML pages

When to use documentation

  • Update architecture documentation
  • Edit shared documentation templates
  • Sync README with project structure
  • Regenerate docs for reference

About this skill

Documentation Skills

Use this skill profile when creating or updating documentation under docs/.

Use When

  • Updating technical docs for infrastructure, operations, or architecture changes
  • Editing shared page templates/partials used by multiple docs pages
  • Regenerating published pages from source templates after content updates

Do Not Use When

  • Implementing infrastructure or policy changes without documentation work
  • Performing code-review-only tasks with no docs modifications
  • Editing non-doc assets/code that does not affect documentation outputs

Input Contract

Required context before doc edits:

  • What changed in code/infra and why operators/readers need the update
  • Target audience (engineers, operators, platform team, security reviewers)
  • Source of truth files/sections that docs should reference

Output Contract

Every docs update should provide:

  • Source updates in docs/_pages/ or docs/_partials/ as appropriate
  • Regenerated/updated published page(s) under docs/*.html when required
  • Link/anchor integrity for any added or moved sections
  • Clear, concise wording aligned with existing docs tone and structure

External Documentation

  • Use External Docs Research as the single source of truth for external documentation workflow and fallback approval requirements.

Documentation Sync

  • If the change adds, removes, renames, or materially reorganizes tracked files or directories, update the root README.md Folder Structure section in the same change. Do not add gitignored or local-only artifacts to that tree.
  • Review the documentation sync matrix in ../../copilot-instructions.md and update any area-specific README or docs pages it calls out for the touched subtree.

Scope

  • Static HTML pages in docs/
  • Source templates in docs/_pages/
  • Shared partials in docs/_partials/
  • Static assets in docs/assets/
  • Site build scripts in docs/build.sh and docs/generate-tf-docs.sh

Folder Map

  • docs/*.html: Published pages
  • docs/_pages/*.html: Source page templates
  • docs/_partials/: Shared header/footer
  • docs/assets/: Images, styles, and static assets

Update Workflow

  1. Edit source templates in docs/_pages/ where possible.
  2. Update shared content in docs/_partials/ for site-wide changes.
  3. Run docs/build.sh to regenerate published docs/*.html from _pages + _partials.
  4. When Terraform modules, variables, or outputs change, run docs/generate-tf-docs.sh to regenerate docs/_pages/terraform-reference.html, then re-run docs/build.sh to publish it.

Content Standards

  • Keep headings consistent with existing pages.
  • Avoid duplicating content across pages; use partials for shared sections.
  • Ensure links are relative and stable within the docs/ structure.
  • For infra or networking changes, update relevant pages in docs/.

Quick Checklist

  • Updated the correct source page in docs/_pages/
  • Shared content updated in docs/_partials/ if needed
  • Related published docs/*.html updated or regenerated
  • Links and anchors validated

Validation Gates (Required)

  1. Structural check: heading hierarchy and page layout remain consistent.
  2. Link check: changed links/anchors resolve correctly within docs/.
  3. Scope check: docs reflect actual behavior, not planned/unimplemented behavior.
  4. Consistency check: terminology and command examples match current repo usage.

Detailed References

For change trigger maps, file conventions, and failure playbooks, see references/REFERENCE.md.

When not to use it

  • Implementing infrastructure changes
  • Code-review-only tasks

Prerequisites

docs/build.sh

Limitations

  • Requires manual build script execution

How it compares

It enforces a specific sync workflow between source templates and published HTML.

Compared to similar skills

documentation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
documentation (this skill)04moNo flagsBeginner
docs-write226moNo flagsBeginner
content-research-writer1510moNo flagsBeginner
doc-coauthoring168moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

docs-write

metabase

Write documentation following Metabase's conversational, clear, and user-focused style. Use when creating or editing documentation files (markdown, MDX, etc.).

22139

content-research-writer

ComposioHQ

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

15111

doc-coauthoring

anthropics

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

1686

research-grants

davila7

Write competitive research proposals for NSF, NIH, DOE, and DARPA. Agency-specific formatting, review criteria, budget preparation, broader impacts, significance statements, innovation narratives, and compliance with submission requirements.

694

teams-channel-post-writer

daymade

Creates educational Teams channel posts for internal knowledge sharing about Claude Code features, tools, and best practices. Applies when writing posts, announcements, or documentation to teach colleagues effective Claude Code usage, announce new features, share productivity tips, or document lessons learned. Provides templates, writing guidelines, and structured approaches emphasizing concrete examples, underlying principles, and connections to best practices like context engineering. Activates for content involving Teams posts, channel announcements, feature documentation, or tip sharing.

591

write-docs

tldraw

Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.

665

Search skills

Search the agent skills registry