adversarial-reviewer
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt body, then regenerating the registry. Use when creating, scaffolding, or reviewing a slash command in this repo.
$ npx -y skills add KhaledSaeed18/dotclaude --skill create-command --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/create-commandContext preview
The summary Claude sees to decide when to auto-load this skill.
Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt body, then regenerating the registry. Use when creating, scaffolding, or reviewing a slash command in this repo.
name: create-command description: Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt body, then regenerating the registry. Use when creating, scaffolding, or reviewing a slash command in this repo. argument-hint: "(optional) the command's purpose, proposed name, or category"
Create a slash command: a prompt the user invokes by typing `/<name>`. Make it do one well-scoped action, accept its arguments cleanly, and read like a tight instruction set. Then regenerate the derived files and validate.
Source layout is `commands/<category>/<name>/COMMAND.md`. Commands are **file-layout**: the folder must contain only `COMMAND.md`, because it installs as the single file `.claude/commands/<name>.md`. The `/<name>` the user types comes from that filename. The **category is the folder**; `registry.json` and the README catalog are *generated* by `pnpm gen`. Never hand-edit generated files.
From the repo root:
pnpm new --type command --category <category> --name <name> --description "<what it does>"
Current command category: `testing`. Reuse it or add a new folder if a different family is justified. The scaffolder enforces kebab-case and global name uniqueness and regenerates the registry.
Required: `name`, `description`. Useful optional fields:
| Field | Purpose | | -------------------------- | ------------------------------------------------------------------------------------------------ | | `argument-hint` | Autocomplete hint for expected args, e.g. `[file]` or `[issue-number] [format]`. Omit if none. | | `allowed-tools` | Tools the command may use without a permission prompt while active. Space/comma string or list. | | `disable-model-invocation` | `true` so only the user can run it (Claude won't auto-trigger). Use for side-effecting commands. | | `model` | Pin a model for this command. Defaults to the session model. |
Write `description` third person, leading with the action; avoid a `: ` (it is YAML).
The markdown body is the prompt that runs when the command is invoked. Address the agent, imperative. Wire in input:
If the command takes arguments but the body omits `$ARGUMENTS`, Claude Code appends what the user typed automatically, but referencing it explicitly reads better.
pnpm gen pnpm validate
Fix the source `COMMAND.md` if validation complains; never patch generated output.
Report the command's path, category, how it's invoked, and the validation result. Leave committing to the user.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Repo: KhaledSaeed18/dotclaude
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Review an API contract (REST or GraphQL) before or while it is implemented, checking resource naming, HTTP semantics, status codes, error shape, pagination,…
Process code-review feedback with technical rigour — understand each point, check it against the actual codebase, and respond with reasoning or implementation…
Author a new subagent for this repository end to end by scaffolding it with pnpm new, curating its tool allowlist, setting model, color, and memory in…
Author a new Claude Code hook for this repository end to end by scaffolding it with pnpm new, writing the hook script and its settings.json wiring, documenting…
Author a new skill for this repository end to end by choosing its category, writing trigger-friendly frontmatter, structuring the SKILL.md, splitting reference…