You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe7cfa3
Browse filesBrowse the repository at this point in the historyBrowse files
'You are helping maintain Intent skills for this repository.',
150
-
'',
151
-
'Goal:',
152
-
'Resolve the Intent skill review signals below while preserving the existing scope, taxonomy, and maintainer-reviewed artifacts.',
153
-
'',
154
-
'Review signals:',
155
-
JSON.stringify(items, null, 2),
156
-
'',
157
-
'Required workflow:',
158
-
'1. Read the existing `_artifacts/*domain_map.yaml`, `_artifacts/*skill_tree.yaml`, and generated `skills/**/SKILL.md` files.',
159
-
'2. Read each flagged package package.json, public exports, README/docs if present, and source entry points.',
160
-
'3. Compare flagged packages against the existing domains, skills, tasks, packages, covers, sources, tensions, and cross-references in the artifacts.',
161
-
'4. For each signal, decide whether it means existing skill coverage, a missing generated skill, a new skill candidate, out-of-scope coverage, or deferred work.',
162
-
'',
163
-
'Maintainer questions:',
164
-
'Before editing skills or artifacts, ask the maintainer:',
165
-
'1. For each flagged package, is this package user-facing enough to need agent guidance?',
166
-
'2. If yes, should it extend an existing skill or become a new skill?',
167
-
'3. If it extends an existing skill, which current skill should own it?',
168
-
'4. If it is out of scope, what short reason should be recorded in artifact coverage ignores?',
169
-
'5. Are any of these packages experimental or unstable enough to exclude for now?',
170
-
'',
171
-
'Decision rules:',
172
-
'- Do not auto-generate skills.',
173
-
'- Do not create broad new skill areas without maintainer confirmation.',
174
-
'- Prefer adding package coverage to an existing skill when the package is an implementation variant of an existing domain.',
175
-
'- Create a new skill only when the package introduces a distinct developer task or failure mode.',
176
-
'- Preserve current naming, path, and package layout conventions.',
177
-
'- Keep generated skills under the package-local `skills/` directory.',
178
-
'- Keep repo-root `_artifacts` as the reviewed plan.',
179
-
'',
180
-
'If maintainer confirms updates:',
181
-
'1. Update the relevant `_artifacts/*domain_map.yaml` or `_artifacts/*skill_tree.yaml`.',
182
-
'2. Update or create `SKILL.md` files only for confirmed coverage changes.',
183
-
'3. Keep `sources` aligned between artifact skill entries and SKILL frontmatter.',
184
-
'4. Bump `library_version` only for skills whose covered source package version changed.',
185
-
'5. Run `npx @tanstack/intent@latest validate` on touched skill directories.',
186
-
'6. Summarize every package as one of: existing-skill coverage, new skill, ignored, or deferred.',
187
-
].join('\n')
188
-
189
-
const body = [
190
-
'## Intent Skill Review Needed',
191
-
'',
192
-
'Intent found skills, artifact coverage, or workspace package coverage that need maintainer review.',
193
-
'',
194
-
'### Summary',
195
-
'',
196
-
'| Signal | Count |',
197
-
'| --- | ---: |',
198
-
...signalRows,
199
-
'',
200
-
'### Review Items',
201
-
'',
202
-
'| Signal | Subject | Library | Reason |',
203
-
'| --- | --- | --- | --- |',
204
-
...itemRows,
205
-
'',
206
-
'### Agent Prompt',
207
-
'',
208
-
'Paste this into your coding agent:',
209
-
'',
210
-
'```text',
211
-
prompt,
212
-
'```',
213
-
'',
214
-
'This PR is a review reminder only. It does not update skills automatically.',
215
-
].join('\n')
216
-
217
-
fs.writeFileSync('pr-body.md', body + '\n')
218
-
fs.writeFileSync(process.env.GITHUB_STEP_SUMMARY, body + '\n')
219
-
NODE
73
+
intent stale --github-review --package-label "@tanstack/router"
0 commit comments