Stacksmith — Security skill for Claude Code
Standard, secure backends that AI coding agents set up for you: a Rust + PostgreSQL + React template with tenant isolation, audit trail and field encryption, plus a CLI and MCP server for Codex and Cl.
How to install Stacksmith
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open arikivandeput/stacksmith and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Stacksmith does
Standard, secure backends that AI coding agents set up for you: a Rust + PostgreSQL + React template with tenant isolation, audit trail and field encryption, plus a CLI and MCP server for Codex and Claude Code.
Alternatives in Security
- Trail Of Bits Claude-code-config — Opinionated production defaults from a top security firm: sandboxing, permissions, hooks, skills, MCP server c 1.6k ★
- Postgres — Execute safe read-only SQL queries against PostgreSQL databases with multi-connection support and defense-in-d 159 ★
- Reactnative Expo AI Agent System Workflow — AI-powered development toolkit with 7 production agents for React Native/Expo mobile apps 125 ★
README
Stacksmith
**A standard, secure backend that AI coding agents set up for you.**
When you ask Codex, Claude Code or ChatGPT to "build me an app with accounts and an AI feature", they improvise the same shaky foundation every time: no tenant isolation, secrets in `.env` files, no audit trail, passwords hashed however the model felt like it. Stacksmith gives the agent a proven foundation and rules it cannot skip:
- a template: a Rust (Axum) API on PostgreSQL with login, roles, multi-tenant isolation, an audit trail, encrypted personal data, rate limiting, an LLM gateway (Anthropic, OpenAI, Ollama) and a React frontend with prerendered public pages;
- a check that fails the build when a rule is broken: a route without a permission policy, a plain-text personal-data column, an unaudited table, a hard-coded colour. The agent gets a precise message and fixes it;
- agent integration (in progress): a command line tool and an MCP server, so the agent finds and uses all of this when you start a new project, instead of you having to know it exists.
Licensed under the [Apache License 2.0](LICENSE).
Status
Early. Be clear about what works today:
The template (template/) |
Works. Build, tests, end-to-end and security checks pass; Docker, Cloudflare Tunnel and Vercel deployment are described in template/docs/deploy.md. Parts have not met a real Cloudflare or Vercel account yet |
The check (template/scripts/stacksmith-check.sh) |
Works (Python and Node for now) |
AGENTS.md / CLAUDE.md / hooks in the template |
Work: Codex reads AGENTS.md; Claude Code also runs the hooks |
The stacksmith CLI: new, check, doctor, standards |
Works. Install from source; no release download yet (docs/cli.md) |
The MCP server (stacksmith mcp): stacksmith_new, _check, _standards, _doctor |
Works; tested end to end, and with Claude Code as a real client. Not yet with Codex itself |
| `stacksmith setup |
Related Skills
Claude.Md Boilerplate
Opinionated claude.md template for Claude Code that enforces software engineering best practices: security, te
Ship Safe Gate Skill
Ship-Safe Gate — an AI agent skill that runs a fixed ordered pre-launch GO/NO-GO safety gate over Laravel + Re
Rls Audit
Supabase RLS & Postgres authorization audit: unprotected tables, permissive policies, self-elevation vectors,
Authz
Hunt broken access control — IDOR, missing role checks, mass assignment, and tenant isolation gaps. OWASP A01,
Audit Tenancy
Audit multi-tenancy enforcement — RLS policies, withTenantDb usage, query-time tenant filters, and cross-tenan
AI Security Review
Review AI/LLM prompt, retrieval, memory, tool/agent authority, tenant isolation, output sinks, and provider da
Related Agents
Zoya
Zoya (Engineering, security) — Security Engineer — the five agency invariants in code, secure SDLC, secrets, d
Security Compliance Officer
Use this agent for banking security audits, compliance validation, and secure coding practices in Android appl
Skeid Proxy Test Writer
Write and extend Skeid tests — Test::Mojo against build_app with an inline fake upstream, routing and admissio