Setup Configurations¶
Overview¶
Setup configurations define which files datamitsu creates when you run dm setup.
These include dotfiles, tool configurations, AI instructions, and IDE settings.
This configuration includes 44 setup configs.
Setup Configs Reference¶
| File | Tools | Scope | Project Types | Link Target | Delete Only | Also Deletes |
|---|---|---|---|---|---|---|
.claude/skills/cleanup-agents-md/SKILL.md |
— | git-root | all | — | — | |
.claude/skills/setup-tsconfig/SKILL.md |
— | git-root | all | — | — | |
.codex/prompts/cleanup-agents-md.md |
— | git-root | all | — | — | |
.codex/prompts/setup-tsconfig.md |
— | git-root | all | — | — | |
.cursor/rules |
— | git-root | all | ../AGENTS.md |
— | |
.cursorrules |
— | git-root | all | AGENTS.md |
— | |
.datamitsu/scripts/check-empty-files.sh |
— | git-root | all | — | — | |
.datamitsu/scripts/format-terraform-spacing.sh |
— | git-root | terraform-project, terragrunt-project | — | — | |
.dockerignore |
— | git-root | all | — | — | |
.editorconfig |
editorconfig-checker |
git-root | all | — | — | |
.editorconfig-checker.json |
editorconfig-checker |
git-root | all | — | — | |
.github/copilot-instructions.md |
— | git-root | all | ../AGENTS.md |
— | |
.gitignore |
— | git-root | all | — | — | |
.gitleaks.toml |
gitleaks |
git-root | all | — | gitleaks.toml |
|
.golangci.yaml |
golangci-lint, golangci-lint-fmt |
project | golang-package | — | .golangci.yml.golangci.yaml.golangci.toml.golangci.json |
|
.node-version |
— | git-root | all | — | — | |
.npmrc |
— | git-root | npm-package | — | — | |
.oxlintrc.json |
oxlint |
project | npm-package | — | — | |
.syncpackrc.json |
syncpack |
git-root | npm-package | — | .syncpackrc.syncpackrc.json.syncpackrc.yaml.syncpackrc.yml.syncpackrc.js.syncpackrc.ts.syncpackrc.mjs.syncpackrc.cjssyncpack.config.jssyncpack.config.cjssyncpack.config.tssyncpack.config.mjs |
|
.tflint.hcl |
tflint |
git-root | terraform-project | — | — | |
.tombi.toml |
tombi |
git-root | all | — | tombi.toml.tombi.toml |
|
.trufflehog-exclude-paths.txt |
trufflehog |
git-root | all | — | — | |
.vale.ini |
vale |
git-root | all | — | _vale.inivale.ini |
|
.vscode/extensions.json |
— | git-root | all | — | — | |
.vscode/settings.json |
— | git-root | all | — | — | |
.windsurfrules |
— | git-root | all | AGENTS.md |
— | |
.yamlfmt.yaml |
yamlfmt |
git-root | all | — | .yamlfmtyamlfmt.ymlyamlfmt.yaml.yamlfmt.yml |
|
.yamllint.yaml |
yamllint |
git-root | all | — | .yamllint.yamllint.yml |
|
AGENTS.md |
— | git-root | all | — | — | |
CLAUDE.md |
— | git-root | all | AGENTS.md |
— | |
commitlint.config.mjs |
— | git-root | all | — | .commitlintrc.commitlintrc.json.commitlintrc.yaml.commitlintrc.yml.commitlintrc.js.commitlintrc.cjs.commitlintrc.mjs.commitlintrc.ts.commitlintrc.cts.commitlintrc.mtscommitlint.config.jscommitlint.config.cjscommitlint.config.mjscommitlint.config.tscommitlint.config.ctscommitlint.config.mts |
|
cspell.config.mjs |
cspell |
git-root | all | — | .cspell.config.yaml.cspell.config.ymlcspell.config.yamlcspell.config.yml.cspell.yaml.cspell.ymlcspell.yamlcspell.yml.cspell.jsoncspell.json.cSpell.jsoncSpell.json.cspell.jsonccspell.jsonc.cspell.config.json.cspell.config.jsonccspell.config.jsoncspell.config.jsonccspell.config.mjscspell.config.cjs.cspell.config.mjs.cspell.config.cjs.cspell.config.jscspell.config.mtscspell.config.tscspell.config.cts.cspell.config.mts.cspell.config.ts.cspell.config.ctscspell.config.toml.cspell.config.toml |
|
deprecated-configs |
— | project | all | — | ✓ | .babelrc.babelrc.jsbabel.config.js.lintstagedrc.lintstagedrc.json.lintstagedrc.yaml.lintstagedrc.yml.lintstagedrc.mjslint-staged.config.mjs.lintstagedrc.cjslint-staged.config.cjslint-staged.config.js.lintstagedrc.js.husky.taplo.tomltaplo.toml |
eslint.config.mjs |
eslint |
project | npm-package | — | eslint.config.jseslint.config.mjseslint.config.cjseslint.config.tseslint.config.mtseslint.config.cts.eslintrc.js.eslintrc.cjs.eslintrc.yaml.eslintrc.yml.eslintrc.json |
|
GEMINI.md |
— | git-root | all | AGENTS.md |
— | |
hadolint.yaml |
hadolint |
git-root | all | — | .hadolint.yamlhadolint.yaml.config/hadolint.yaml.hadolint/hadolint.yaml |
|
knip.config.js |
knip |
git-root | npm-package | — | knip.jsonknip.jsonc.knip.json.knip.jsoncknip.tsknip.jsknip.config.tsknip.config.js |
|
lefthook.yaml |
— | git-root | all | — | .lefthook.ymllefthook.yaml.config/lefthook.yml.lefthook.yaml.config/lefthook.yamllefthook.toml.lefthook.toml.config/lefthook.tomllefthook.json.lefthook.json.config/lefthook.json |
|
oxfmt.config.ts |
oxfmt |
git-root | all | — | .oxfmtrc.oxfmtrc.json.oxfmtrc.jsoncoxfmt.config.jsoxfmt.config.mjsoxfmt.config.cjsoxfmt.config.tsoxfmt.config.mtsoxfmt.config.cts |
|
package.json |
— | project | npm-package | — | — | |
pnpm-workspace.yaml |
— | git-root | pnpm-package | — | — | |
prettier.config.mjs |
prettier |
project | npm-package | — | .prettierrc.prettierrc.json.prettierrc.yml.prettierrc.yaml.prettierrc.json5.prettierrc.jsprettier.config.js.prettierrc.tsprettier.config.ts.prettierrc.mjsprettier.config.mjs.prettierrc.mtsprettier.config.mts.prettierrc.cjsprettier.config.cjs.prettierrc.ctsprettier.config.cts.prettierrc.toml |
|
pyproject.toml |
— | project | python-package | — | — | |
turbo.json |
— | git-root | turbo-package | — | — |
Field Descriptions¶
- File: The filename or path that will be created or managed
- Tools: The tool(s) this config belongs to.
dm setup --tools <name>writes only configs whose Tools include a selected name; configs with no Tools (—) are infrastructure — always written by a plaindm setup, skipped under--tools - Scope: Where the file is created:
git-root: Created at the repository rootproject: Created in each project directory (for monorepos)- Project Types: Which project types this config applies to (empty = all projects)
- Link Target: If present, creates a symlink to this target instead of a file
- Delete Only: If checked (✓), only removes files without creating new ones
- Also Deletes: Other filenames that will be removed when this config is applied
How Setup Works¶
When you run dm setup, datamitsu:
- Detects your project type (npm, Go, TypeScript, etc.)
- Filters configs by project type (configs with empty project types apply to all)
- For each config:
- If Delete Only is checked: removes the file and any files in Also Deletes
- If Link Target is set: creates a symlink to the target
- Otherwise: generates content and merges with existing files
- Preserves your customizations during updates