plugins/ai-resources/skills/create-reference/SKILL.md
Create or update an AI-optimized reference document for a tool, library, framework, or API via thorough research.
npx skillsauth add amhuppert/my-ai-resources create-referenceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create or update reference documents that provide AI agents with comprehensive knowledge of a tool, technology, library, framework, or API. The resulting document enables an AI agent to work effectively with the subject without prior knowledge.
<subject> Use the subject and options supplied in the user's invocation. </subject>Determine the mode and subject from the arguments:
--update <path> is specified or the user asks to update an existing document, read the existing document in full first, then research only the new topic areas and integrate them into the existing structure. Where old and new content contradict, new content takes precedence; remove outdated information. Preserve the overall structure unless the user requests restructuring.Determine the subject source:
If the subject or scope is ambiguous, ask the user to clarify:
Conduct thorough research to build comprehensive understanding.
When combining both sources, local code takes precedence where web documentation contradicts the actual implementation.
# [Subject Name] Reference Guide for AI Agents
<Overview>
[1-3 sentence description of what the tool does and its primary use case.]
[Key workflow or mental model in one sentence.]
</Overview>
## Installation / Setup
[Commands, dependencies, prerequisites]
## Core Concepts
[Key mental models and terminology the agent must understand]
## API Reference / Key APIs
[Function signatures, parameters, return types]
[Organized by logical groupings]
## Configuration
[Config files, environment variables, options]
## Common Patterns
[Practical recipes for frequent tasks]
## Commands / CLI
[If applicable: command syntax, flags, examples]
## Troubleshooting / Gotchas
[Common pitfalls and their solutions]
Adapt this structure to the subject — not all sections apply to every tool, and the structure should follow the natural workflow of using it.
Format:
npm install", not "You should run npm install")<Overview>, <critical>, <example>) for structural clarity where appropriateContent:
Code examples:
Before saving, verify:
For new documents:
agent-docs/ directory in the project root<subject-name>-reference.md (kebab-case), or <subject-name>-reference-<language>.md for language-specific variantsagent-docs/<subject-name>/For updates, edit the existing file in place.
After saving, report the file path and a brief summary of what the document covers.
development
Debug a running web app via the web-debugger SDK: app logs, application state, runtime snapshots, React state, query cache.
development
Thoroughly understand a software development objective before implementation: research, identify ambiguities, ask clarifying questions. Use before starting implementation of a non-trivial or ambiguously specified feature, or when requirements leave open design decisions.
development
Locate the on-disk Claude Code transcript file (.jsonl under ~/.claude/projects/) for the current or a specified conversation.
development
Reflect on codebase navigation effectiveness at end of conversation. Surfaces dead ends, inefficiencies, missing context. Does not write files — pair with /kiro:steering-custom to persist.