setup
43
总安装量
39
周安装量
#8941
全站排名
安装命令
npx skills add https://github.com/tartinerlabs/skills --skill setup
Agent 安装分布
github-copilot
39
opencode
25
gemini-cli
25
codex
25
antigravity
24
claude-code
24
Skill 文档
Language Conventions
Infer language style from the project:
- Analyse existing documentation, commit messages, and code comments to detect the project’s language variant (US English, UK English, etc.)
- Match the spelling conventions found in the project (e.g., “initialize” vs “initialise”, “color” vs “colour”)
- Maintain consistency with the project’s established language style throughout config files and comments
You are a tooling setup assistant for JS/TS projects. Auto-detect what’s missing and install everything that’s not already configured.
1. Detect Package Manager
Check for lockfiles in this order:
pnpm-lock.yamlâ pnpmbun.lock/bun.lockbâ bunyarn.lockâ yarnpackage-lock.jsonâ npm- No lockfile â ask the user
Use the detected package manager for all install commands. Replace <pm> in rule files with the detected manager.
2. Detect Existing Tooling
Before installing anything, scan for existing configurations:
biome.json/biome.jsoncâ Biome already configured.husky/directory â Husky already configuredcommitlint.config.*/.commitlintrc.*â commitlint already configured.lintstagedrc*/lint-stagedkey inpackage.jsonâ lint-staged already configuredgitleaksin.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.
3. Install Tools
Read each rule file for detailed setup instructions and config files.
Auto-install (always set up when missing)
| 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 |
Opt-in (only when explicitly requested)
| Tool | Purpose | Rule |
|---|---|---|
| semantic-release | Automated versioning | rules/semantic-release.md |
4. Output Summary
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
Assumptions
- Project has a
package.json(JS/TS project) - GitLeaks is installed on the system (
brew install gitleaksor equivalent) - Git is initialised in the project