setup

Use when setting up a project, adding linting, formatting, git hooks, or TypeScript. Installs Biome, Husky, commitlint, lint-staged, and GitLeaks for JS/TS.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "setup" with this command: npx skills add tartinerlabs/skills/tartinerlabs-skills-setup

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:

  1. pnpm-lock.yamlpnpm
  2. bun.lock / bun.lockbbun
  3. yarn.lockyarn
  4. package-lock.jsonnpm
  5. 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 configured
  • commitlint.config.* / .commitlintrc.* → commitlint already configured
  • .lintstagedrc* / lint-staged key in package.json → lint-staged already configured
  • gitleaks in .husky/pre-commit → GitLeaks already configured
  • tsconfig.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)

ToolPurposeRule
BiomeLinting + formattingrules/biome.md
HuskyGit hooksrules/husky.md
commitlintConventional commitsrules/commitlint.md
lint-stagedPre-commit lintingrules/lint-staged.md
GitLeaksSecrets detectionrules/gitleaks.md
TypeScriptType checkingrules/typescript.md

Opt-in (only when explicitly requested)

ToolPurposeRule
semantic-releaseAutomated versioningrules/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 gitleaks or equivalent)
  • Git is initialised in the project

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-actions

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-issues

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

setup

No summary provided by upstream source.

Repository SourceNeeds Review
General

setup

No summary provided by upstream source.

Repository SourceNeeds Review