tonyandrewmeyer/cantrip/charm-docs
Claude Code and agent skill by tonyandrewmeyer/cantrip
- community
Checking that the SKILL.md file is still in the repository.
Charm documentation conventions — README template, Charmhub description tabs, Diátaxis multi-page split, CONTRIBUTING
Install
npx vskill@latest install tonyandrewmeyer/cantrip/charm-docsSKILL.md
The same SKILL.md was published earlier as tonyandrewmeyer/cantrip/charm-docs.
Charm Documentation
These guidelines standardise documentation structure and content for Juju charms, covering the README file, Charmhub content, and the CONTRIBUTING file. They extend the general Canonical documentation standards. Based on Canonical spec DOC009.
Adapted from thecharm-docsskill intonyandrewmeyer/charming-with-claude, CC BY 4.0 (Tony Meyer, 2025).Reformatted for cantrip's bundled-skill frontmatter; contentotherwise unchanged. See Provenance at the foot of this skill forthe source link.
Documentation surfaces
A charm's documentation typically includes:
- README: description of the repository / project, stored with source code.
- Charmhub content: information published on charmhub.io (description, resources, integrations, libraries, configurations, actions tabs).
- Config files: serialised data for parsing (e.g.
charmcraft.yaml). - CONTRIBUTING file: guidance for building, testing, and contributing.
README
General guidance
- Give an overview of key aspects, but avoid multiple sources of truth — link instead of duplicating.
- Keep the README independent of Charmhub — equally useful offline, for unlisted charms, or older versions.
- Link to resources inside the repository where possible (e.g.
charmcraft.yamlover Charmhub tabs). - Keep the README up to date with charm code — incorporate into release checklists or CI checks.
README template
Charmhub content
Single-page description tab
Use when charm documentation lives elsewhere or is simple enough for one page.
Case 1 — external docs:
Case 2 — all docs on Charmhub:
Follow the same structure as the README, with adjustments:
- Add "documentation" to the title.
- No link to external docs.
- Point
charmcraft.yamlreferences to Charmhub tabs instead.
Multi-page description tab (Diátaxis)
For charms with complex operations, structure documentation using Diátaxis (see References below):
- Index / Overview: landing page with standard home-page guidelines.
- Tutorial: end-to-end guided journey from setup to teardown. Every charm wrapping a standalone workload should have one, even if minimal.
- How-to: concise guides for specific goals (more practical than educational).
- Reference: release notes, lookup tables. Often minimal since configurations, libraries, and actions are already on Charmhub tabs.
- Explanation: reasoning, architecture, complex features — context and "why".
Each Diátaxis section with more than one page should have a dedicated landing page.
Not every category is always required — determine what is relevant and categorise accordingly.
Cross-referencing
- For all generic Juju behaviour, link to Juju docs rather than duplicating.
- Charm docs should focus on the charm-specific story: configs, integrations, and actions particular to the workload.
- Avoid trying to educate users about Juju in general.
CONTRIBUTING
Provide guidance for:
- Building the charm.
- Running tests.
- Contributing to source code and documentation.
- Any project-specific conventions.
References
- Diátaxis documentation framework: <https://diataxis.fr/>
Provenance
Adapted from the `charm-docs` skill in `tonyandrewmeyer/charming-with-claude`, CC BY 4.0 (Tony Meyer, 2025). Content reformatted for cantrip's bundled-skill frontmatter; otherwise unchanged.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/cantrip/skills/charm-docs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tonyandrewmeyer/cantrip/charm-docs)