write-guide
Write or change a skill, reference doc or golden path in this repo so it agrees with the concept graph and is linked to it. Use when adding or editing any SKILL.md, reference/*.md or golden path, and after adding or changing a concept so the docs that cover it are updated too. Pairs with the add-concept skill, which covers the concept files themselves.
How do I install this agent skill?
npx skills add https://github.com/runpod/runpod-plugins-official --skill write-guideIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is designed for documentation maintenance within a specific repository, ensuring guides align with a central concept graph. It utilizes local development tools such as pnpm and Python for validation and building. While the skill possesses an inherent attack surface for indirect prompt injection because it processes content from various markdown and YAML files to generate new documentation, it follows standard development practices for the project environment.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Write a guide against the concept graph
This repo has two kinds of content that must agree:
- Concepts (
plugins/runpod/skills/runpod-usage/concepts/*.yaml) hold exact facts as rules, each citing a public source. They are the source of truth for what is true. - Guides (every
SKILL.md,reference/*.mdand golden path) explain, teach and demonstrate. They are the source of truth for how to do it.
A guide states facts that the concept rules support, and links to the concepts it covers.
A concept is covered by at least one guide. pnpm check:guides enforces both links.
Writing or changing a guide
-
Find the concepts it touches before writing (run these in
ontology/tools/):pnpm build:sqlite pnpm query tree "<concept>" # the concept, its children and the guides that cover them pnpm query search "<question>" # the rules that answer a question pnpm query concept "<name>" # every rule on one concept, with evidence -
Write from the rules. Every factual claim (a limit, a default, a state, what an action does, what exists) must match a rule. Explain it in your own words and add the how: the commands, order, pitfalls and verification.
- If the guide needs a fact that no rule has, add the rule first with the
add-conceptskill, citing the spec, the public docs or a live probe. Then write the guide. - If a rule is wrong or out of date, fix the rule (and its evidence) in the same change.
- Never let a guide and a rule say different things. If you find a disagreement, the public source decides which one changes.
- If the guide needs a fact that no rule has, add the rule first with the
-
Declare the links.
Guide Where Example SKILL.mdmetadata.conceptsin the frontmatterconcepts: [pod, network-volume]Reference doc a concepts:line in frontmatter at the top---<br>concepts: [runpod-secret]<br>---Golden path lanes,mcpandconceptsin frontmattersee plugins/runpod/skills/runpod/golden-paths/README.mdList the concepts the guide actually explains or uses, not every word it mentions.
pnpm build:bundle --suggestlists the concepts each golden path names, as candidates. A reference doc that a rule already cites as evidence is linked automatically, but list its concepts anyway when it covers more than the citing rules. -
Point to the rules when a doc is the main explanation of a concept. End it with a short "Exact rules" section with a Markdown link to each concept file (from a reference doc the target is
../concepts/<id>.yaml). -
Route it. A new reference doc gets a row in its skill's
SKILL.mdtable. A new golden path gets rows in the router's table andgolden-paths/README.md.
After adding or changing a concept
-
pnpm check:guidesfails if the new concept has no guide. Extend an existing doc or write a new one, following the steps above. -
Find the guides that already cover it and check they still agree with the rules:
pnpm query tree "<concept>" # guides linked to it grep -rln "<name or alias>" ../../plugins/ # guides that mention it without a link -
When a rule cites a skill file as evidence and you change that file, re-read the rule:
grep -rn "<path>" ../../plugins/runpod/skills/runpod-usage/concepts/.
Style
Follow plugins/runpod/skills/runpod-usage/concepts/README.md → "Writing style" and the
repo conventions in AGENTS.md: plain present tense, "Runpod", code identifiers in
backticks, no "currently" or "not yet", and positive claims over claims that something is
missing (a missing capability needs the spec or docs as evidence, and CLI absence claims are
checked by hooks/check_cli_absence_claims.py).
Check
cd ontology/tools
pnpm format && pnpm validate --strict && pnpm check:guides && pnpm test
cd ../.. && python3 hooks/check_links.py && python3 hooks/check_runpod_branding.py
check:guides must report no errors, and the build line "concepts with a guide" must stay at
every concept.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/runpod/runpod-plugins-official/write-guide">View write-guide on skillZs</a>