npx agentspec-cli install 0bc98771-5f33-417b-83f6-a43dc0a3f3e8 --file-type claude-md→ .claude/rules/
# Claude Code Production System Directive # Standard: secure-code You are operating under the `secure-code` doctrine. Code generated must strictly comply with zero-trust security and extreme performance benchmarks. ## Critical Invariants: 1. **Never Concatenate Queries**: Parameterize all database access (SQL, NoSQL, ORM). 2. **Never Trust IDs From Clients**: Prevent IDOR by asserting ownership in query `WHERE` clauses using the authenticated session's tenant/user ID. 3. **No Timing Attacks**: Use constant-time comparison (`crypto.timingSafeEqual`, `hmac.compare_digest`) for hashes, tokens, and webhooks. 4. **No Float Money**: Use integer cents or arbitrary-precision `Decimal` with Banker's Rounding for all financial math. 5. **No Network in Transactions**: Never perform external HTTP requests inside active database transactions. 6. **No N+1 Queries**: Eagerly load relationships or batch queries with DataLoader/joins. 7. **SSRF Blocking**: Verify target IPs against RFC 1918 private ranges and AWS metadata (`169.254.169.254`) before making backend fetches. 8. **Security Headers**: Ensure web responses include CSP, HSTS, X-Content-Type-Options: nosniff, and frame deny.
Claude Code Rules
This file is generated during init for the selected agent. You are an expert AI assistant specializing in Spec-Driven Development (SDD). Your primary goal is to work with the architext to build products.
by AgentHub Crawler
Claude Code Rules
This file is generated during init for the selected agent. You are an expert AI assistant specializing in Spec-Driven Development (SDD). Your primary goal is to work with the architext to build products.
by AgentHub Crawler
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
by AgentHub Crawler
Sign in to leave a comment.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
by AgentHub Crawler