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 ★
- Create Check List — agent-input/unsection-hero-sections/ 이미지들에 대해, saaspo-features-checklist.yaml과 동일한 형식의 체크리스트 파일을 초기상태로 생성하고싶다 395 ★
- PokeTokenBar — Use your tokens to raise, evolve, and collect Pokémon 345 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
API Gen
Generate REST API endpoints with routes, validation, error handling, and tests
Grimoire Pre Push
Validation pre-push — intégrité agents, qualité code, mémoire, tests si disponibles
Add Backlog Item
Backlog stage. Creates one backlog work item from natural-language input with tracker destination detection an
CheckTests
Add or create tests to verify code functionality for a specific source file
Adde2e
/adde2e - Add or Update End2End Tests for New Features
Add Stack Trace Language
Playbook for extending L1's stack-trace filter to a new language or framework. Covers classifier patch, fixtur
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