Commit 67e81fa
feat: install-skills creates CLAUDE.md for AI discoverability (#574)
* feat: create/update CLAUDE.md in install-skills for AI discoverability
After copying skill files, `art install-skills` now also creates or
updates a CLAUDE.md at the project root with an ART skills section.
This lets AI coding assistants (Claude Code, etc.) automatically
discover `/train-sft` and `/train-rl` skills when entering a project.
The update is idempotent—re-running the command won't duplicate content,
and existing CLAUDE.md content is preserved.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add docstring to art/__init__.py hinting at install-skills
When AI coding assistants read the package source to understand the
API, the module docstring now points them to `art install-skills`
and the `/train-sft` / `/train-rl` slash commands.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Revert "feat: create/update CLAUDE.md in install-skills for AI discoverability"
This reverts commit e41bdc1.
* docs: expand __init__.py docstring with docs link and skill details
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: remove slash command details from docstring
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: make __init__.py docstring more directive for AI assistants
Tell AI assistants explicitly NOT to scan source code or suggest CLI
commands, and instead install and use the skills. The previous wording
was too passive — assistants would find the CLI wizard and recommend
that instead of using the skills workflow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: make install-skills instruction explicit with uv run command
The previous wording led agents to search for skills in site-packages
instead of running the install command. Now the docstring shows the
exact shell command (uv run art install-skills), explains where the
files end up, and explicitly says not to search site-packages.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: replace train-sft/train-rl with init and help commands
Remove `art train-sft` and `art train-rl` CLI wizards — users interact
with ART through AI coding assistants, not standalone CLI wizards.
Add `art init` to initialize a project with skill files (replaces
`install-skills` which is kept as an alias). Add `art help` that
explains the setup flow for agents.
Update __init__.py docstring to reference `art init`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: install-skills owns the logic, init delegates to it
Keep install-skills as the primary command with full docstring and
output. init calls install-skills and can be extended later.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3e50ca0 commit 67e81fa
2 files changed
Lines changed: 73 additions & 111 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
1 | 19 | | |
2 | 20 | | |
3 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
36 | 33 | | |
37 | 34 | | |
38 | 35 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
125 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
126 | 44 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
131 | 57 | | |
132 | 58 | | |
133 | 59 | | |
| |||
145 | 71 | | |
146 | 72 | | |
147 | 73 | | |
148 | | - | |
149 | | - | |
150 | 74 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 75 | + | |
167 | 76 | | |
168 | 77 | | |
169 | 78 | | |
| |||
173 | 82 | | |
174 | 83 | | |
175 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
176 | 120 | | |
177 | 121 | | |
178 | 122 | | |
| |||
0 commit comments