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.zipInstalls 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.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
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/ordocs/_partials/as appropriate - Regenerated/updated published page(s) under
docs/*.htmlwhen 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.mdFolder Structuresection 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
- Edit source templates in docs/_pages/ where possible.
- Update shared content in docs/_partials/ for site-wide changes.
- Run
docs/build.shto regenerate published docs/*.html from _pages + _partials. - When Terraform modules, variables, or outputs change, run
docs/generate-tf-docs.shto regeneratedocs/_pages/terraform-reference.html, then re-rundocs/build.shto 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)
- Structural check: heading hierarchy and page layout remain consistent.
- Link check: changed links/anchors resolve correctly within
docs/. - Scope check: docs reflect actual behavior, not planned/unimplemented behavior.
- 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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| documentation (this skill) | 0 | 4mo | No flags | Beginner |
| docs-write | 22 | 6mo | No flags | Beginner |
| content-research-writer | 15 | 10mo | No flags | Beginner |
| doc-coauthoring | 16 | 8mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by bcgov
View all by bcgov →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.).
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.
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.
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.
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.
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/.