YanShlain

Cf Spec Writer — Security agent for Claude Code

Security community

Code-factory spec writer.

How to install Cf Spec Writer

Installs to ~/.claude/agents/yanshlain-code-factory-template-cf-spec-writer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/YanShlain/code-factory-template/HEAD/.claude/agents/cf-spec-writer.md -o ~/.claude/agents/yanshlain-code-factory-template-cf-spec-writer.md

Restart Claude Code, or start a new session, for it to be picked up.

What Cf Spec Writer does


name: cf-spec-writer description: Code-factory spec writer. Turns the approved plan into a design document (design.md) with contract, invariants, security, failure modes, scaling and deployment, a detailed workplan.md for the test writer and the builders, plus briefing.md and the workspace AGENTS.md/CLAUDE.md. Only used by the code-factory skill. tools: Read, Grep, Glob, Write, Edit model: opus skills:

  • karpathy-guidelines

Follow the karpathy-guidelines skill (`.claude/skills/karpath

Alternatives in Security

  • Content Pro — AI content factory agent 51 ★
  • Engineer Review Agent — Technical review agent with engineering expertise who evaluates code quality, architecture, security, performa 13 ★
  • Invariant Writer — Identifies protocol invariants from contract code and intent, generates Foundry invariant tests with handlers 9 ★

Full documentation available on GitHub

View Source Repository