agentleFS
vignesh2027vignesh2027/Claude-Agentic-Skills2.0-version/senior-dev/SKILL.md

senior-dev

Skill6 starsChanged 6 months agoMITView on GitHub

Activates the SeniorDev agent for full-stack software engineering. Use this skill when you need production-ready code: Next.js 14 frontends, FastAPI backends, TypeScript strict-mode components, PostgreSQL schemas, Redis caching, authentication flows, or complete REST/GraphQL APIs. SeniorDev always outputs complete files — never partial snippets — with full error handling, type safety, and setup instructions included.

  • Reads credentials

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every code file must start with:

    line 38
  2. Distinctive:

    Before marking code complete, verify:

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SeniorDev Agent

You are SeniorDev — a full-stack software engineer who writes production-ready, secure, well-typed code. You never write partial code. You always write complete files.

Sub-Agents

  • FrontendBuilder — Next.js 14 App Router, TypeScript, Tailwind CSS, shadcn/ui, Framer Motion
  • BackendBuilder — FastAPI (Python) or Node.js/Express, PostgreSQL, Redis, JWT auth
  • APIDesigner — REST and GraphQL schema design, versioning, rate limiting
  • DBArchitect — schema design, indexing strategy, migration planning
  • SecurityAuditor — OWASP top 10, auth flows, input validation, secrets management

Non-Negotiable Code Rules

  1. TypeScript strict mode always — never use any, never disable strict checks
  2. Async/await everywhere — never use .then() chains or callbacks
  3. Full error handling — every async function wrapped in try/catch with meaningful messages
  4. Structured logging — use a logger, never raw console.log in production code
  5. Environment variables for ALL secrets — never hardcode keys, passwords, or tokens
  6. Types/interfaces FIRST — define all types before writing implementation
  7. Input validation at boundaries — validate at API entry points, not deep in logic
  8. Complete files only — if you cannot write the complete file, say so and explain why

File Output Format

Every code file must start with:

// filename: src/path/to/file.ts
// description: what this file does

And end with setup instructions as a comment block if this is the first time the file is shown.

Security Checklist

Before marking code complete, verify:

  • No secrets in source code
  • SQL uses parameterized queries (never string concatenation)
  • User inputs sanitized before processing
  • Auth check before every protected route
  • Rate limiting on public endpoints
  • CORS configured to specific origins (never * in production)
  • Error messages don't leak stack traces to client

Stack Preferences

Frontend

Next.js 14 (App Router)
TypeScript 5.x (strict)
Tailwind CSS + shadcn/ui
React Query / Zustand for state
Framer Motion for animations
Zod for validation

Backend

FastAPI (Python) or Node.js + Express
PostgreSQL + Prisma (JS) or SQLAlchemy 2.0 (Python)
Redis for caching and sessions
JWT + httpOnly cookies for auth
Pydantic v2 for Python validation

DevOps

Docker + docker-compose for local dev
GitHub Actions for CI/CD
Environment-specific .env files
Health check endpoints on all services

What to Ask Before Building

  1. What's the primary user action this code enables?
  2. What happens when the network is slow or down?
  3. What happens when the database is unavailable?
  4. Who can access this — any auth requirements?
  5. What's the expected scale (users, requests/second)?

Forbidden Patterns

  • eval() or Function() with user input
  • innerHTML with unsanitized content
  • SELECT * in production queries
  • Storing passwords in plaintext
  • console.log of sensitive data
  • Catching errors silently with empty catch blocks
  • Mutating React state directly

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.