ワンクリックで
cheatsheet-scribe
Author standardized AI cheatsheets in the awesome-cheatsheets format
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Author standardized AI cheatsheets in the awesome-cheatsheets format
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | cheatsheet-scribe |
| description | Author standardized AI cheatsheets in the awesome-cheatsheets format |
| inputs | [{"name":"topic","type":"string","required":true,"description":"The tool, concept, or MCP server to create a cheatsheet for"},{"name":"draft_content","type":"string","required":false,"description":"Optional raw notes or outline from the user"}] |
| outputs | [{"name":"cheatsheet_md","type":"string","description":"A fully-formed cheatsheet .md file ready for validation"}] |
| triggers | ["/cheatsheet-scribe","create cheatsheet","write a cheatsheet about"] |
Scaffold and author standardized AI cheatsheets that conform to the template contract defined in tools/template-contract.ts.
Trigger this skill when a user wants to create a new cheatsheet for:
Ask the user for:
If the user provides just a topic with no draft, proceed to Step 2 with an empty canvas.
SAFETY: No Fabrication
The skill MUST NOT fabricate references, commands, or facts not present in:
Concrete examples of fabrication (NEVER do these):
--force that doesn't existWhen in doubt, ASK the contributor rather than guess. If the user cannot provide the information, mark the section as incomplete rather than inventing content.
Before proceeding to drafting, derive the slug from the topic (kebab-case). Check if src/content/cheatsheets/<slug>/ already exists in the repository.
If the cheatsheet already exists:
If the cheatsheet does not exist: Proceed to Step 2.
Every cheatsheet must follow template-contract.md:
Frontmatter (required):
slug: kebab-case identifier (e.g., hermes-agent)title: Human-readable titlecategory: One of tool, mcp, concept, comparisonsubcategory: Optional free-formsummary: 20-400 character sentencelast_updated: ISO-8601 date (YYYY-MM-DD)stale_after_days: 1-730tags: 1-12 kebab-case tagsstatus: poc, published, or deprecatedauthors: Optional author arraylinks: Object with required homepage, optional repo and othersSection structure (locked order):
**One-line:** <summary> (bold, before first H2)## Installation — copy-paste one-line installer(s) + first-run flow## Step-by-Step Setup & Optimization — numbered steps## Best Practices — bullets## Quick Command Reference — code blocks## Expected Outcomes — what the user gets## Reference — collapsed <details> block with sourcesUse the canonical Hermes Agent example (examples/hermes-draft.md → examples/hermes-expected.md) as a reference for:
Generate a first draft incorporating:
Pi retro heuristics (from the first non-Hermes run):
AGENTS.md vs SYSTEM.md, core feature vs extension), pick only the version verified by provided docs; otherwise flag it as a Review Question instead of blending both.pnpm cheatsheet:lint <file> --no-links; run the full link check before PR creation when network conditions are reliable.After drafting, call the validator to check conformance:
import { validate } from "tools/validator";
// After writing the draft to a temp file
const result = await validate("/path/to/draft.md");
if (!result.ok) {
// Surface every failure with its rule name
console.log("Validation failed:");
for (const e of result.errors) {
console.log(` - ${e.rule}: ${e.message}${e.line ? ` (line ${e.line})` : ""}`);
}
// Ask contributor to fix before proceeding
}
Rules invoked by validator (single source of truth):
frontmatter-missing, frontmatter-yaml-invalid, frontmatter-schemasection-missing, section-out-of-orderone-liner-missing, one-liner-too-shortreference-details-missingmermaid-missing-in-mental-model, mermaid-fence-broken, mermaid-emptylink-broken (optional, skip via skipLinks: true)Do NOT duplicate validation logic in this skill — the validator decides, the skill orchestrates.
Return the complete .md file content with:
After validation passes, emit 2–4 specific review questions tied to ambiguous or opinion-driven parts of the draft.
Requirements:
Analyze the draft for these ambiguity types:
Example valid questions (NOT "looks good?"):
❌ "Does this look good?" ❌ "Is the cheatsheet ready?"
✅ "The slug ollama-run vs ollama-cli — which is more widely recognized in the community?"
✅ "The Installation block shows the curl one-liner — is there a Homebrew formula or apt repo I should add as an alternative?"
✅ "The run commands reference v0.1.2 — should I note that v0.1.3 is the latest stable?"
✅ "This cheatsheet assumes Linux. Should I add a note for macOS/Windows users?"
Output format:
## Review Questions
1. [specific question about naming/slug/tags]
2. [specific question about technical accuracy]
3. [specific question about scope/completeness]
4. [specific question about audience/assumptions]
Please confirm each item or suggest alternatives before I finalize.
Wait for contributor response before proceeding. If they request changes, iterate on the draft and re-validate before re-presenting questions.
On contributor approval of all review questions, suggest:
Conventional commit message (lower-case, imperative):
docs(cheatsheet): add <slug> cheatsheet for <tool/concept>
Examples:
docs(cheatsheet): add ollama-cli cheatsheet for local LLM inferencedocs(cheatsheet): add hermes-agent cheatsheet for autonomous AI agentsdocs(cheatsheet): add mcp-sequencer cheatsheet for MCP protocol workflowsPR title (same as commit message, can be more descriptive):
docs(cheatsheet): add <slug> cheatsheet — <one-line summary>
Example:
docs(cheatsheet): add ollama-cli cheatsheet — local LLM inference from CLI
PR description (recommended, optional for contributor):
## Summary
<summary from frontmatter>
## Sections
- Installation: <one-line installer summary, platforms covered>
- Step-by-Step: <n> steps
- Best Practices: <n> items
- Commands: <n> code examples
## Validation
- [x] Passes template-contract.md validation
- [x] Review questions addressed
DO NOT stage, commit, or push — those steps stay with the human contributor.
Output the commit message and PR title as a clearly formatted block the contributor can copy.
See examples/ for input/output pairs:
hermes-draft.md → hermes-expected.md (canonical reference)tools/validator — the single source of truth for all validation rulestools/validator before mergetemplate-contract.md/cheatsheet-scribe → answer review questions → open PR