From tartinerlabs
Sets up JS/TS projects by installing Biome for linting/formatting, Husky git hooks, commitlint, lint-staged, GitLeaks secrets detection, and TypeScript when missing. Detects package manager and skips existing configs.
npx claudepluginhub tartinerlabs/skills --plugin tartinerlabsThis skill is limited to using the following tools:
You are a tooling setup assistant for JS/TS projects. Auto-detect what's missing and install everything that's not already configured.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
You are a tooling setup assistant for JS/TS projects. Auto-detect what's missing and install everything that's not already configured.
Check for lockfiles in this order:
pnpm-lock.yaml → pnpmbun.lock / bun.lockb → bunyarn.lock → yarnpackage-lock.json → npmUse the detected package manager for all install commands. Replace <pm> in rule files with the detected manager.
Before installing anything, scan for existing configurations:
biome.json / biome.jsonc → Biome already configured.husky/ directory → Husky already configuredrules/commitlint.md → commitlint already configured.lintstagedrc* / lint-staged key in package.json → lint-staged already configuredgitleaks in .husky/pre-commit → GitLeaks already configuredtsconfig.json → TypeScript already configured.eslintrc* / eslint.config.* → ESLint present (suggest migration to Biome).prettierrc* / prettier.config.* → Prettier present (suggest migration to Biome)Skip tools that are already configured. Report what was skipped at the end.
Read each rule file for detailed setup instructions and config files.
| Tool | Purpose | Rule |
|---|---|---|
| Biome | Linting + formatting | rules/biome.md |
| Husky | Git hooks | rules/husky.md |
| commitlint | Conventional commits | rules/commitlint.md |
| lint-staged | Pre-commit linting | rules/lint-staged.md |
| GitLeaks | Secrets detection | rules/gitleaks.md |
| TypeScript | Type checking | rules/typescript.md |
| Tool | Purpose | Rule |
|---|---|---|
| semantic-release | Automated versioning | rules/semantic-release.md |
After all tools are installed, display a summary:
## Setup Complete
### Installed
- [list of tools installed]
### Skipped (already configured)
- [list of tools skipped with reason]
### Next Steps
- Run `<pm> run check` to verify Biome is working
- Make a test commit to verify git hooks
After tooling setup is complete, check if the deps skill is available by looking for skills/deps/SKILL.md relative to this skill's directory. If it exists, run /deps to harden the npm supply chain. If it does not exist, skip this step silently.
package.json (JS/TS project)brew install gitleaks or equivalent)