Agent skill
cc-track-tools
Provides paths to cc-track utility scripts for validation, task completion, and git operations. Use when a cc-track command needs to run a script.
Install this agent skill to your Project
npx add-skill https://github.com/cahaseler/cc-track/tree/main/skills/cc-track-tools
SKILL.md
cc-track Tools
This skill provides access to cc-track's utility scripts. When invoked, you receive the base directory path which you use to run scripts.
How to Use
- Note the base directory provided when this skill loads
- Run scripts using:
bun {base_directory}/scripts/{script-name}.ts [args] - Scripts return JSON output - parse and interpret the results
Available Scripts
prepare-completion.ts
Runs validation suite (TypeScript, lint, tests, knip) for the active task.
bun {base_directory}/scripts/prepare-completion.ts
complete-task.ts
Completes the active task: updates metadata, squashes WIP commits, creates PR.
bun {base_directory}/scripts/complete-task.ts
specify.ts
Creates spec infrastructure: git branch, spec folder, metadata, CLAUDE.md update, GitHub issue.
bun {base_directory}/scripts/specify.ts "Feature title"
backlog.ts
Add items to the project backlog or list existing items.
# Add an item
bun {base_directory}/scripts/backlog.ts "Your backlog item text"
# List all items
bun {base_directory}/scripts/backlog.ts --list
git-session.ts
Git session utilities for managing WIP commits.
# Squash WIP commits with a message
bun {base_directory}/scripts/git-session.ts squash "commit message"
# Show diff since last user commit
bun {base_directory}/scripts/git-session.ts diff
# Show WIP commits
bun {base_directory}/scripts/git-session.ts wip
# Prepare for push (run lint/tests)
bun {base_directory}/scripts/git-session.ts prepare-push
Requirements
- bun: Scripts are TypeScript and require bun to run
- Project context: Most scripts expect to run from a cc-track enabled project
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
Didn't find tool you were looking for?