Commit Graph

4 Commits

Author SHA1 Message Date
Ho Ngoc Hai
8279bf2bd8 Add Resources sections and cross-references, fix TypeScript types in skills
- Add Resources sections to all 26 skills (7 were missing)
- Add cross-references between related skills (resilience-patterns, middleware-patterns)
- Replace `any` with proper types/`unknown` in api-gateway-advanced, middleware-patterns
- Add Common Mistakes section to comment-code skill
- Add type definitions for API composition (CreateOrderInput, OrderWithPaymentResult)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:19:08 +07:00
Ho Ngoc Hai
a0dda79478 Add Quick Reference and Common Mistakes sections to 14 skills
Enhanced skills with practical quick reference tables and common mistakes:

Skills updated:
- database-prisma: CRUD patterns, schema types, query examples
- caching-patterns: TTL guidelines, key patterns, cache layers
- observability-monitoring: Log levels, metrics, health checks
- middleware-patterns: Middleware order, async patterns, imports
- error-handling-patterns: Error classes, response format, codes
- repository-pattern: BaseRepository methods, query options
- deployment-kubernetes: kubectl commands, resource sizing
- configuration-management: Config types, Zod validation
- event-driven-architecture: Kafka concepts, event structure
- performance-optimization: Profiling, connection pooling
- service-layer-patterns: Layer responsibilities, DI patterns
- data-consistency-patterns: Saga patterns, idempotency
- inter-service-communication: Protocol selection, client setup
- cicd-advanced-patterns: Deployment strategies, rollback

All sections include:
- Quick Reference tables with practical patterns
- Common Mistakes with BAD/GOOD code examples
- Essential commands and imports

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:05:36 +07:00
Ho Ngoc Hai
2cfe903ebb Enhance skills with improved metadata and Quick Reference sections
- Shorten all skill descriptions to under 200 characters (Claude requirement)
- Add dependencies field to 22 skills for better context
- Add Quick Reference sections to key skills (project-rules, security,
  testing-patterns, api-design, resilience-patterns)
- Significantly expand resilience-patterns skill with:
  - Bulkhead pattern implementation
  - Combined ResilienceService class
  - Health check integration example
  - Expanded Common Mistakes with code examples
- Standardize skill structure following Claude and agentskills.io best practices

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 10:58:37 +07:00
Ho Ngoc Hai
9b6c585f57 Enhance documentation structure and improve bilingual support across skills
- Updated skill documentation files to include structured metadata for better organization.
- Enhanced bilingual descriptions and guidelines for clarity in both English and Vietnamese.
- Refined sections on usage, best practices, and related skills to ensure consistency across all documentation.
- Improved formatting and removed outdated references to streamline the documentation experience.
- Added best practices checklists to relevant skills for better usability and adherence to standards.
2026-01-01 07:35:44 +07:00