fullstack-guardian — Claude Code skill: what it does, how to install
Builds security-focused full-stack web features across frontend and backend layers. Useful for shipping authenticated APIs, CRUD forms, and database flows.
npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a claude-codeWhat fullstack-guardian does
The skill coordinates full-stack development across three fronts: frontend, backend, and security. Before generating code, it documents technical specifications in specs/{feature}_design.md and verifies the feature against references/security-checklist.md. It generates database models, API routes, client components, and security notes. Every layer connects directly into a unified implementation workflow.
Execution relies on reference files inside the references/ directory. For example, references/api-design-standards.md dictates standards for REST and GraphQL, while references/backend-patterns.md covers queues and microservices. The skill refuses to trust client validation alone. Input is checked on both ends. Database queries use parameters to stop SQL injection, while API responses use strict schemas to prevent leaking sensitive fields.
Strict constraints apply throughout. Happy-path shortcuts are forbidden. Requiring a written technical design before coding avoids messy rewrites, though it slows down ad-hoc prototyping. Completed work hands off to Test Master for testing and DevOps for deployment.
What it helps with
- implement authenticated REST APIs alongside frontend views
- build secure CRUD operations with client and server input validation
- prevent SQL injection and XSS through parameterization and sanitization
- write structured technical design documents in specs/{feature}_design.md
- prepare tested components for handoff to Test Master and DevOps
Example prompts for the agent
- Implement a user profile feature with a FastAPI backend and a React form, including auth checks
- Build CRUD endpoints and UI for managing inventory with input validation on both ends
- Design a real-time notification feature using WebSockets and generate specs/notifications_design.md
How to install fullstack-guardian
1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a claude-code2Manually: put the files in place
~/.claude/skills/fullstack-guardian/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fullstack-guardian/
1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a codex2Manually: put the files in place
.agents/skills/fullstack-guardian/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a cursor2Manually: put the files in place
.cursor/skills/fullstack-guardian/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Jeffallan/claude-skills fullstack-guardian2Manually: put the files in place
.github/skills/fullstack-guardian/SKILL.md1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a gemini-cli2Platform CLI
gemini skills install https://github.com/Jeffallan/claude-skills --path skills/fullstack-guardianManually: put the files in place
.devin/skills/fullstack-guardian/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set61
The whole set →Similar
Questions about fullstack-guardian
How do I install fullstack-guardian in Claude Code?
Run npx skills add Jeffallan/claude-skills --skill fullstack-guardian -a claude-code. This installs the skill directly into your Claude Code environment.
What does fullstack-guardian do?
It guides full-stack development across frontend, backend, and security layers simultaneously. The skill sets up endpoints, interfaces, database queries, and input validation without exposing sensitive data in responses.
What security checks occur before coding begins?
The skill drafts a design in specs/{feature}_design.md and consults references/security-checklist.md. It confirms authentication, authorization, input validation, and output encoding before writing any application code.
Source text
SKILL.md · MIT
---
name: fullstack-guardian
description: Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the complete stack from database to UI, enforcing auth, input validation, output encoding, and parameterized queries across all layers. Use when implementing features across frontend and backend, building REST APIs with corresponding UI, connecting frontend components to backend endpoints, creating end-to-end data flows from database to UI, or implementing CRUD operations with UI forms. Distinct from frontend-only, backend-only, or API-only skills in that it simultaneously addresses all three perspectives—Frontend, Backend, and Security—within a single implementation workflow. Invoke for full-stack feature work, web app development, authenticated API routes with views, microservices, real-time features, monorepo architecture, or technology selection decisions.
license: MIT
metadata:
author: https://github.com/Jeffallan
company: https://synergetic.solutions
version: "1.1.1"
domain: security
triggers: fullstack, implement feature, build feature, create API, frontend and backend, full stack, new feature, implement, microservices, websocket, real-time, deployment pipeline, monorepo, architecture decision, technology selection, end-to-end
role: expert
scope: implementation
output-format: code
related-skills: feature-forge, test-master, devops-engineer, secure-code-guardian, architecture-designer, react-expert, typescript-pro
---
# Fullstack Guardian
Security-focused full-stack developer implementing features across the entire application stack.
## Core Workflow
1. **Gather requirements** - Understand feature scope and acceptance criteria
2. **Design solution** - Consider all three perspectives (Frontend/Backend/Security)
3. **Write technical design** - Document approach in `specs/{feature}_design.md`
4. **Security checkpoint** - Run through `references/security-checklist.md` before writing any code; confirm auth, authz, validation, and output encoding are addressed
5. **Implement** - Build incrementally, testing each component as you go
6. **Hand off** - Pass to Test Master for QA, DevOps for deployment
## Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| Design Template | `references/design-template.md` | Starting feature, three-perspective design |
| Security Checklist | `references/security-checklist.md` | Every feature - auth, authz, validation |
| Error Handling | `references/error-handling.md` | Implementing error flows |
| Common Patterns | `references/common-patterns.md` | CRUD, forms, API flows |
| Backend Patterns | `references/backend-patterns.md` | Microservices, queues, observability, Docker |
| Frontend Patterns | `references/frontend-patterns.md` | Real-time, optimization, accessibility, testing |
| Integration Patterns | `references/integration-patterns.md` | Type sharing, deployment, architecture decisions |
| API Design | `references/api-design-standards.md` | REST/GraphQL APIs, versioning, CORS, validation |
| Architecture Decisions | `references/architecture-decisions.md` | Tech selection, monolith vs microservices |
| Deliverables Checklist | `references/deliverables-checklist.md` | Completing features, preparing handoff |
## Constraints
### MUST DO
- Address all three perspectives (Frontend, Backend, Security)
- Validate input on both client and server
- Use parameterized queries (prevent SQL injection)
- Sanitize output (prevent XSS)
- Implement proper error handling at every layer
- Log security-relevant events
- Write the implementation plan before coding
- Test each component as you build
### MUST NOT DO
- Skip security considerations
- Trust client-side validation alone
- Expose sensitive data in API responses
- Hardcode credentials or secrets
- Implement features without acceptance criteria
- Skip error handling for "happy path only"
## Three-Perspective Example
A minimal authenticated endpoint illustrating all three layers:
**[Backend]** — Authenticated route with parameterized query and scoped response:
```python
@router.get("/users/{user_id}/profile", dependencies=[Depends(require_auth)])
async def get_profile(user_id: int, current_user: User = Depends(get_current_user)):
if current_user.id != user_id:
raise HTTPException(status_code=403, detail="Forbidden")
# Parameterized query — no raw string interpolation
row = await db.fetchone("SELECT id, name, email FROM users WHERE id = ?", (user_id,))
if not row:
raise HTTPException(status_code=404, detail="Not found")
return ProfileResponse(**row) # explicit schema — no password/token leakage
```
**[Frontend]** — Component calls the endpoint and handles errors gracefully:
```typescript
async function fetchProfile(userId: number): Promise<Profile> {
const res = await apiFetch(`/users/${userId}/profile`); // apiFetch attaches auth header
if (!res.ok) throw new Error(await res.text());
return res.json();
}
// Client-side input guard (never the only guard)
if (!Number.isInteger(userId) || userId <= 0) throw new Error("Invalid user ID");
```
**[Security]**
- Auth enforced server-side via `require_auth` dependency; client header is a convenience, not the gate.
- Response schema (`ProfileResponse`) explicitly excludes sensitive fields.
- 403 returned before any DB access when IDs don't match — no timing leak via 404.
## Output Templates
When implementing features, provide:
1. Technical design document (if non-trivial)
2. Backend code (models, schemas, endpoints)
3. Frontend code (components, hooks, API calls)
4. Brief security notes
Maintained by [@jeffallan](https://github.com/jeffallan), Principal Consultant at [Synergetic Solutions](https://synergetic.solutions)
[Documentation](https://jeffallan.github.io/claude-skills/skills/security/fullstack-guardian/)
© https://github.com/Jeffallan · MIT · Jeffallan/claude-skills