Skip to content
Source
Sign inSign up
TanStack/intent

feat: add maintainer commands for skill authoring and source review #258

MergedLadyBluenotes(GitHub profile, opens in a new tab)merged 12 commits intomain fromrefs/pull/258/headmerged by LadyBluenotes(GitHub profile, opens in a new tab)

Showing 60 changed files with 46 additions and 42 deletions (loading 57).

x
0 of 60 viewed, 60 left
15 additions and 0 deletions.changeset/focused-skill-authoring.mdAdded
View file
@@ -0,0 +1,15 @@
+---
+'@tanstack/intent': minor
+---
+​
+Bring library skill authoring and maintenance into the normal coding-agent workflow. `intent install --maintainer` installs persistent guidance for agreed skill batches, source-grounded updates, representative executable task checks, and fresh-consumer verification when available.
+​
+Add `intent review` to identify affected guidance and unmapped changes from Git, then record evidence-backed outcomes against source and skill content hashes. Repeated no-ops stay quiet until content changes; missing source evidence remains unresolved. The generated release workflow uses recorded reviews when present and retains the existing staleness fallback otherwise.
+​
+Require every authoring batch to create and incrementally maintain `domain_map.yaml`, `skill_spec.md`, and `skill_tree.yaml`, preserving prior coverage, maintainer decisions, and remaining work. Track their review against source and skill contents and keep missing or invalid records unresolved. Keep focused authoring available through `maintainer setup`, `maintainer add`, `meta generate-skill`, and review reminders without mandatory full-library discovery. Add maintainer fixtures and protected task graders.
+​
+Separate activation guidance in `description` from descriptive text in `metadata.purpose`, preserving original descriptions when migrating existing skills. Expose purpose separately in discovery and `list --json`; older skills remain supported. Group related features by developer task, use references for conditional detail, check discovery separately from task correctness, and bundle tested scripts only when useful.
+​
+Keep the review-state lock held through atomic replacement, explain stale locks, and render repository-controlled review fields as untrusted data. Use the same command runner for reminder follow-up review commands.
+​
+Replace `scaffold` with `intent maintainer setup|add|status|sync|review|check`. Initialize cumulative records, register package-owned skills, synchronize frontmatter and publishing metadata, and check authoring gaps and revision-bound reviews through deterministic commands. Preserve existing authored decisions and custom record locations.
7 additions and 5 deletionsbenchmarks/intent/list.bench.tsModified
View file
@@ -1,6 +1,6 @@
import { rmSync } from 'node:fs'
import { join } from 'node:path'
-import { afterAll, beforeAll, describe, test } from 'vitest'
+import { afterAll, beforeAll, bench, describe } from 'vitest'
import {
createBenchOptions,
createCliRunner,
@@ -148,12 +148,14 @@
beforeAll(setup)
afterAll(teardown)
​