{"_id":"@buivietphi/skill-backend-mt","_rev":"4-7a40878cde5748b0bc94a0d517737cd7","name":"@buivietphi/skill-backend-mt","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@buivietphi/skill-backend-mt","version":"1.0.0","keywords":["claude-code","claude-skill","cursor-rules","cline-rules","windsurf-rules","backend","nestjs","nextjs","express","fastapi","django","spring-boot","laravel","vuejs","react","nodejs","python","java","php","go","ruby","rust","ai-agent","ai-skill","clean-architecture","microservices","api-design","antigravity-skill","copilot","codex","gemini","kiro"],"author":{"name":"buivietphi"},"license":"MIT","_id":"@buivietphi/skill-backend-mt@1.0.0","maintainers":[{"name":"buivietphi","email":"buivietphii@gmail.com"}],"homepage":"https://github.com/buivietphi/skill-backend-mt#readme","bugs":{"url":"https://github.com/buivietphi/skill-backend-mt/issues"},"bin":{"skill-backend":"bin/install.mjs"},"dist":{"shasum":"d5f18d06142b648c2c3e4fe500633bcee2618eb7","tarball":"https://registry.npmjs.org/@buivietphi/skill-backend-mt/-/skill-backend-mt-1.0.0.tgz","fileCount":35,"integrity":"sha512-y+pmHqxslhB3fCE0o/xfXscgOr3javVOJkvnsmi87Neuw9F/nQcvPjvzQG7EPCeubfSV8T8PXnBoqoL23qOGVw==","signatures":[{"sig":"MEYCIQCXtnNmuwuQvwfEA1TfIpuI7w5JXX78obot8dquyasTdgIhAMH3+8fcuSgBOktWBcLfz6+5t2sdH9zocog7c/PHWIV3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":356445},"type":"module","gitHead":"8565fcfa577b2c7f8ae15e93b77e8e4476c719b4","scripts":{"init":"node bin/install.mjs --init","init:kiro":"node bin/install.mjs --init kiro","init:cline":"node bin/install.mjs --init cline","init:cursor":"node bin/install.mjs --init cursor","postinstall":"node bin/install.mjs --auto","init:copilot":"node bin/install.mjs --init copilot","init:windsurf":"node bin/install.mjs --init windsurf","install:codex":"node bin/install.mjs --codex","install:claude":"node bin/install.mjs --claude","install:gemini":"node bin/install.mjs --gemini","install:antigravity":"node bin/install.mjs --antigravity"},"_npmUser":{"name":"buivietphi","email":"buivietphii@gmail.com"},"repository":{"url":"git+https://github.com/buivietphi/skill-backend-mt.git","type":"git"},"_npmVersion":"10.8.2","description":"Master Senior Backend Engineer — AI agent skill with production patterns from 30+ top repos (200k+ GitHub stars). NestJS, Next.js, Express, Vue.js, Django, FastAPI, Spring Boot, Laravel, Go, Ruby, Rust. Trained from research of top 53k+ star skill repos +","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/skill-backend-mt_1.0.0_1772180328962_0.43938739278219496","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@buivietphi/skill-backend-mt","version":"1.1.0","keywords":["claude-code","claude-skill","cursor-rules","cline-rules","windsurf-rules","backend","nestjs","nextjs","express","fastapi","django","spring-boot","laravel","vuejs","react","nodejs","python","java","php","go","ruby","rust","ai-agent","ai-skill","clean-architecture","microservices","api-design","antigravity-skill","copilot","codex","gemini","kiro"],"author":{"name":"buivietphi"},"license":"MIT","_id":"@buivietphi/skill-backend-mt@1.1.0","maintainers":[{"name":"buivietphi","email":"buivietphii@gmail.com"}],"homepage":"https://github.com/buivietphi/skill-backend-mt#readme","bugs":{"url":"https://github.com/buivietphi/skill-backend-mt/issues"},"bin":{"skill-backend":"bin/install.mjs"},"dist":{"shasum":"e3b3953c5752d9cac1b561f6f7517230d6194125","tarball":"https://registry.npmjs.org/@buivietphi/skill-backend-mt/-/skill-backend-mt-1.1.0.tgz","fileCount":35,"integrity":"sha512-3L/VjEAVP9c+TBZM2Mf2bTKppMcyi5dTCAsAj2VdXZvhoyVT6buQNhP4GqhXr4g0L3qldmDauRW6pKzMmqoN0w==","signatures":[{"sig":"MEYCIQCG53Sk9m1BTosuPSSw27nSgn8oJeni53UP655aTJ9mfAIhAIy7iDVBHUPWw5BV+ox1ZbuoCYsgqdFz83QgPcp3aWzX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":372020},"type":"module","gitHead":"8bbc45571fbb4b10942be646f4cf3a8e48f34d19","scripts":{"init":"node bin/install.mjs --init","init:kiro":"node bin/install.mjs --init kiro","init:cline":"node bin/install.mjs --init cline","init:cursor":"node bin/install.mjs --init cursor","postinstall":"node bin/install.mjs --auto","init:copilot":"node bin/install.mjs --init copilot","init:windsurf":"node bin/install.mjs --init windsurf","install:codex":"node bin/install.mjs --codex","install:claude":"node bin/install.mjs --claude","install:gemini":"node bin/install.mjs --gemini","install:antigravity":"node bin/install.mjs --antigravity"},"_npmUser":{"name":"buivietphi","email":"buivietphii@gmail.com"},"repository":{"url":"git+https://github.com/buivietphi/skill-backend-mt.git","type":"git"},"_npmVersion":"10.8.2","description":"Master Senior Backend Engineer — AI agent skill with production patterns from 30+ top repos (200k+ GitHub stars). NestJS, Next.js, Express, Vue.js, Django, FastAPI, Spring Boot, Laravel, Go, Ruby, Rust. Trained from research of top 53k+ star skill repos +","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/skill-backend-mt_1.1.0_1772222333011_0.08150879725850202","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@buivietphi/skill-backend-mt","version":"1.1.1","keywords":["claude-code","claude-skill","cursor-rules","cline-rules","windsurf-rules","backend","nestjs","nextjs","express","fastapi","django","spring-boot","laravel","vuejs","react","nodejs","python","java","php","go","ruby","rust","ai-agent","ai-skill","clean-architecture","microservices","api-design","antigravity-skill","copilot","codex","gemini","kiro"],"author":{"name":"buivietphi"},"license":"MIT","_id":"@buivietphi/skill-backend-mt@1.1.1","maintainers":[{"name":"buivietphi","email":"buivietphii@gmail.com"}],"homepage":"https://github.com/buivietphi/skill-backend-mt#readme","bugs":{"url":"https://github.com/buivietphi/skill-backend-mt/issues"},"bin":{"skill-backend":"bin/install.mjs"},"dist":{"shasum":"211e0f92d31603f0bf191bab01796d0c1cc91327","tarball":"https://registry.npmjs.org/@buivietphi/skill-backend-mt/-/skill-backend-mt-1.1.1.tgz","fileCount":46,"integrity":"sha512-J2UGYPuMKsV5MFee5qEES3C8FlJdZVNuRWNU9UYgFhxB4qSSqisEILXFDiz6W3z8sstXQJWu6+KReAbwuIl0eQ==","signatures":[{"sig":"MEUCIQCGwHhuo/YEkqN8zWupXwgqOxGNsUNc3vYl4VzkjG1VLgIgR9tA+NhEHERQpWwKJnl2FGQRj2R4CFJ4YGFOtDUqkcQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":497875},"type":"module","gitHead":"7e07cdd4d5c943fede3650ad1c8ac19bc1aa1de0","scripts":{"init":"node bin/install.mjs --init","init:kiro":"node bin/install.mjs --init kiro","init:cline":"node bin/install.mjs --init cline","init:cursor":"node bin/install.mjs --init cursor","postinstall":"node bin/install.mjs --auto","init:copilot":"node bin/install.mjs --init copilot","init:windsurf":"node bin/install.mjs --init windsurf","install:codex":"node bin/install.mjs --codex","install:claude":"node bin/install.mjs --claude","install:gemini":"node bin/install.mjs --gemini","install:antigravity":"node bin/install.mjs --antigravity"},"_npmUser":{"name":"buivietphi","email":"buivietphii@gmail.com"},"repository":{"url":"git+https://github.com/buivietphi/skill-backend-mt.git","type":"git"},"_npmVersion":"10.8.2","description":"Master Senior Backend Engineer — AI agent skill with production patterns from 30+ top repos (200k+ GitHub stars). NestJS, Next.js, Express, Vue.js, Django, FastAPI, Spring Boot, Laravel, Go, Ruby, Rust. Trained from research of top 53k+ star skill repos +","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/skill-backend-mt_1.1.1_1772227057489_0.530206614375961","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@buivietphi/skill-backend-mt","version":"1.1.2","description":"Master Senior Backend Engineer — AI agent skill with production patterns from 30+ top repos (200k+ GitHub stars). NestJS, Next.js, Express, Vue.js, Django, FastAPI, Spring Boot, Laravel, Go, Ruby, Rust. Trained from research of top 53k+ star skill repos +","keywords":["claude-code","claude-skill","cursor-rules","cline-rules","windsurf-rules","backend","nestjs","nextjs","express","fastapi","django","spring-boot","laravel","vuejs","react","nodejs","python","java","php","go","ruby","rust","ai-agent","ai-skill","clean-architecture","microservices","api-design","antigravity-skill","copilot","codex","gemini","kiro"],"author":{"name":"buivietphi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/buivietphi/skill-backend-mt.git"},"homepage":"https://github.com/buivietphi/skill-backend-mt#readme","bugs":{"url":"https://github.com/buivietphi/skill-backend-mt/issues"},"type":"module","bin":{"skill-backend":"bin/install.mjs"},"scripts":{"postinstall":"node bin/install.mjs --auto","install:claude":"node bin/install.mjs --claude","install:codex":"node bin/install.mjs --codex","install:gemini":"node bin/install.mjs --gemini","install:antigravity":"node bin/install.mjs --antigravity","init":"node bin/install.mjs --init","init:cursor":"node bin/install.mjs --init cursor","init:cline":"node bin/install.mjs --init cline","init:windsurf":"node bin/install.mjs --init windsurf","init:copilot":"node bin/install.mjs --init copilot","init:kiro":"node bin/install.mjs --init kiro"},"_id":"@buivietphi/skill-backend-mt@1.1.2","gitHead":"5f4f4d4c9b42b40fd16cacf8e84adb314c97315e","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-yGSljrbqqU/yUBgZ3augVx9Ikws3OIzZarnUJxiOAkm9eeGLtvrnL0pg5Kk2cABSjDCywv71V4hSiHNpB8TBLQ==","shasum":"2a630408d2dfd642ddab5a88e1f76ae77fad7dbf","tarball":"https://registry.npmjs.org/@buivietphi/skill-backend-mt/-/skill-backend-mt-1.1.2.tgz","fileCount":47,"unpackedSize":542564,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIALWRGHxoersgurbBOL5MuAqDgaes2Meoqbo6W9yeSuXAiEAtI+iCe5RbWn/t4B/739TKTLUEFB7DVBV5eou9nDVLrU="}]},"_npmUser":{"name":"buivietphi","email":"buivietphii@gmail.com"},"directories":{},"maintainers":[{"name":"buivietphi","email":"buivietphii@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/skill-backend-mt_1.1.2_1772415760907_0.9036917749792011"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T08:18:48.848Z","modified":"2026-03-02T01:42:41.189Z","1.0.0":"2026-02-27T08:18:49.150Z","1.1.0":"2026-02-27T19:58:53.162Z","1.1.1":"2026-02-27T21:17:37.691Z","1.1.2":"2026-03-02T01:42:41.071Z"},"bugs":{"url":"https://github.com/buivietphi/skill-backend-mt/issues"},"author":{"name":"buivietphi"},"license":"MIT","homepage":"https://github.com/buivietphi/skill-backend-mt#readme","keywords":["claude-code","claude-skill","cursor-rules","cline-rules","windsurf-rules","backend","nestjs","nextjs","express","fastapi","django","spring-boot","laravel","vuejs","react","nodejs","python","java","php","go","ruby","rust","ai-agent","ai-skill","clean-architecture","microservices","api-design","antigravity-skill","copilot","codex","gemini","kiro"],"repository":{"type":"git","url":"git+https://github.com/buivietphi/skill-backend-mt.git"},"description":"Master Senior Backend Engineer — AI agent skill with production patterns from 30+ top repos (200k+ GitHub stars). NestJS, Next.js, Express, Vue.js, Django, FastAPI, Spring Boot, Laravel, Go, Ruby, Rust. Trained from research of top 53k+ star skill repos +","maintainers":[{"name":"buivietphi","email":"buivietphii@gmail.com"}],"readme":"# @buivietphi/skill-backend-mt\n\n> **Master Senior Backend Engineer** — AI agent skill with production patterns from 30+ top repos (200k+ GitHub stars).\n> Trained from research of top 53k+ star skill repos + system prompts from 7 major AI tools.\n\nWorks with: **Claude Code · Cline · Roo Code · Cursor · Windsurf · Copilot · Codex · Gemini · Kimi · Kilo Code · Kiro · Antigravity**\n\nSupports: **NestJS · Next.js · Express · Fastify · Vue.js · Nuxt · Django · FastAPI · Flask · Spring Boot · Laravel · Go · Ruby on Rails · Rust**\n\n---\n\n## Install\n\n```bash\n# Interactive (checkbox UI — pick your agents)\nnpx @buivietphi/skill-backend-mt\n\n# Specific agent\nnpx @buivietphi/skill-backend-mt --claude\nnpx @buivietphi/skill-backend-mt --codex\nnpx @buivietphi/skill-backend-mt --gemini\nnpx @buivietphi/skill-backend-mt --all\n\n# Project-level rules (Cursor, Windsurf, Cline, etc.)\nnpx @buivietphi/skill-backend-mt --init           # Interactive\nnpx @buivietphi/skill-backend-mt --init cursor     # Just .cursorrules\nnpx @buivietphi/skill-backend-mt --init all        # All agents\n```\n\n### What Happens\n\n```\n~/.claude/skills/\n  └── skill-backend-mt/\n      ├── SKILL.md              ← Entry point (auto-loaded)\n      ├── AGENTS.md\n      ├── nodejs/\n      │   ├── nestjs.md\n      │   ├── nextjs.md\n      │   ├── express.md\n      │   └── vuejs.md\n      ├── python/\n      │   ├── fastapi.md\n      │   └── django.md\n      ├── java/\n      │   └── spring-boot.md\n      ├── php/\n      │   └── laravel.md\n      ├── others/\n      │   └── go-ruby-rust.md\n      └── shared/               ← On-demand (28 files)\n```\n\n---\n\n## Usage\n\n### Default Mode (Pre-Built Patterns)\n```\n@skill-backend-mt\n> \"Create a user CRUD with JWT auth\"\n```\nUses production patterns from 30+ repos. Best for learning, new projects, generic advice.\n\n### Project Mode (Adapt to Your Codebase)\n```\n@skill-backend-mt project\n> \"Add an orders module\"\n```\nReads YOUR project first, clones existing patterns. Best for existing codebases.\n\n---\n\n## What's Included\n\n### Architecture Patterns\n- Clean Architecture, Hexagonal, DDD, CQRS\n- Module-based vs Layer-based structure\n- Monolith vs Microservices decision matrix\n- Reference repos: NestJS (70k+), Next.js (130k+), FastAPI (80k+), Spring Boot (76k+), Laravel (79k+), Django (82k+)\n\n### API Design\n- REST conventions (resources, verbs, status codes)\n- GraphQL schema design + N+1 prevention\n- gRPC proto patterns\n- WebSocket real-time patterns\n- Pagination (cursor-based vs offset)\n\n### Security (OWASP Top 10)\n- JWT + refresh token rotation\n- OAuth 2.0 / OpenID Connect\n- RBAC / ABAC authorization\n- SQL injection, XSS, CSRF prevention\n- Rate limiting, CORS, secret management\n\n### Database & Performance\n- ORM patterns (Prisma, TypeORM, SQLAlchemy, Eloquent, Spring Data, Mongoose)\n- Migration best practices\n- N+1 query detection and fix\n- Multi-level caching (Redis, in-memory, CDN)\n- Connection pooling, query optimization\n\n### Implementation Patterns (NEW in v1.3.0)\n- CRUD service generation (validate → authorize → execute → side effects → return DTO)\n- Error handling implementation (custom exceptions, global handler, retry + timeout)\n- Caching implementation (cache-aside, write-through, invalidation, stampede prevention)\n- Pagination & filtering (offset-based, cursor-based, sort security, filter whitelist)\n- Testing fixtures (factories, builders, mocks, integration test setup)\n- File upload & storage (S3, presigned URL, validation, image processing, cleanup)\n- Background jobs (BullMQ, Celery, retries, dead letter queue, CRON)\n- Webhook patterns (signature verification, deduplication, idempotent handlers)\n- Concurrency patterns (optimistic/pessimistic locking, distributed lock, idempotency keys)\n- Structured logging (Pino/structlog, correlation IDs, PII redaction)\n\n### Testing & CI/CD\n- Testing pyramid (70% unit / 20% integration / 10% E2E)\n- Per-framework testing (Jest, pytest, JUnit, PHPUnit)\n- Docker multi-stage builds\n- GitHub Actions CI templates\n- Deployment strategies (blue-green, canary, rolling)\n\n### Advanced AI Patterns\n- Cardinal Rules (10 inviolable rules for code quality)\n- Self-Critique Loop (re-read and verify before presenting)\n- Context Staleness Rule (re-read files after 5 messages)\n- Verification-First Pattern (read before suggesting)\n- Assumption-Driven Progress (don't block on non-critical choices)\n- Negative Space Pattern (check what you didn't write)\n- Batched Operations (group related file creation)\n- Error Recovery with Escalation (4-level escalation)\n- Leverage Pyramid (40% research, 30% planning, 20% implement, 10% verify)\n- Session State Tracking (never lose track of multi-file tasks)\n- Grounding Protocol (anti-hallucination with source hierarchy)\n- AI-DLC Workflow (4 Hats for complex features)\n- Multi-Part Execution Protocol (discover all locations → work plan → checkpoint)\n- Discovery-Execute Workflow (for \"fix all X\" / broad requests)\n- Intent Analysis Engine (AI self-parses vague/circular input without asking user)\n- Loop Detection & Self-Correction (detect repeated failures → change strategy automatically)\n\n### Intelligent Prompt Engineering\n- Auto-think templates (Fix/Debug, Build/Create, Review, Refactor, Multi-Part)\n- Source verification checklist\n- Context-needed declarations\n- Patterns learned from: Anthropic, Cursor, Lovable, Manus, Windsurf, Kiro, Replit system prompts\n\n---\n\n## Token Budget\n\n| Scenario | Tokens | % of 128K |\n|----------|-------:|----------:|\n| SKILL.md only | ~14,140 | 11.0% |\n| Core auto-load | ~29,740 | 23.2% |\n| **Smart load** (core + 1 framework) | **~31,740** | **24.8%** |\n| Multi-framework (3 frameworks) | ~35,740 | 27.9% |\n| Full load (all files) | ~106,340 | 83.1% |\n\n**Smart loading uses only 24.8% of context** — 75% free for actual code work.\n\n### Per-File Breakdown (bytes ÷ 4)\n\n| File | Bytes | Tokens |\n|------|------:|-------:|\n| SKILL.md | 56,573 | ~14,140 |\n| shared/code-review.md | 26,528 | ~6,630 |\n| shared/bug-detection.md | 22,209 | ~5,550 |\n| shared/architecture-intelligence.md | 18,494 | ~4,620 |\n| shared/intent-analysis.md | 17,270 | ~4,320 |\n| shared/crud-patterns.md | 15,445 | ~3,860 |\n| shared/prompt-engineering.md | 13,689 | ~3,420 |\n| shared/error-handling-impl.md | 11,554 | ~2,890 |\n| shared/api-design.md | 11,386 | ~2,850 |\n| shared/error-recovery.md | 11,096 | ~2,770 |\n| shared/testing-fixtures.md | 10,888 | ~2,720 |\n| shared/database-patterns.md | 10,789 | ~2,700 |\n| shared/ai-dlc-workflow.md | 9,371 | ~2,340 |\n| shared/pagination-patterns.md | 8,975 | ~2,240 |\n| shared/concurrency-patterns.md | 8,802 | ~2,200 |\n| shared/webhook-patterns.md | 8,496 | ~2,120 |\n| shared/logging-impl.md | 8,320 | ~2,080 |\n| shared/caching-implementation.md | 8,078 | ~2,020 |\n| shared/background-jobs.md | 7,732 | ~1,930 |\n| shared/file-handling.md | 7,646 | ~1,910 |\n| php/laravel.md | 9,031 | ~2,260 |\n| java/spring-boot.md | 8,977 | ~2,240 |\n| python/fastapi.md | 8,616 | ~2,150 |\n| python/django.md | 8,143 | ~2,040 |\n| nodejs/nestjs.md | 7,922 | ~1,980 |\n| nodejs/nextjs.md | 7,720 | ~1,930 |\n| shared/auth-security.md | 7,469 | ~1,870 |\n| shared/performance-optimization.md | 7,267 | ~1,820 |\n| others/go-ruby-rust.md | 7,195 | ~1,800 |\n| shared/microservices.md | 7,179 | ~1,800 |\n| nodejs/vuejs.md | 7,139 | ~1,790 |\n| shared/ci-cd.md | 7,051 | ~1,760 |\n| nodejs/express.md | 6,257 | ~1,560 |\n| shared/observability.md | 6,100 | ~1,530 |\n| shared/testing-strategy.md | 5,629 | ~1,410 |\n| shared/version-management.md | 4,923 | ~1,230 |\n| shared/common-pitfalls.md | 4,443 | ~1,110 |\n| humanizer/humanizer-backend.md | 3,923 | ~980 |\n| shared/agent-rules-template.md | 2,916 | ~730 |\n| shared/document-analysis.md | 2,236 | ~560 |\n| shared/claude-md-template.md | 1,878 | ~470 |\n\n---\n\n## Supported Agents\n\n| Agent | Type | Install |\n|-------|------|---------|\n| Claude Code | Skills directory | `--claude` |\n| Codex | Skills directory | `--codex` |\n| Gemini CLI | Skills directory | `--gemini` |\n| Kimi | Skills directory | `--kimi` |\n| Antigravity | Skills directory | `--antigravity` |\n| Cursor | Project-level | `--init cursor` |\n| Windsurf | Project-level | `--init windsurf` |\n| Cline | Project-level | `--init cline` |\n| Roo Code | Project-level | `--init roocode` |\n| Copilot | Project-level | `--init copilot` |\n| Kilo Code | Project-level | `--init kilocode` |\n| Kiro | Project-level | `--init kiro` |\n\n---\n\n## Companion Skill\n\n**humanizer-backend** is auto-installed alongside the main skill. It humanizes AI-generated code comments, API docs, and error messages.\n\n```\n@humanizer-backend\n> \"Humanize this API documentation\"\n```\n\n---\n\n## License\n\nMIT — by [buivietphi](https://github.com/buivietphi)\n","readmeFilename":"README.md"}