Install
$ agentstack add skill-ucdavis-ai-skills-registry-skill-authoring-general ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Skill Authoring
This skill guides creation of valid, well-structured Agent Skills following the agentskills.io specification.
Directory Structure
Every skill is a directory named after the skill itself:
skill-name/
├── SKILL.md # Required: metadata + instructions
├── scripts/ # Optional: executable scripts
├── references/ # Optional: supplementary documentation
└── assets/ # Optional: templates, static resources
The directory name must exactly match the name field in SKILL.md.
SKILL.md Format
SKILL.md must begin with YAML frontmatter, followed by Markdown instructions.
Required Fields
| Field | Rules | |---------------|-------| | name | 1–64 chars. Lowercase a-z, digits, hyphens only. No leading/trailing/consecutive hyphens. Must match directory name. | | description | 1–1024 chars. Describe what it does and when to use it. Include keywords agents use to identify the task. |
Optional Fields
| Field | Notes | |------------------|-------| | license | License name or path to bundled license file. | | compatibility | 1–500 chars. Only include if the skill has specific environment requirements (tools, network, OS, product). | | metadata | Arbitrary key-value map for extra properties (version, team, links, etc.). | | allowed-tools | Space-delimited pre-approved tools, e.g. Bash(git:*) Read. Experimental. |
Minimal Template
---
name: my-skill
description: Does X and Y. Use when the user asks about Z.
---
# My Skill
Instructions here.
Full Template
---
name: my-skill
description: Extracts and transforms X. Use when working with X files or when the user mentions Y or Z.
license: MIT
compatibility: Requires python3 and internet access
metadata:
version: "1.0"
allowed-tools: Bash(python3:*) Read Write
---
# My Skill
Brief overview.
## Steps
1. Step one
2. Step two
## Examples
Input: ...
Output: ...
## Edge Cases
- Handle ...
Writing Good Instructions
Body content (after frontmatter) has no format restrictions — write whatever helps agents perform the task.
Recommended sections:
- Step-by-step instructions
- Input/output examples
- Common edge cases and how to handle them
Size guidelines:
- Keep
SKILL.mdunder 500 lines (~5000 tokens) - Move detailed reference material to
references/files - Agents load
references/files on demand — keep them focused and small
Writing a Good description
The description is how agents decide whether to activate a skill. Make it specific:
- State what the skill does (actions, outputs)
- State when to use it (trigger phrases, task types)
- Include domain-specific keywords
Good:
description: Extracts text and tables from PDF files, fills PDF forms, and merges multiple PDFs. Use when working with PDF documents or when the user mentions PDFs, forms, or document extraction.
Poor:
description: Helps with PDFs.
Versioning
Skill versions are tracked centrally in the repository's skills.json file. When you modify an existing skill or add a new one, you must update its version information using Semantic Versioning (SemVer):
- Patch (
x.x.Y): Minor fixes, typo corrections, or small clarifications that do not change how the skill is fundamentally used. - Minor (
x.Y.x): Adding new steps, examples, or optional capabilities in a backward-compatible manner. - Major (
Y.x.x): Breaking changes to instructions, changing the allowed tools, or fundamentally altering the skill's purpose.
When making a change:
- Locate the skill's entry in the
skillsarray insideskills.json(or add a new entry for new skills). - Bump the
versionfield according to the SemVer rules above (start at"1.0.0"for new skills). - If the skill uses the optional
metadata.versionfield in itsSKILL.mdfrontmatter, ensure that is updated as well to match.
Validation
Run the reference validator if available:
skills-ref validate ./my-skill
Common validation errors:
namecontains uppercase letters or spaces → use lowercase hyphens onlynamedoesn't match directory name → rename one to match the otherdescriptionis empty or too vague → expand with what/when language- Consecutive hyphens in
name(e.g.my--skill) → not allowed
Checklist Before Publishing
- [ ] Directory name matches
namefield exactly - [ ]
nameis lowercase with hyphens, no consecutive hyphens - [ ]
descriptionexplains both what it does and when to trigger it - [ ] Body instructions are clear, actionable, and under 500 lines
- [ ] Large reference material is in
references/not inline - [ ] Scripts in
scripts/are self-contained with helpful error messages - [ ]
compatibilityfield included only if environment requirements exist - [ ] Version in
skills.jsonhas been updated following Semantic Versioning
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ucdavis
- Source: ucdavis/ai-skills-registry
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.