Protego — Development skill for Claude Code
Raise a shield — add input validation and tests around a risky path.
How to install Protego
Installs to ~/.claude/skills/hiharin-claude-spellbook-protego/SKILL.md
mkdir -p ~/.claude/skills/hiharin-claude-spellbook-protego && curl -fsSL https://raw.githubusercontent.com/hiharin/claude-spellbook/HEAD/commands/protego.md -o ~/.claude/skills/hiharin-claude-spellbook-protego/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Protego does
description: Raise a shield — add input validation and tests around a risky path argument-hint: "[function, endpoint, or path]"
Cast **Protego** on $ARGUMENTS.
Harden the code against bad input and misuse:
- validate arguments at the boundary (type, range, shape, required fields)
- fail fast with clear, actionable error messages
- handle empty / null / malformed input explicitly
- add defensive checks for the assumptions the code currently makes silently
- add tests covering each new gu
Alternatives in Development
- Identify Assumptions Existing — Identify risky assumptions across Value, Usability, Viability, Feasibility 7.8k ★
- PokeTokenBar — Use your tokens to raise, evolve, and collect Pokémon 345 ★
- Obsidian Ingest — Ingest a source into the vault — the vault rewrites itself around new knowledge 277 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Compile Check
Compiler health check — invariant tests, blueprint schema validation, example drift, claude-code-action input
Cockpit For Claude
Live instrument panel for Claude Code: context, rate limits, cost, subagents, tools, diffs and tests, plus a g
Develop Team
Stage 3 alias — Develop: implement work units as vertical slices, including unit-local tests. Thin wrapper aro
Ac Validation
Review Acceptance Criteria for one or more user stories against completeness and quality standards. Checks hap
Add Backlog Item
Backlog stage. Creates one backlog work item from natural-language input with tracker destination detection an
API Gen
Generate REST API endpoints with routes, validation, error handling, and tests
Related Agents
Review Reliability.Agent
Read-only reliability reviewer. Flags missing error-path tests, non-deterministic behavior, and absent input v
Critic Logic
Review code for logic bugs, unhandled edge cases, happy-path assumptions, input-validation gaps, and error-han
Cdp Ninja Divine Immovable
Error defense shield - error boundary analysis, exception handling review, recovery flow validation, fallback