Author standardized AI cheatsheets in the awesome-cheatsheets format
日本語の概要は準備中です。原文の説明を表示しています。
Create concise checklist cheatsheets from official tool docs. Use for docs URLs, setup guides, or updating existing cheatsheets. Don't use for long tutorials or API references.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Turn a tool docs URL into a short checklist that moves from installation to advanced usage. Use official docs for facts and community sources for practical tips.
Before changing files in a git repository, sync the current branch so the cheatsheet is based on the latest content:
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"
If the working tree is dirty, stash first, sync, then pop:
git stash push -u -m "docs-to-cheatsheet pre-sync"
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"
git stash pop
If origin is missing, the pull fails, or conflicts occur, stop and ask the user before continuing.
If the Agent tool is available, use subagents for heavy browsing and independent review. If not, execute the same phases inline with web_search, fetch_content, file reads, and validation commands.
Subagent prompts:
agents/docs-mapper.md before delegating official documentation navigation mapping.agents/community-researcher.md before delegating best-practice blog/article research.agents/cheatsheet-reviewer.md before delegating independent quality review.Before execution, check for: an official docs URL, network access or user-provided excerpts, write access for repo edits, and a local validator such as pnpm cheatsheet:lint. If a prerequisite fails, report the error and ask for the missing input.
Expected input: one official documentation URL for a tool, such as a Pi, Claude Code, Codex, Ollama, MCP server, or CLI docs page.
Optional user preferences:
Produce or update one concise Markdown cheatsheet. In this repository, default to:
src/content/cheatsheets/<slug>/<slug>.md
When this repository's template contract exists, obey it. Use these sections in order unless the repo contract says otherwise:
**One-line:** <short value proposition> before the first H2## Prerequisites — optional - [ ] task list, only before Installation## Installation## Step-by-Step Setup & Optimization## Best Practices## Quick Command Reference## Expected Outcomes## Reference with a collapsed <details> blockSteps under ## Step-by-Step Setup & Optimization are ### Step N — Title
H3s numbered 1..N (aim for 3–7). Every step gets a meta line and a Verify
line:
### Step 1 — Install and verify
**Goal:** A working `tool` binary on PATH · **Time:** ~5 min · **Level:** beginner
1. Install:
```bash
curl -fsSL https://example.dev/install.sh | sh
tool --version
Verify: tool --version prints a version number.
[!TIP] One-line tip that saves time.
Step rules: one action per numbered item; every command in its own fenced
code block with a language tag; commands copy-paste ready (no `$ ` prompts,
`<UPPER_SNAKE>` placeholders); `**Time:**` like `~5 min` or `1 h`;
`**Level:**` one of `beginner`/`intermediate`/`advanced`; `**Verify:**`
names an existing command's expected output (≥10 chars). Use GitHub alerts
(`> [!TIP]`, `> [!WARNING]`, …) for tips and warnings rather than bold prose.
Use checkable todo items for actionable content:
```markdown
- [ ] Install the CLI with the verified command from the official docs.
- [ ] Run the first successful login or health-check command.
- [ ] Configure the minimum recommended settings.
- [ ] Enable advanced/optimized settings only after the baseline works.
Keep the cheatsheet short and scannable. Prefer verified commands, defaults, and decision points over prose. Do not mirror every docs page.
Example input:
Create a cheatsheet from https://docs.example.com/tool/quickstart
Expected output: a proposed plan first, then—after approval—a validated Markdown file at src/content/cheatsheets/<slug>/<slug>.md with checklist tasks, command blocks, and source links.
From the input URL and page content, determine:
tool, mcp, concept, or comparison if the repo uses this taxonomy.If the URL does not identify a concrete tool, ask one focused clarification question before researching.
Before browsing deeply, search for an existing cheatsheet:
src/content/cheatsheets/<slug>/<slug>.mdsrc/content/cheatsheets/title, slug, links.homepage, and links.repoIf an existing cheatsheet is found, switch to update mode. Preserve valid current content, replace stale or unsupported claims, and keep useful references.
If no cheatsheet is found, switch to create mode.
Get a navigation overview before drafting. Use official docs pages first:
must-read, skim, or skip.When Agent is available, spawn the docs mapper subagent. Otherwise do this inline.
Search for the top 5 recent and/or popular practical sources using queries like <tool> best practices, <tool> setup guide, <tool> advanced configuration, <tool> tips workflow, and <tool> performance security troubleshooting. Prefer recent, authoritative, widely referenced, maintainer, or power-user sources. If popularity is unclear, rank by recency plus authority. Official docs decide command correctness.
When Agent is available, spawn the community researcher subagent in parallel with docs mapping.
Before creating or editing the cheatsheet, present a short plan and stop for user approval.
Plan format:
## Proposed Cheatsheet Plan
- Tool: <name>
- Mode: create | update
- Output path: `src/content/cheatsheets/<slug>/<slug>.md`
- Official docs coverage: <N> candidate pages; <M> must-read; <S> skim; <K> skip
- Community sources: top 5 sources to inspect
- Cheatsheet scope:
- Installation: <what will be covered>
- Setup/config: <what will be covered>
- Advanced/optimized: <what will be covered>
- Best practices: <what will be covered>
- Known uncertainties: <short bullets or "none yet">
Reply `approve` to generate/update the cheatsheet, or tell me what to change.
Do not write the cheatsheet until the user approves the plan.
After approval:
Recommended structure inside the main setup section:
## Step-by-Step Setup & Optimization
### Step 1 — Basic working setup
**Goal:** <what the reader has when done> · **Time:** ~10 min · **Level:** beginner
1. <action>:
```bash
<command>
Verify: <command and expected output>.
### Phase 7: Validate and review
Run the repository's validator when available. For this repo, use:
```bash
pnpm cheatsheet:lint src/content/cheatsheets/<slug>/<slug>.md --no-links
If the package scripts differ, inspect package.json and use the closest local validator. Fix validation errors before final response.
Use an independent reviewer subagent when Agent is available. Check that the output is a concise cheatsheet, flows from installation to advanced use, sources commands from official docs, preserves useful existing content, and passes repo validation.
Return a concise completion summary with:
Verify these expected results before reporting success:
Handle these carefully:
## Reference.After each major phase, report status in this format:
◆ <Phase Name> ([step N of M] — docs-to-cheatsheet)
··································································
Tool identified: √ pass
Existing sheet check: √ pass
Sources tracked: √ pass
User approval: × fail — waiting for approval
Criteria: √ 3/4 met
____________________________
Result: PARTIAL
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Author standardized AI cheatsheets in the awesome-cheatsheets format
日本語の概要は準備中です。原文の説明を表示しています。