justfile-author
БесплатноБез исполняемых скриптовНе проверенUse this skill when authoring or refactoring a justfile (and matching Makefile wrapper) for one of Nick's projects. Triggers when the user asks to "create a…
от NickCrew★ 76 звёзд на GitHubОб этом скилле
Justfile Author
Overview
Generate a justfile (and matching Makefile + tx-start helpers) following Nick's
project conventions: zsh shell, DRY parameterized helpers, svc-* tmux service
family wired through cortex tmux, and standard quality recipes
(build, lint, dev, test, typecheck, ci, clean).
When to use this skill
- A repo lacks a justfile and the user wants one.
- A justfile exists but is missing the svc-* family, the Makefile wrapper, or the standard quality recipes.
- The user asks to add a new service window (e.g.,
svc-worker) to an existing justfile. - The user asks to refactor a justfile to be more DRY or to align with the conventions captured here.
Skip this skill when:
- Editing third-party / open-source justfiles (their conventions own).
- The user has explicitly chosen
make,npm scripts, or another runner for this project.
Reference example
/Users/nick/Developer/Facet/justfile and /Users/nick/Developer/Facet/Makefile
are the canonical reference. When in doubt, mirror their shape.
Workflow
Step 1 — Inspect the project
Before writing anything, read the project to determine:
- Project slug — derive from the repo directory basename.
- Stack and package manager — what language(s), which lockfile.
- Service catalog — what long-running processes the dev runs locally.
- Existing tooling — what build/test/lint commands the project already uses (do not invent new ones).
- Runtime activation needs — nvm, asdf, uv, etc.
Consult references/inspection-checklist.md for the full detection table
and the exact slug-normalization rules.
Step 2 — Choose the recipe block
Pull the right language reference into context:
| Stack | Reference |
|---|---|
| Node | references/recipes-node.md |
| Rust | references/recipes-rust.md |
| Python | references/recipes-python.md |
| Go | references/recipes-go.md |
For polyglot repos, read multiple references and combine. For stacks not listed, mirror the structure of the closest listed stack and substitute the native commands.
Step 3 — Choose the service catalog
Consult references/service-patterns.md for the full svc-* surface area
and the rules for when to add a new service window. Every detected
service gets a parallel pair of recipes (foreground + svc-) and a
tx-start-<role>.sh wrapper.
Step 4 — Emit the files
Use assets/justfile.tmpl, assets/Makefile.tmpl, and
assets/tx-start.sh.tmpl as the structural starting points. These are
not literal templates — read them, then write the project's actual files
with the inspection results substituted and the irrelevant scaffolding
deleted.
Required substitutions in justfile.tmpl:
| Placeholder | Value |
|---|---|
{{PROJECT_TITLE}} |
Human-readable project name (e.g., Facet). |
{{PROJECT_SLUG}} |
Normalized slug (lowercase, underscores). |
{{INSTALL_CMD}} |
From the language recipe block. |
{{DEV_CMD}} |
From the language recipe block. |
{{BUILD_CMD}} |
From the language recipe block. |
{{TYPECHECK_CMD}} |
From the language recipe block. |
{{LINT_CMD}} |
From the language recipe block (omit if not configured). |
{{TEST_CMD}} |
From the language recipe block. |
{{TEST_FILE_CMD}} |
From the language recipe block. |
{{TEST_WATCH_CMD}} |
From the language recipe block. |
{{CLEAN_CMD}} |
Project-specific build artifacts. |
In Makefile.tmpl, also keep the .PHONY list and the passthrough
recipe block in sync with the recipes actually emitted in the justfile —
the catch-all rule pattern is intentionally NOT used; an explicit list
keeps make help honest.
For each service, copy tx-start.sh.tmpl to
scripts/tx-start-<role>.sh, uncomment the relevant runtime activation
block, and replace {{SERVICE_CMD}} with the actual launch command.
Make the script executable: chmod +x scripts/tx-start-<role>.sh.
Step 5 — Validate
After writing the files, run these checks before declaring completion:
just --list— must succeed and show every recipe.make help— must show the passthrough list.- For each
svc-<role>recipe: confirm a matchingtx-start-<role>.shexists, is executable, and has the right activation block uncommented. just ci— should be runnable end-to-end (don't actually run it unless the user wants to; just confirm the deps resolve).- Confirm
set shell := ["zsh", "-c"]is present and that no recipe uses bash-specific syntax that would break under zsh.
If any check fails, fix it before reporting done.
Установить justfile-author в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл justfile-author?
Use this skill when authoring or refactoring a justfile (and matching Makefile wrapper) for one of Nick's projects. Triggers when the user asks to "create a justfile", "add a justfile to this project", "set up just for…", "wire up tmux services", "scaffold the task runner", or when working in a repo that lacks a justfile but obviously needs one. Produces a justfile using zsh syntax with the standard svc-* tmux service family, the canonical build/lint/dev/test recipes, a thin Makefile passthrough wrapper that auto-installs just, and per-service tx-start.sh helpers. Do NOT use for editing existing third-party justfiles or non-Nick projects unless the user explicitly opts in.
Как установить скилл justfile-author?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл justfile-author запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic