agent-instructions
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what does not, structure, and…
Use when creating reusable slash commands for an agent. Covers when a command beats a skill, argument handling, composing tool calls, and writing commands that are worth typing.
$ npx -y skills add nimadorostkar/Claude-Skills-collection --skill slash-commands --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/slash-commandsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when creating reusable slash commands for an agent. Covers when a command beats a skill, argument handling, composing tool calls, and writing commands that are worth typing.
name: slash-commands description: Use when creating reusable slash commands for an agent. Covers when a command beats a skill, argument handling, composing tool calls, and writing commands that are worth typing. metadata: category: agent-tooling version: 1.0.0 tags: [commands, automation, workflows, shortcuts]
Turn a workflow you repeat into a command you invoke. A slash command is an explicit, user-triggered prompt — as distinct from a skill, which the model decides to load on its own.
1. **Decide: command or skill?** — A skill is loaded when the model judges it relevant. A command is invoked when the user decides. If you want control over *when* it runs, it is a command. 2. **Name it for the action** — `/review`, `/release`, `/triage`. A verb the user would think of. 3. **Handle the arguments** — What varies between invocations? A PR number, a file, a version. Provide a default where one is sensible. 4. **Write the workflow as instructions** — The command file is a prompt. It should say what to do, in order, with what constraints. 5. **Front-load the context** — A command can run shell commands and include their output before the model reads the instructions. This is what makes a command dramatically more efficient than typing the same request.
**A command that pre-gathers its own context:**
---
description: Review the current branch's changes against main
argument-hint: "[base-branch]"
allowed-tools: Bash(git:*), Read, Grep
---
## Context
- Base branch: ${1:-main}
- Files changed: !`git diff --stat ${1:-main}...HEAD`
- Full diff: !`git diff ${1:-main}...HEAD`
- Commits: !`git log --oneline ${1:-main}..HEAD`
## Task
Review these changes as a senior engineer would.
Report findings grouped by severity:
- **Blocking** — correctness, security, or data-loss defects.
- **Should fix** — design or performance problems that will cost more later.
- **Consider** — genuinely optional improvements.
For each finding: the file and line, what is wrong, why it matters, and the fix.
Check specifically:
- Every new branch's error path. What happens on empty, null, or hostile input?
- Anything crossing a trust boundary — is it validated?
- Would the new tests fail if the implementation were subtly wrong?
If the change is sound, say so and stop. Do not manufacture findings.The diff, the commit list, and the file stats are gathered by the shell before the model reads a word. It starts with everything it needs.
**Command versus skill:**
/release -> a command. You decide when to cut a release. It must
never happen because the model inferred it should.
database-performance -> a skill. The model should load it whenever a query is
slow, without being asked. You do not want to have to
remember to invoke it.A curated library of 137 production-grade skills for Claude and other AI coding agents. Every skill follows one structure, speaks with one voice, and earns its place by changing what the agent does.
Repo: nimadorostkar/Claude-Skills-collection
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what does not, structure, and…
Use when an agent needs state that survives a session or a context compaction. Covers what to persist, file-based memory, structuring notes for retrieval, and…
Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should not be trusted to remember,…
Use when packaging skills, commands, hooks, and MCP servers into a distributable plugin. Covers manifest structure, bundling, versioning, testing, and…
Use when writing a new skill for an AI agent. Covers scoping, description writing for reliable triggering, progressive disclosure, and the difference between a…
Use when reviewing or improving an existing agent skill. Covers triggering accuracy, content quality, redundancy with the base model, and measuring whether the…