andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-3
Claude Code and agent skill by andersonamaral2/claude-code-to-deep-agents-skills-converter
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-3SKILL.md
Skill: Express.js JWT API with PostgreSQL and Docker
Builds a production-style Express.js REST API with JWT authentication, a PostgreSQL database, layered middleware, and Docker Compose for local development.
When to use
When the user asks to scaffold a secure Node.js/Express REST API with login/registration, protected routes, a relational database, and containerized local development.
Prerequisites
Make sure Node.js 18+ and npm are installed, plus Docker and Docker Compose for the database.
Set these environment variables (the app reads them at boot):
$JWT_SECRET— secret used to sign access tokens$DATABASE_URL— PostgreSQL connection string$PORT— port the API listens on (default 3000)
Steps
Initialize the project and install dependencies:
Create the file src/db.js for the PostgreSQL connection pool:
Create src/middleware/auth.js, a middleware that verifies the JWT in the Authorization: Bearer header:
Create src/middleware/logger.js, a simple request logger:
Create src/routes/auth.js with POST /auth/register and POST /auth/login. Register hashes the password with bcrypt and inserts the user; login verifies the password and returns a signed JWT.
Create src/routes/notes.js with CRUD endpoints (GET/POST/PUT/DELETE /notes) protected by the authRequired middleware, scoped to the authenticated user.
Create the main entry point src/index.js wiring everything together:
Create the database schema file db/init.sql:
Create docker-compose.yml for PostgreSQL:
Add a .env file:
Start the database with docker compose up -d, then run the API with npm run dev (add a dev script that runs nodemon src/index.js).
Test the full flow:
Document the project architecture and conventions in CLAUDE.md.
Notes
- Never commit real secrets — the
.envhere uses placeholders; replace before deploying. - Hash passwords with bcrypt (cost factor 10+); never store plaintext.
- Scope every
/notesquery byreq.user.idso users only see their own notes.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/claude-code-sample-3/SKILL.md
Popularity
- Repository stars
- 55
- Repository forks
- 8
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-3)