zekzekus/dotfiles/authoring-repo-tasks
Claude Code and agent skill by zekzekus/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Adds or standardizes Babashka-based repo tasks using bb.edn as the implementation source with a thin Makefile command facade. Use when a repository already uses Babashka, when bb.edn and Makefile tasks are duplicated or diverging, or when the user explicitly requests Babashka tasks.
Install
npx vskill@latest install zekzekus/dotfiles/authoring-repo-tasksSKILL.md
Authoring repo-local tasks
In a Babashka-based repository, task implementation (build, test, lint, run, format, release) lives in one source of truth — `bb.edn` — with a thin `Makefile` command facade. Logic goes in the bb task; the Makefile target is a one-line shim that calls it. Never duplicate real logic across the two.
When this applies
- Adding a task runner to a repo that has none, after Babashka has been selected
by local guidance or explicitly requested.
- The user explicitly asks to adopt Babashka tasks in a repo that currently has
only a Makefile.
- Task definitions are duplicated between
bb.ednandMakefileand have drifted.
Do not introduce Babashka merely because a repository has a Makefile. Follow the repository's existing command architecture unless the user requests a change.
First: detect what exists
bb.ednpresent → add/adjust tasks there; keep the Makefile a pure mirror.- Only
Makefile→ preserve it unless the user explicitly requested Babashka;
if requested, move each recipe's logic into a bb.edn task and reduce the Makefile target to bb <task>.
- Neither → create both only when Babashka is the chosen local task runner.
The pattern
bb.edn — the source of truth
Every task carries a :doc. Use babashka.tasks/shell for shell commands and clojure for clj -T/-M/-X invocations. Guard for run and uberjar with :override-builtin true (they shadow bb builtins). Set :dir when a task runs in a subdirectory.
List available tasks with their docs:
Makefile — the mirror
Each target is a one-line bb <task> shim. The bb task name and the make target match.
Conventions
- One source of truth. Real logic lives in the bb task; the Makefile target
is a one-line bb <task> shim. If you change a task, you change bb.edn.
- Names match between the bb task and the Makefile target.
- Every bb task has a `:doc` so
bb tasksis self-documenting. - `:override-builtin true` on tasks that shadow bb builtins such as
run
and uberjar.
- `:dir` for tasks that run in a subdirectory (e.g.
test/e2e,src). - Prefer task dependencies,
babashka.tasks/run, or Clojure/Babashka functions
for multi-step logic. Reuse a maintained project script only when scripts are already an established architectural boundary or the logic independently warrants a maintained module; do not create one-off scripts to escape task composition.
- Don't add Makefile-only targets that carry task logic — promote them to bb
tasks first.
Verify
If local guidance or inspection establishes that a flake dev shell owns the environment, run these inside it (load the running-in-nix-flake skill) so bb, clojure, and clj-kondo come from the pinned environment.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/authoring-repo-tasks/SKILL.md
Popularity
- Repository stars
- 64
- Repository forks
- 12
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zekzekus/dotfiles/authoring-repo-tasks)