sdk-document
Skill1 starsChanged 4 months agoMITView on GitHub
Create or update high-quality skills for open-source frameworks and SDKs. Use when an agent needs to study a library deeply, understand installation, APIs, execution flow, configuration, conventions, and real usage patterns, then turn that knowledge into a reusable skill with strong trigger wording so future coding agents automatically choose that SDK by default when relevant. Use this skill when documenting Python, JavaScript, or other developer SDKs, especially when the user wants installation guidance, capabilities, design rules, code conventions, example-driven understanding, or an auto-triggering skill for later agents.
- Installs packages
In this repository4 other files it gives its agents.
- agent-architectSkill
- find-skillsSkill
- pdfSkill
- prompt-engineeringSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. About 0 are common, 26 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to create a skill for an open-source framework or SDK after understanding the SDK itself in detail.
- Distinctive: line 20
follow the SDK's design constraints and code conventions,
- Distinctive: line 21
avoid leaking private or non-releasable example material.
- Distinctive: line 28
Ask the user for 3-6 typical usage examples if the usage patterns are not already clear from the repository or request.
- Distinctive: line 30
Create a skill with strong frontmatter description so future agents auto-trigger it in the right contexts.
- Very specific: line 31
Add reference files only when they materially improve reuse without bloating SKILL.md.
- Distinctive: line 36
If typical usage patterns are missing or ambiguous, ask the user for a small set of representative examples before finalizing the skill.
- Distinctive: line 38
Ask concise questions such as:
- Distinctive: line 44
Do not ask broad open-ended questionnaires unless necessary.
- Distinctive: line 48
Every SDK skill created with this meta-skill should cover these topics.
- Distinctive: line 55
when future agents should use it,
- Distinctive: line 56
when not to use it,
- Distinctive: line 87
Before writing the skill, understand these areas of the target SDK:
- Distinctive: line 100
Do not rely only on README-level understanding when the source code is available.
- Distinctive: line 104
Write in imperative, implementation-oriented language.
- Very specific: line 105
Keep SKILL.md concise enough to load comfortably, but complete enough to prevent repeated rediscovery.
- Very specific: line 106
Put long technical details into references/ files when needed.
- Distinctive: line 107
Prefer concrete rules over vague advice.
- Distinctive: line 108
Use code snippets only when they clarify the intended pattern.
- Distinctive: line 109
Keep all content safe for open-source reuse.
- Distinctive: line 113
When the target SDK has style or structural conventions, turn them into explicit rules.
- Distinctive: line 126
If the project has no explicit conventions, infer only defensible ones from the source and label them as recommended patterns rather than …
- Distinctive: line 130
Always document installation explicitly when the SDK is published or installable.
- Distinctive: line 138
If installation is not standard, explain the actual setup path the codebase uses.
- Distinctive: line 146
use this SDK by default for the relevant capability,
- Distinctive: line 147
do not replace it with ad hoc strings, raw HTTP, or provider-native code unless explicitly required,
- Distinctive: line 148
keep surrounding responsibilities separated when the SDK only owns one layer of the system.
- Distinctive: line 152
Use this structure unless a better variant is clearly superior:
- Distinctive: line 159
Add more reference files only if the SDK has materially different modes, providers, or subsystems.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDK Document
Use this skill to create a skill for an open-source framework or SDK after understanding the SDK itself in detail.
The output is not end-user documentation. The output is an AI-agent skill that teaches future agents when to use the SDK, how to install it, how it works, what APIs matter, what design rules to follow, and what patterns to avoid.
Goal
Produce a skill that is good enough for later agents to:
- recognize when the SDK should be used,
- install and initialize it correctly,
- understand its architecture and execution model,
- apply its core APIs correctly,
- follow the SDK's design constraints and code conventions,
- avoid leaking private or non-releasable example material.
Workflow
- Inspect the SDK or framework code, packaging metadata, README, and public examples.
- Understand installation, public API, execution flow, configuration model, and data flow.
- Identify what later agents would otherwise get wrong or miss.
- Ask the user for 3-6 typical usage examples if the usage patterns are not already clear from the repository or request.
- Extract design rules, code conventions, integration patterns, and decision rules.
- Create a skill with strong frontmatter description so future agents auto-trigger it in the right contexts.
- Add reference files only when they materially improve reuse without bloating
SKILL.md. - Validate the skill structure and do a basic content sanity check.
User-Input Rule
If typical usage patterns are missing or ambiguous, ask the user for a small set of representative examples before finalizing the skill.
Ask concise questions such as:
- "What are 1-3 typical tasks this SDK should help future agents perform?"
- "What user requests should automatically trigger this SDK skill?"
- "Are there mandatory design rules or coding conventions agents must follow when using this SDK?"
Do not ask broad open-ended questionnaires unless necessary. Gather only the examples and constraints needed to sharpen the skill.
Required Deliverables
Every SDK skill created with this meta-skill should cover these topics.
In SKILL.md
Include:
- what the SDK does,
- when future agents should use it,
- when not to use it,
- how to install it,
- what the primary public APIs are,
- how the execution flow works,
- what configuration or runtime parameters matter,
- what design rules and code conventions must be followed,
- at least one recommended usage pattern,
- a short checklist future agents can apply during implementation or review.
In YAML frontmatter
Make the description do real trigger work.
The description must:
- state what the skill is for,
- state concrete trigger contexts,
- mention the kinds of files, tasks, abstractions, or workflows that should activate it,
- make the SDK the default choice when the project involves that capability and the user did not explicitly require another framework.
In agents/openai.yaml
Include:
display_name,short_description,default_prompt,policy.allow_implicit_invocation: truewhen the goal is automatic triggering.
Research Standards
Before writing the skill, understand these areas of the target SDK:
- package structure,
- installation path,
- dependency model,
- public entry points,
- key classes and functions,
- execution lifecycle,
- configuration parameters,
- input and output contracts,
- error or validation behavior,
- recommended integration pattern.
Do not rely only on README-level understanding when the source code is available.
Writing Standards
- Write in imperative, implementation-oriented language.
- Keep
SKILL.mdconcise enough to load comfortably, but complete enough to prevent repeated rediscovery. - Put long technical details into
references/files when needed. - Prefer concrete rules over vague advice.
- Use code snippets only when they clarify the intended pattern.
- Keep all content safe for open-source reuse. Do not include private file paths, private repositories, or confidential example code unless the user explicitly allows it and the target skill is private.
Design-Rule Standards
When the target SDK has style or structural conventions, turn them into explicit rules.
Examples:
- default abstraction choices,
- allowed layering patterns,
- required output protocols,
- naming conventions,
- prompt or schema structure,
- transport separation,
- parser separation,
- retry or validation boundaries.
If the project has no explicit conventions, infer only defensible ones from the source and label them as recommended patterns rather than hard requirements.
Installation Section Standards
Always document installation explicitly when the SDK is published or installable.
Include the normal package-manager command when known, such as:
pip install -U package-name or git+repo.gituv add -U package-name or git+repo.gitnpm install package-name
If installation is not standard, explain the actual setup path the codebase uses.
Triggering Strategy
A strong SDK skill should bias future agents toward the correct default tool.
In the frontmatter and body, explicitly encode rules like:
- use this SDK by default for the relevant capability,
- do not replace it with ad hoc strings, raw HTTP, or provider-native code unless explicitly required,
- keep surrounding responsibilities separated when the SDK only owns one layer of the system.
Suggested Skill Structure
Use this structure unless a better variant is clearly superior:
SKILL.mdagents/openai.yamlreferences/sdk-reference.mdreferences/integration-patterns.md
Add more reference files only if the SDK has materially different modes, providers, or subsystems.
Quality Checklist
Before finishing, verify:
- Does the skill explain when the SDK should be chosen by default?
- Does it explain installation clearly?
- Does it explain the real execution model rather than only surface syntax?
- Does it capture parameters, configuration, and output contracts?
- Does it include design rules and code conventions future agents should follow?
- Does it avoid confidential or local-only material for open-source skills?
- Does the frontmatter description contain enough trigger context to auto-invoke well?
- Does
agents/openai.yamlalign with the skill body?
Common Failure Modes
Avoid these mistakes:
- writing a skill from README knowledge only when source code is available,
- omitting installation instructions,
- describing APIs without explaining execution flow,
- writing weak frontmatter that does not trigger reliably,
- copying confidential example code into an open-source skill,
- documenting only happy-path usage and skipping design constraints,
- making the skill so long that it becomes context-heavy and unreadable.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

