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.

Stars 1
Forks 1

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

  1. Note the base directory provided when this skill loads
  2. Run scripts using: bun {base_directory}/scripts/{script-name}.ts [args]
  3. 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.

bash
bun {base_directory}/scripts/prepare-completion.ts

complete-task.ts

Completes the active task: updates metadata, squashes WIP commits, creates PR.

bash
bun {base_directory}/scripts/complete-task.ts

specify.ts

Creates spec infrastructure: git branch, spec folder, metadata, CLAUDE.md update, GitHub issue.

bash
bun {base_directory}/scripts/specify.ts "Feature title"

backlog.ts

Add items to the project backlog or list existing items.

bash
# 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.

bash
# 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

Expand your agent's capabilities with these related and highly-rated skills.

mattpocock/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.

111,310 9,758
Explore
mattpocock/skills

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.

111,310 9,758
Explore
mattpocock/skills

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.

111,310 9,758
Explore
mattpocock/skills

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.

111,310 9,758
Explore
mattpocock/skills

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.

111,310 9,758
Explore
mattpocock/skills

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.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results