Loading...
Loading...
Orchestrates complete project initialization by coordinating agent-folder-init, linter-formatter-init, husky-test-coverage, and other setup skills. Use this skill when starting a new project that needs full AI-first development infrastructure with code quality enforcement.
npx skill4agent add shipshitdev/library project-init-orchestrator| Order | Skill | Purpose | Required |
|---|---|---|---|
| 1 | | AI documentation & standards | Yes |
| 2 | | ESLint + Prettier + pre-commit | Yes |
| 3 | | Test coverage enforcement | Optional |
| 4 | | Backend/Frontend/Mobile scaffolding | Optional |
┌─────────────────────────────────────────────────────────────┐
│ PROJECT INIT ORCHESTRATOR │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PHASE 1: GATHER CONTEXT │
│ • Project name and path │
│ • Tech stack (Next.js, NestJS, Expo, Plasmo) │
│ • Package manager preference (bun, pnpm, npm) │
│ • Test coverage threshold (default: 80%) │
│ • Additional scaffolding needs │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PHASE 2: AGENT FOLDER INIT │
│ • Create .agents/ directory structure │
│ • Set up SESSIONS/, TASKS/, SYSTEM/ folders │
│ • Generate coding standards and rules │
│ • Copy agent configs (.claude/, .codex/, .cursor/) │
│ ──────────────────────────────────────────────────────────│
│ Invocation: │
│ python3 ~/.claude/skills/agent-folder-init/ │
│ agent-folder-init/scripts/scaffold.py │
│ --root /path/to/project │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PHASE 3: LINTER FORMATTER INIT │
│ • Detect project tech stack │
│ • Install ESLint + Prettier (or Biome) │
│ • Configure framework-specific rules │
│ • Set up lint-staged for pre-commit │
│ • Create .vscode/settings.json │
│ ──────────────────────────────────────────────────────────│
│ Invocation: │
│ Use linter-formatter-init skill guidance │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PHASE 4: HUSKY TEST COVERAGE (if tests exist) │
│ • Detect test runner (Jest, Vitest, Mocha) │
│ • Configure coverage thresholds │
│ • Add pre-commit hook for test coverage │
│ ──────────────────────────────────────────────────────────│
│ Invocation: │
│ Use husky-test-coverage skill guidance │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PHASE 5: PROJECT SCAFFOLD (optional) │
│ • Scaffold additional components if requested: │
│ - Backend (NestJS) │
│ - Frontend (Next.js) │
│ - Mobile (Expo) │
│ - Extension (Plasmo) │
│ ──────────────────────────────────────────────────────────│
│ Invocation: │
│ python3 ~/.claude/skills/project-scaffold/ │
│ project-scaffold/scripts/scaffold.py │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PHASE 6: VERIFICATION │
│ • Verify all configurations created │
│ • Run lint check (should pass) │
│ • Confirm git hooks installed │
│ • Generate setup summary │
└─────────────────────────────────────────────────────────────┘1. Ask for project context:
- Project path (default: current directory)
- Tech stack (Next.js, NestJS, Node.js, etc.)
- Package manager (bun, pnpm, npm)
- Test coverage threshold (default: 80%)
- Need additional scaffolding? (backend, frontend, mobile, extension)
2. Execute phases in order:
Phase 2 → Phase 3 → Phase 4 → Phase 5 (if needed) → Phase 6python3 ~/.claude/skills/agent-folder-init/agent-folder-init/scripts/scaffold.py --root /path/to/projectlinter-formatter-inithusky-test-coveragepython3 ~/.claude/skills/project-scaffold/project-scaffold/scripts/scaffold.pyPhases: 2, 3
Output:
├── .agents/
├── .eslintrc.js
├── .prettierrc
├── .husky/pre-commit (lint-staged)
└── .vscode/settings.jsonPhases: 2, 3, 4
Output:
├── .agents/
├── .eslintrc.js
├── .prettierrc
├── .husky/pre-commit (lint-staged + tests)
├── jest.config.js (coverage thresholds)
└── .vscode/settings.jsonPhases: 2, 3, 4, 5
Output:
├── .agents/
├── apps/
│ ├── web/ (Next.js)
│ ├── api/ (NestJS)
│ ├── mobile/ (Expo)
│ └── extension/ (Plasmo)
├── packages/
│ └── shared/
├── .eslintrc.js
├── .prettierrc
├── .husky/pre-commit
└── .vscode/settings.jsonproject-root/
├── .agents/ # AI-first documentation
│ ├── SESSIONS/ # Daily session logs
│ ├── TASKS/ # Task tracking
│ │ └── INBOX.md
│ ├── SYSTEM/ # Architecture docs
│ │ ├── ARCHITECTURE.md
│ │ └── RULES.md
│ └── README.md
│
├── .claude/ # Claude Code configs
│ ├── commands/
│ ├── rules/
│ └── skills/
│
├── .husky/ # Git hooks
│ └── pre-commit # Runs lint-staged + tests
│
├── .vscode/ # Editor settings
│ └── settings.json # Format on save
│
├── .eslintrc.js # ESLint configuration
├── .prettierrc # Prettier configuration
├── .lintstagedrc # Lint-staged configuration
│
└── [app directories if scaffolded].agents/npm run lintbun lintnpm run formatbun formatI'll initialize your project with full AI-first infrastructure.
Let me gather some context:
1. Tech stack: [Next.js / NestJS / Node.js / Other]
2. Package manager: [bun / pnpm / npm]
3. Test coverage threshold: [80% default]
4. Need scaffolding? [backend / frontend / mobile / extension]
[After user responds]
Starting orchestration...
✓ Phase 2: Agent Folder Init
- Created .agents/ with 13 files
- Copied agent configs (.claude/, .codex/, .cursor/)
✓ Phase 3: Linter Formatter Init
- Detected: Next.js + TypeScript
- Installed: eslint, prettier, lint-staged
- Created: .eslintrc.js, .prettierrc, .lintstagedrc
✓ Phase 4: Husky Test Coverage
- Detected: Jest
- Set threshold: 80%
- Added pre-commit hook
✓ Phase 6: Verification
- All configs created ✓
- Lint check passed ✓
- Git hooks installed ✓
Project initialized successfully!nodepython3npm run lint:fix.eslintrc.jsnpx husky install.husky/pre-commitprepare