┌─────────────────────────────────────────────────────────────────┐
│ │
│ ___ ____ __ __ __________ │
│ / | / _/ / //_// _/_ __/ │
│ / /| | / /_____/ ,< / / / / │
│ / ___ |_/ /_____/ /| |_/ / / / │
│ /_/ |_/___/ /_/ |_/___/ /_/ │
│ │
│ Convention packs for any AI coding tool. │
│ by @smicolon │
│ │
├───────────────┬────────────────┬────────────────┬───────────────┤
│ 29 Agents │ 43 Skills │ 29 Commands │ 15 Tools │
├───────────────┴────────────────┴────────────────┴───────────────┤
│ │
│ Django · NestJS · Next.js · Nuxt.js · Hono · Flutter │
│ TanStack Router · Better Auth · Infisical · Architect │
│ │
└─────────────────────────────────────────────────────────────────┘
Convention packs for any AI coding tool. Install agents, skills, commands, rules, and hooks for 15 AI tools including Claude Code, Cursor, Windsurf, Copilot, and more.
14 packs for Django, NestJS, Next.js, Nuxt.js, Hono, TanStack Router, Better Auth, Infisical, Flutter, system architecture, dev loops, failure memory, worktree management, and engineer onboarding.
# Homebrew (macOS/Linux — no dependencies)
brew install smicolon/tap/ai-kit
# Or standalone binary (no dependencies)
curl -fsSL https://raw.githubusercontent.com/smicolon/ai-kit/main/scripts/install.sh | sh
# Or via npm (requires Node.js 22+)
npx @smicolon/ai-kit@latest init# Interactive setup — pick your AI tools and stack
ai-kit init
# Or non-interactively
ai-kit add django
ai-kit add django --skills-only
ai-kit add django --tools claude-code,cursor# Add marketplace (one-time)
/plugin marketplace add https://github.com/smicolon/ai-kit
# Install packs
/plugin install django # Django (5 agents)
/plugin install hono # Hono Edge (4 agents)
/plugin install tanstack-router # TanStack SPA (3 agents)
# Or install everything
/plugin install django nestjs nextjs nuxtjs hono tanstack-router better-auth infisical flutter architect dev-loop failure-log onboard- 14 Available Plugins
- What You Get
- Installation Methods
- Usage Examples
- Conventions Enforced
- Repository Structure
- Customization
- Updates
- For Companies
- Troubleshooting
Django backend development with Python
/plugin install djangoAgents:
@django-architect- System architecture design@django-builder- Feature implementation@django-feature-based- Large-scale feature-based architecture@django-tester- Test writing (90%+ coverage target)@django-reviewer- Security and code review
Commands:
/model-create- Create Django models with Smicolon conventions/api-endpoint- Generate complete REST API endpoints/test-generate- Generate comprehensive tests (90%+ coverage)
Skills (Auto-Enforcing):
import-convention-enforcer- Auto-fixes to absolute modular importsmodel-entity-validator- Ensures UUID, timestamps, soft deletesecurity-first-validator- Checks permissions, authentication, validationtest-coverage-advisor- Suggests missing tests for 90%+ coverageperformance-optimizer- Detects N+1 queries, missing indexesmigration-safety-checker- Validates safe database migrationstest-validity-checker- Ensures test qualityred-phase-verifier- Verifies TDD red phase
NestJS backend development with TypeScript
/plugin install nestjsAgents:
@nestjs-architect- Backend architecture design@nestjs-builder- Feature implementation@nestjs-tester- Test writing
Commands:
/module-create- Create complete NestJS modules
Skills (Auto-Enforcing):
barrel-export-manager- Auto-creates and maintains index.ts exportsimport-convention-enforcer- Enforces absolute imports from barrel exports
Next.js frontend development with React
/plugin install nextjsAgents:
@nextjs-architect- Frontend architecture@nextjs-modular- Large-scale modular architecture@frontend-visual- Visual QA (Playwright + Figma MCP)@frontend-tester- Testing (unit/integration/E2E/accessibility)
Commands:
/component-create- Create React/Next.js components
Skills (Auto-Enforcing):
accessibility-validator- WCAG 2.1 AA compliancereact-form-validator- React Hook Form + Zod enforcementimport-convention-enforcer- Path alias (@/) enforcement
Nuxt.js frontend development with Vue 3
/plugin install nuxtjsAgents:
@nuxtjs-architect- Vue 3 architecture@frontend-visual- Visual QA (Playwright + Figma MCP)@frontend-tester- Testing (unit/integration/E2E/accessibility)
Commands:
/component-create- Create Vue 3/Nuxt.js components
Skills (Auto-Enforcing):
accessibility-validator- WCAG 2.1 AA complianceveevalidate-form-validator- VeeValidate + Zod enforcementimport-convention-enforcer- ~/ path alias enforcement
System architecture and diagram-as-code
/plugin install architectAgent:
@system-architect- Eraser.io diagrams (ERD, flowcharts, cloud, sequence, BPMN)
Commands:
/diagram-create- Create system diagrams with Eraser.io
Autonomous development loops for iterative coding
/plugin install dev-loopCommands:
/dev-loop- Start autonomous development loop (Red-Green-Refactor)/cancel-dev- Cancel active development loop
Hooks:
- Automatic continuation logic for iterative development
Persistent failure memory that prevents repeating mistakes
/plugin install failure-logCommands:
/failure-add- Log a mistake to prevent repeating it/failure-list- View all logged failures
Skills:
failure-log-manager- Knowledge for reading/writing failure logs
Features:
- Automatic context injection of known mistakes
- Semi-automatic failure detection on Write/Edit
- Project-specific storage in
.claude/failure-log.local.md - Categories: imports, security, testing, architecture, conventions
Flutter mobile development with Fastlane automation
/plugin install flutterAgents:
@flutter-architect- Mobile app architecture design@flutter-builder- Feature implementation@release-manager- App Store/Play Store publishing
Commands:
/flutter-build- Build iOS/Android apps/flutter-test- Run tests with coverage/flutter-deploy- Deploy to stores via Fastlane/fastlane-setup- Initialize Fastlane configuration/signing-setup- Configure code signing
Skills (Auto-Enforcing):
flutter-architecture- Clean architecture patternsfastlane-knowledge- Fastlane automation expertisestore-publishing- App Store/Play Store guidelines
Hono Edge framework for Bun and Cloudflare Workers
/plugin install honoAgents:
@hono-architect- Edge API architecture design@hono-builder- Route and middleware implementation@hono-tester- Test writing with Bun test/Vitest@hono-reviewer- Security and performance review
Commands:
/route-create- Create routes with handlers and validators/middleware-create- Create typed middleware/project-init- Initialize Hono project (Bun/CF Workers)/rpc-client- Generate type-safe RPC client
Skills (Auto-Enforcing):
hono-patterns- Routing, handlers, middleware patternscloudflare-bindings- D1, KV, R2 integrationzod-validation- Request validation with Zodrpc-typesafe- Type-safe client-server communication
TanStack Router SPA development with React
/plugin install tanstack-routerAgents:
@tanstack-architect- SPA architecture design@tanstack-builder- Feature implementation@tanstack-tester- Testing strategies
Commands:
/route-create- Create type-safe routes/query-create- Create TanStack Query hooks/form-create- Create TanStack Form with validation/table-create- Create TanStack Table components
Skills (Auto-Enforcing):
router-patterns- File-based routing patternsquery-patterns- Data fetching and cachingform-patterns- Form handling with validationtable-patterns- Data table componentsvirtual-patterns- Virtualized listsstore-patterns- State managementdb-patterns- Client-side databaseai-patterns- AI/LLM integrationpacer-patterns- Rate limiting and debouncingdevtools-patterns- Developer toolingtanstack-conventions- Project conventions
Better Auth authentication integration
/plugin install better-authAgents:
@auth-architect- Authentication architecture design
Commands:
/auth-setup- Initialize Better Auth configuration/auth-provider-add- Add OAuth providers
Skills (Auto-Enforcing):
better-auth-patterns- Authentication patternsauth-security- Security best practices
MCP Integration:
- Better Auth MCP server for documentation access
Infisical secret management for cloud and self-hosted instances
/plugin install infisicalAgent:
@infisical-ops- Secret management operations, auth configuration, CLI guidance, CI/CD integration
Commands:
/infisical-init- Initialize project with Infisical (install CLI, configure workspace)/infisical-auth- Configure authentication (user, machine, or CI context)/infisical-scan- Scan codebase for exposed secrets and hardcoded credentials/infisical-env-sync- Export/sync secrets to .env files or other formats/infisical-ci-setup- Generate CI/CD pipeline configs (GitHub, GitLab, CircleCI, Jenkins, Bitbucket)
Skills (Auto-Enforcing):
infisical-patterns- Secret naming, folder organization, auth selection, local dev workflowsinfisical-ci-integration- CI/CD pipeline secret injection patternssecret-hygiene- Detects hardcoded secrets, enforces .env best practices
Intelligent engineer onboarding with personalized guidance
/plugin install onboardCommand:
/onboard- Interactive onboarding flow (skill assessment, project analysis, task planning)
Agents:
@onboard-guide- Ongoing personalized Q&A after onboarding
Skills (Auto-Enforcing):
onboard-context-provider- Personalizes explanations based on engineer's background
Each plugin includes agents specialized for that tech stack with deep knowledge of:
- Architecture patterns
- Best practices
- Testing strategies
- Security requirements
- Performance optimization
Skills automatically activate based on context:
- Import Convention Enforcers - Auto-fix import patterns per framework
- Model/Entity Validators - Ensure required fields (UUID, timestamps)
- Security Validators - Check permissions, guards, validation
- Form Validators - Enforce React Hook Form/VeeValidate/TanStack Form + Zod
- Accessibility Validators - WCAG 2.1 AA compliance
- Performance Optimizers - Detect N+1, missing indexes
- Test Validators - Quality checks, TDD phase verification
- Failure Log Manager - Persistent memory of mistakes to avoid
- Edge Framework Patterns - Hono, Cloudflare bindings, RPC
- TanStack Ecosystem - Router, Query, Form, Table, Virtual
- Authentication Patterns - Better Auth, OAuth, sessions
- Secret Management - Infisical patterns, CI integration, secret hygiene
- Mobile Development - Flutter architecture, Fastlane, store publishing
Slash commands provide step-by-step interactive workflows:
/model-create- Django model generation/api-endpoint- Complete API endpoint scaffolding/test-generate- Comprehensive test generation/module-create- NestJS module scaffolding/component-create- React/Vue component creation (Next.js & Nuxt.js)/diagram-create- System diagram generation/dev-loop- Autonomous development loop/dev-plan- Generate TDD development plan/cancel-dev- Cancel development loop/failure-add- Log a mistake to avoid/failure-list- View logged failures/route-create- Hono/TanStack route creation/middleware-create- Hono middleware creation/project-init- Initialize Hono project/rpc-client- Generate type-safe RPC client/query-create- TanStack Query hooks/form-create- TanStack Form components/table-create- TanStack Table components/flutter-build- Build Flutter apps/flutter-test- Run Flutter tests/flutter-deploy- Deploy to app stores/fastlane-setup- Initialize Fastlane/signing-setup- Configure code signing/auth-setup- Initialize Better Auth/infisical-init- Initialize Infisical workspace/infisical-auth- Configure auth method/infisical-scan- Scan for exposed secrets/infisical-env-sync- Sync secrets to .env/infisical-ci-setup- Generate CI/CD pipeline configs
Pre-built orchestration workflows in workflows/:
feature-development.md- End-to-end feature development (6 phases)code-review.md- Comprehensive code review workflow (6 phases)
Hooks automatically enforce company standards:
- ✅ Import patterns (absolute imports with aliases)
- ✅ Model structure (UUID, timestamps, soft deletes)
- ✅ Type safety (strict TypeScript, Python type hints)
- ✅ Security (permissions, guards, validation)
- ✅ Testing requirements (80-90% coverage)
- ✅ Accessibility (WCAG 2.1 AA)
Frontend plugins integrate with:
- Playwright MCP - Automated browser testing
- Figma MCP - Design comparison and validation
See MCP_SETUP.md for setup instructions.
brew install smicolon/tap/ai-kitZero dependencies. Auto-updates with brew upgrade.
curl -fsSL https://raw.githubusercontent.com/smicolon/ai-kit/main/scripts/install.sh | shDownloads a self-contained binary to /usr/local/bin. Override with AI_KIT_INSTALL_DIR=~/.local/bin.
npx @smicolon/ai-kit@latest initRequires Node.js 22+.
# Interactive setup — pick your tools and stack
ai-kit init
# Add packs
ai-kit add django
ai-kit add nextjs --skills-only
# Manage packs
ai-kit list # available packs
ai-kit list --installed # installed packs
ai-kit update # update all
ai-kit remove django # remove a pack
ai-kit search auth # search packs
# Cache management
ai-kit cache clear # force re-download on next run
# Options
ai-kit --no-cache add django # skip cache, fetch latest
ai-kit --branch dev list # use a specific branch
# Monorepo support
ai-kit init --cwd apps/web
ai-kit add django --cwd apps/web/plugin marketplace add https://github.com/smicolon/ai-kit
/plugin install django
/plugin update django| Tool | Skills | Agents | Commands | Rules | Hooks |
|---|---|---|---|---|---|
| Claude Code | yes | yes | yes | yes | yes |
| Cursor | yes | - | - | yes (.mdc) | - |
| Windsurf | yes | - | - | yes | - |
| GitHub Copilot | yes | yes | - | - | - |
| Codex | yes | yes | - | - | - |
| Cline | yes | - | - | yes | - |
| Continue | yes | - | - | yes | - |
| Gemini | yes | yes | - | - | - |
| Junie | yes | - | - | yes | - |
| Kiro | yes | - | - | yes | - |
| Amp | yes | yes | - | - | - |
| Antigravity | yes | - | - | yes | - |
| Augment | yes | - | - | yes | - |
| Roo Code | yes | - | - | yes | - |
| Amazon Q | yes | - | - | yes | - |
# Architecture phase
@django-architect "Design a payment processing system with subscriptions"
# Implementation phase
@django-builder "Implement the payment system with Stripe integration"
# Testing phase
@django-tester "Write tests for payment processing (90%+ coverage)"
# Review phase
@django-reviewer "Review payment code for security vulnerabilities"# Architecture phase
@nextjs-architect "Design a dashboard with real-time analytics"
# Large-scale architecture
@nextjs-modular "Design modular architecture for e-commerce platform"
# Testing phase
@frontend-tester "Write comprehensive tests for dashboard"
# Visual QA (with Playwright + Figma MCP)
@frontend-visual "Verify dashboard matches Figma design"# Backend
/plugin install django
@django-architect "Design REST API for inventory management"
# Frontend
/plugin install nextjs
@nextjs-architect "Design admin dashboard consuming the API"
# System design
/plugin install architect
@system-architect "Create system architecture diagram showing frontend, API, and database"Import Pattern:
# ✅ CORRECT - Absolute modular imports with aliases
import users.models as _users_models
import users.services as _users_services
user = _users_models.User.objects.get(id=user_id)
# ❌ WRONG
from .models import User
from users.models import UserModel Pattern:
import uuid
from django.db import models
class YourModel(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
is_deleted = models.BooleanField(default=False)Required:
- UUID primary keys
- Timestamps (created_at, updated_at)
- Soft deletes (is_deleted)
- Service layer for business logic
- Type hints on all functions
- Permission classes on all views
Import Pattern:
// ✅ CORRECT - Absolute imports from barrel exports
import { User } from "src/users/entities";
import { UsersService } from "src/users/services";
// ❌ WRONG
import { User } from "./entities/user.entity";Entity Pattern:
@Entity("users")
export class User {
@PrimaryGeneratedColumn("uuid")
id: string;
@CreateDateColumn()
createdAt: Date;
@UpdateDateColumn()
updatedAt: Date;
@DeleteDateColumn()
deletedAt?: Date;
}Required:
- UUID primary keys
- Timestamps (createdAt, updatedAt)
- Soft deletes (deletedAt)
- DTOs with class-validator
- Guards on protected routes
- Barrel exports (index.ts) in all folders
Next.js:
- TypeScript strict mode (no
any) - Zod validation for all forms
- TanStack Query for API calls
- Proper error and loading states
- Tailwind CSS
- WCAG 2.1 AA accessibility
Nuxt.js:
- TypeScript strict mode
- Vue 3 Composition API (
<script setup lang="ts">) - VeeValidate + Zod for forms
- Nuxt composables (useFetch, useAsyncData)
- Pinia for state management
- WCAG 2.1 AA accessibility
ai-kit/
├── .claude-plugin/
│ └── marketplace.json # Pack metadata (single source of truth)
├── packages/
│ └── cli/ # @smicolon/ai-kit CLI (npm + standalone binary)
│ └── src/
│ ├── index.ts # CLI entry (commander)
│ ├── commands/ # init, add, list, remove, update, cache
│ ├── converters/ # Rule format converters (e.g., .md → .mdc)
│ ├── installer.ts # Copy, symlink, hook rewrite
│ ├── discovery.ts # Resolve packs (local or GitHub cache)
│ ├── registry.ts # GitHub tarball download + caching
│ ├── tools.ts # 15 AI tool registry
│ └── config.ts # .ai-kit.json management
├── scripts/
│ └── install.sh # curl install script for standalone binary
├── packs/
│ ├── django/ # 5 agents, 3 commands, 8 skills, 6 rules
│ ├── nestjs/ # 3 agents, 1 command, 2 skills, 4 rules
│ ├── nextjs/ # 4 agents, 1 command, 3 skills, 3 rules
│ ├── nuxtjs/ # 3 agents, 1 command, 3 skills, 3 rules
│ ├── hono/ # 4 agents, 4 commands, 4 skills
│ ├── tanstack-router/ # 3 agents, 4 commands, 11 skills
│ ├── better-auth/ # 1 agent, 2 commands, 2 skills
│ ├── flutter/ # 3 agents, 5 commands, 3 skills
│ ├── architect/ # 1 agent, 1 command
│ ├── dev-loop/ # 3 commands, 1 skill, 1 hook
│ ├── failure-log/ # 2 commands, 1 skill, 1 hook
│ ├── worktree/ # 1 command, 1 skill
│ ├── onboard/ # 1 agent, 1 command, 1 skill
│ └── infisical/ # 1 agent, 5 commands, 3 skills
├── workflows/ # Multi-agent orchestration workflows
└── .github/workflows/ # CI + release (changesets → npm)
Create .claude/custom/project-context.md in your project:
# My Project
## Tech Stack
- Django 5.0 + PostgreSQL
- Next.js 15 + TypeScript
## Custom Rules
- Use Redis for session storage
- All API endpoints require JWT
- Rate limiting: 100 requests/minute
## Environment
\```bash
python manage.py migrate
npm run dev
\```For Companies: Fork this repository to create your own standards!
- Fork https://github.com/smicolon/ai-kit
- Customize agents in
packs/*/agents/ - Modify hooks in
packs/*/hooks/ - Update plugin names and descriptions
- Distribute to team:
# Team members install from your fork
/plugin marketplace add yourcompany https://github.com/yourcompany/ai-kit
/plugin install yourcompany-django# CLI
ai-kit update # update all packs
ai-kit update django # update one pack
# Homebrew
brew upgrade ai-kit
# Claude Code plugin
/plugin update django-
Fork this repository
git clone https://github.com/smicolon/ai-kit.git your-company-standards
-
Customize
- Edit
packs/*/agents/for your conventions - Modify
packs/*/hooks/for your standards - Update
.claude-plugin/marketplace.json
- Edit
-
Distribute
# Push to your GitHub git push origin main # Team installs /plugin marketplace add yourcompany https://github.com/yourcompany/standards /plugin install yourcompany-django
Work on multiple features simultaneously with separate Claude sessions:
# Main project
cd ~/projects/your-app
# Create worktrees for parallel features
git worktree add ../your-app-auth feature/authentication
git worktree add ../your-app-payments feature/payments
# Each has independent Claude session
cd ../your-app-auth
claude @django-architect
# In another terminal
cd ../your-app-payments
claude @nestjs-builder# Check plugin is installed
/plugin list
# Reinstall if needed
/plugin uninstall django
/plugin install django
# Verify
/helpHooks are automatic with plugin installation. If hooks aren't working:
# Reinstall the plugin
/plugin uninstall django
/plugin install djangoInstall additional plugins:
# Add frontend to Django project
/plugin install nextjs
# Now you have Django + Next.js agents- MCP_SETUP.md - Playwright + Figma MCP integration setup
- Plugin READMEs - Each plugin has its own documentation in
packs/*/README.md
- Issues: GitHub Issues
- Custom Marketplace: Fork and customize
MIT
