fullstack-guardian
jeffallan/claude-skills
Security-focused full-stack web development—frontend, backend, and database with integrated auth, validation, and output encoding.
What is fullstack-guardian?
Fullstack Guardian builds complete web application features across all three layers (frontend, backend, database) with security enforced at every level. Use it when implementing features that span frontend and backend, building REST APIs with corresponding UI, creating end-to-end data flows, or making architecture decisions. It differs from frontend-only or backend-only skills by addressing all three perspectives simultaneously.
- Implements authenticated endpoints with server-side authorization checks
- Enforces input validation on both client and server
- Uses parameterized queries to prevent SQL injection
- Sanitizes output and uses response schemas to prevent XSS and data leakage
- Designs end-to-end data flows from database through API to UI components
- Provides security checkpoint workflow before implementation begins
How to install fullstack-guardian
npx skills add https://github.com/jeffallan/claude-skills --skill fullstack-guardianHow to use fullstack-guardian
- 1.Gather requirements and acceptance criteria for the feature
- 2.Review the security checklist in references/security-checklist.md
- 3.Design the solution considering all three perspectives (Frontend, Backend, Security)
- 4.Write a technical design document using references/design-template.md
- 5.Implement backend code with authenticated routes and parameterized queries
- 6.Implement frontend components with client-side validation and error handling
- 7.Test each component incrementally as you build
- 8.Run through the deliverables checklist before handoff
Use cases
- Building a user profile feature with login, form submission, and database storage
- Creating a REST API endpoint with corresponding frontend component and proper error handling
- Implementing CRUD operations with UI forms, validation, and secure database queries
- Adding real-time features or microservices with authentication and authorization
- Making technology selection and architecture decisions for new applications
- Full-stack developers building web applications
- Teams implementing features across frontend and backend simultaneously
- Developers prioritizing security in application design
- Architects evaluating monolith vs. microservices approaches
fullstack-guardian FAQ
Use Fullstack Guardian when implementing features that require work across all three layers—database, backend API, and frontend UI. Use specialized skills when working on isolated frontend components or backend services without corresponding UI.
Load and review references/security-checklist.md for every feature. Confirm authentication, authorization, input validation, and output encoding are addressed before implementation.
Load references/error-handling.md for detailed patterns. Implement error handling at every layer: database queries, API endpoints, and frontend components. Never expose sensitive details in error messages.
Load references/architecture-decisions.md to evaluate trade-offs. Fullstack Guardian supports both patterns and can guide technology selection based on your constraints.
Always use parameterized queries on the backend (never string interpolation) and sanitize output using response schemas. Validate input on both client and server, and encode output in templates.
Full instructions (SKILL.md)
Source of truth, from jeffallan/claude-skills.
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 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
- Gather requirements - Understand feature scope and acceptance criteria
- Design solution - Consider all three perspectives (Frontend/Backend/Security)
- Write technical design - Document approach in
specs/{feature}_design.md - Security checkpoint - Run through
references/security-checklist.mdbefore writing any code; confirm auth, authz, validation, and output encoding are addressed - Implement - Build incrementally, testing each component as you go
- 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:
@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:
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_authdependency; 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:
- Technical design document (if non-trivial)
- Backend code (models, schemas, endpoints)
- Frontend code (components, hooks, API calls)
- Brief security notes
Related skills
More from jeffallan/claude-skills and the wider catalog.

laravel-specialist
Build Laravel 10+ applications with Eloquent models, Sanctum auth, queues, APIs, and Livewire components.

golang-pro
Senior Go developer for concurrent systems, microservices, and production-grade performance optimization.

flutter-expert
Senior Flutter engineer for cross-platform apps with Riverpod, Bloc, GoRouter, and performance optimization.

php-pro
Senior PHP developer for modern PHP 8.3+, Laravel, Symfony with strict typing, PHPStan level 9, and enterprise patterns.

kubernetes-specialist
Deploy and manage Kubernetes workloads with secure manifests, RBAC, networking, and troubleshooting.

devops-engineer
Creates Dockerfiles, CI/CD pipelines, Kubernetes manifests, and infrastructure-as-code templates for deployment automation.