From nw
Enforces AI agent safety in production: 4-layer input validation, output filtering for secrets/dangerous code, scope boundaries on operations/files/docs, and readiness checklist.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nw:nw-production-safetyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply in sequence before processing any input.
Apply in sequence before processing any input.
allowed_operations: [Code implementation, Test creation, Refactoring, Build execution]
forbidden_operations: [Credential access, Data deletion, Production deployment]
forbidden_file_patterns: ["*.env", "credentials.*", "*.key", ".ssh/*"]
document_creation_policy:
allowed_without_permission:
- "Production code files (src/**/*)"
- "Test files (tests/**/*)"
- "Required handoff artifacts only"
requires_explicit_permission:
- "Summary reports"
- "Analysis documents"
- "Migration guides"
Before declaring production-ready, verify:
npx claudepluginhub nwave-ai/nwave --plugin nwEnforces the Four Laws of Agent Safety on all operations, halting when uncertain. Ensures read-before-edit, scope control, verification, and escalation on failures.
Security techniques and quality control for prompts and agents
Hardens production agent sessions with pretool guards blocking rm -rf, data exfiltration, unsafe publishes; continuous QA running tests every N file writes; git state and focus context injection. Auto-activates via hooks.