{"data":{"slug":"discovered-86003b5ff5a2c9dbef92bd373dc60b50c27f23a27c7cd17d","title":"Fullstack Guardian","summary":"Build secure fullstack applications by addressing frontend, backend, and security requirements. Deliverables include technical design documents, backend and frontend code, and security notes.","url":"https:\/\/skillshunter.net\/skills\/discovered-86003b5ff5a2c9dbef92bd373dc60b50c27f23a27c7cd17d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-86003b5ff5a2c9dbef92bd373dc60b50c27f23a27c7cd17d","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-86003b5ff5a2c9dbef92bd373dc60b50c27f23a27c7cd17d.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-86003b5ff5a2c9dbef92bd373dc60b50c27f23a27c7cd17d\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before starting, review `references\/security-checklist.md` to ensure authentication, authorization, validation, and output encoding are addressed. Write the implementation plan in `specs\/{feature}_design.md` before coding.","instructions":"---\nname: fullstack-guardian\ndescription: 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\u2014Frontend, Backend, and Security\u2014within 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.\nlicense: MIT\nmetadata:\n  author: https:\/\/github.com\/Jeffallan\n  company: https:\/\/synergetic.solutions\n  version: \"1.1.1\"\n  domain: security\n  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\n  role: expert\n  scope: implementation\n  output-format: code\n  related-skills: feature-forge, test-master, devops-engineer, secure-code-guardian, architecture-designer, react-expert, typescript-pro\n---\n\n# Fullstack Guardian\n\nSecurity-focused full-stack developer implementing features across the entire application stack.\n\n## Core Workflow\n\n1. **Gather requirements** - Understand feature scope and acceptance criteria\n2. **Design solution** - Consider all three perspectives (Frontend\/Backend\/Security)\n3. **Write technical design** - Document approach in `specs\/{feature}_design.md`\n4. **Security checkpoint** - Run through `references\/security-checklist.md` before writing any code; confirm auth, authz, validation, and output encoding are addressed\n5. **Implement** - Build incrementally, testing each component as you go\n6. **Hand off** - Pass to Test Master for QA, DevOps for deployment\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Design Template | `references\/design-template.md` | Starting feature, three-perspective design |\n| Security Checklist | `references\/security-checklist.md` | Every feature - auth, authz, validation |\n| Error Handling | `references\/error-handling.md` | Implementing error flows |\n| Common Patterns | `references\/common-patterns.md` | CRUD, forms, API flows |\n| Backend Patterns | `references\/backend-patterns.md` | Microservices, queues, observability, Docker |\n| Frontend Patterns | `references\/frontend-patterns.md` | Real-time, optimization, accessibility, testing |\n| Integration Patterns | `references\/integration-patterns.md` | Type sharing, deployment, architecture decisions |\n| API Design | `references\/api-design-standards.md` | REST\/GraphQL APIs, versioning, CORS, validation |\n| Architecture Decisions | `references\/architecture-decisions.md` | Tech selection, monolith vs microservices |\n| Deliverables Checklist | `references\/deliverables-checklist.md` | Completing features, preparing handoff |\n\n## Constraints\n\n### MUST DO\n- Address all three perspectives (Frontend, Backend, Security)\n- Validate input on both client and server\n- Use parameterized queries (prevent SQL injection)\n- Sanitize output (prevent XSS)\n- Implement proper error handling at every layer\n- Log security-relevant events\n- Write the implementation plan before coding\n- Test each component as you build\n\n### MUST NOT DO\n- Skip security considerations\n- Trust client-side validation alone\n- Expose sensitive data in API responses\n- Hardcode credentials or secrets\n- Implement features without acceptance criteria\n- Skip error handling for \"happy path only\"\n\n## Three-Perspective Example\n\nA minimal authenticated endpoint illustrating all three layers:\n\n**[Backend]** \u2014 Authenticated route with parameterized query and scoped response:\n```python\n@router.get(\"\/users\/{user_id}\/profile\", dependencies=[Depends(require_auth)])\nasync def get_profile(user_id: int, current_user: User = Depends(get_current_user)):\n    if current_user.id != user_id:\n        raise HTTPException(status_code=403, detail=\"Forbidden\")\n    # Parameterized query \u2014 no raw string interpolation\n    row = await db.fetchone(\"SELECT id, name, email FROM users WHERE id = ?\", (user_id,))\n    if not row:\n        raise HTTPException(status_code=404, detail=\"Not found\")\n    return ProfileResponse(**row)   # explicit schema \u2014 no password\/token leakage\n```\n\n**[Frontend]** \u2014 Component calls the endpoint and handles errors gracefully:\n```typescript\nasync function fetchProfile(userId: number): Promise<Profile> {\n  const res = await apiFetch(`\/users\/${userId}\/profile`);   \/\/ apiFetch attaches auth header\n  if (!res.ok) throw new Error(await res.text());\n  return res.json();\n}\n\/\/ Client-side input guard (never the only guard)\nif (!Number.isInteger(userId) || userId <= 0) throw new Error(\"Invalid user ID\");\n```\n\n**[Security]**\n- Auth enforced server-side via `require_auth` dependency; client header is a convenience, not the gate.\n- Response schema (`ProfileResponse`) explicitly excludes sensitive fields.\n- 403 returned before any DB access when IDs don't match \u2014 no timing leak via 404.\n\n## Output Templates\n\nWhen implementing features, provide:\n1. Technical design document (if non-trivial)\n2. Backend code (models, schemas, endpoints)\n3. Frontend code (components, hooks, API calls)\n4. Brief security notes\n\nMaintained by [@jeffallan](https:\/\/github.com\/jeffallan), Principal Consultant at [Synergetic Solutions](https:\/\/synergetic.solutions)\n\n[Documentation](https:\/\/jeffallan.github.io\/claude-skills\/skills\/security\/fullstack-guardian\/)\n","use_cases":["Implementing authenticated API endpoints with parameterized queries and output sanitization","Designing secure frontend components that handle errors and validate inputs","Creating technical design documents for non-trivial features","Preparing deliverables for handoff to QA and DevOps teams"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Jeffallan\/claude-skills\/blob\/a8be463010e2ca23afe00ea00773aea7128e8971\/plugin\/skills\/fullstack-guardian\/SKILL.md","source_commit":"a8be463010e2ca23afe00ea00773aea7128e8971","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:47:10.000000Z","updated_at":"2026-11-29T10:53:15.000000Z","seo_title":"Fullstack Security Development with Technical Design","seo_description":"Secure fullstack application development with a focus on frontend, backend, and security best practices. Includes technical design, code implementation, and security hard","seo_keywords":["fullstack security","secure api development","technical design document","parameterized queries","output sanitization","frontend validation","security checklist"]}}