shigakogen

Claude Code Nestjs — Development skill for Claude Code

Development community

A reusable .claude/ configuration kit for NestJS/TypeScript repositories — memory file, path-scoped rules, subagents, skills, hooks and a deliberately small MCP server list.

How to install Claude Code Nestjs

This entry records only its repository, not the path inside it, so there is no exact command to give. Open shigakogen/claude-code-nestjs and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Nestjs does

A reusable .claude/ configuration kit for NestJS/TypeScript repositories — memory file, path-scoped rules, subagents, skills, hooks and a deliberately small MCP server list.

Alternatives in Development

README

claude-code-nestjs

A reusable `.claude/` configuration kit for NestJS/TypeScript repositories — memory file, path-scoped rules, subagents, skills, hooks and a deliberately small MCP server list.

Built on one constraint: **the always-loaded context must stay small.** Everything else loads on demand.

[![ci](https://github.com/shigakogen/claude-code-nestjs/actions/workflows/ci.yml/badge.svg)](https://github.com/shigakogen/claude-code-nestjs/actions/workflows/ci.yml) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

🇻🇳 [Tiếng Việt](README.vi.md)


Install

git clone https://github.com/shigakogen/claude-code-nestjs.git ~/tools/claude-code-nestjs
cd ~/work/my-nest-service
~/tools/claude-code-nestjs/install.sh .

Preview first — nothing is written:

~/tools/claude-code-nestjs/install.sh . --dry-run

The installer is safe on an existing repo. It never overwrites a file that already exists (pass `--force` to override), and if you already have a `CLAUDE.md` it keeps yours and adds an `@.claude/CLAUDE.md` import line instead of clobbering it.

Then:

cp .env.mcp.example .env.mcp     # fill GITLAB_API_URL, GITLAB_TOKEN, LOCAL_DB_DSN
set -a; source .env.mcp; set +a
claude

Inside the session run `/onboard`. It reads the codebase and proposes the exact lines to correct in `CLAUDE.md` — real module names, real npm scripts, real modules. **Do this before anything else**; the generated file is a starting point, not a finished one.

If this service calls or is called by other services (REST, Kafka, RabbitMQ, Redis pub/sub, WebSocket/socket.io), run the `update-service-map` skill next — it greps the code for outbound calls and inbound listeners and proposes `SERVICE_MAP.md`'s content for you to confirm. Skip it for a standalone service with no inter-service traffic.

Once `SERVICE_MAP.md` is stable, run `/service-flow` for a Mermaid diagram of the service's *internal* processing flow (entry point → processing →