Skip to content

Commit 3077f9c

Browse files
committed
feat(skills): add just-commands skill with dynamic context injection
Add a new skill that uses Claude Code's dynamic context injection feature to embed the output of `just --list` at runtime. This replaces the static command list in CLAUDE.md with a reference to the skill. Benefits: - Commands stay in sync with justfile automatically - Reduces manual maintenance of CLAUDE.md - Demonstrates Claude Code's !`command` syntax for dynamic context
1 parent b10c164 commit 3077f9c

2 files changed

Lines changed: 12 additions & 14 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: just-commands
3+
description: Available just commands for this project. Use when you need to know what development commands are available.
4+
user-invocable: false
5+
---
6+
7+
## Available just commands
8+
9+
```
10+
!`just --list`
11+
```

CLAUDE.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,7 @@ StackOne AI SDK is a Python library that provides a unified interface for access
2727

2828
## Essential Development Commands
2929

30-
```bash
31-
# Setup and installation
32-
just install # Install dependencies and pre-commit hooks
33-
34-
# Code quality
35-
just lint # Run ruff linting
36-
just lint-fix # Auto-fix linting issues
37-
just ty # Run type checking
38-
39-
# Testing
40-
just test # Run all tests
41-
just test-tools # Run tool-specific tests
42-
just test-examples # Run example tests
43-
```
30+
Run `just --list` to see all available commands, or Claude will automatically reference the `just-commands` skill when needed.
4431

4532
## Code Architecture
4633

0 commit comments

Comments
 (0)