SR-8 SkillsTab rewrite anchored to type / instance + Add skill picker + Reset to factory #876
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#876
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As an operator, I want the Skills page on
/agents/<type>(and/agents/<type>/<instance>) to show only the rows that fire for that anchor, with simple Add / Edit / Delete / Reset actions, so that I can see at a glance what an agent will run with no scope-ladder gymnastics.Acceptance criteria
Component rewrite
apps/web/src/features/agent-config/skills-tab.tsxis rewritten (or a new component, with the legacy file deleted in SR-10).Type mode (
/agents/<type>/skills)GET /agents/<type>/skills.GET /agents/skills/librarynot yet present for this type, plus a "Custom name…" option.skills/<name>.mdfrom the library endpoint and overwrites the row body viaPOST. Disabled when the library has no matching file (operator-created custom skills).GET /agents, fires N upserts. Confirmation dialog lists target types and the skill name.Instance mode (
/agents/<type>/<instance>/skills)GET /agents/<type>/<instance>/skills. List includes both instance-scope rows (editable) and inherited-from-type rows (read-only, "Inherits from type" badge, "Override here" action that copies the body and creates an instance-scope row).pool_session_warning: true, render an inline warning explaining that this instance's session may diverge from siblings until the next stateless dispatch.Tests
skills-tab.test.tsxcovers: list render per mode, Add via picker, Edit, Delete, Reset to factory, Override here in instance mode, bulk-apply confirmation, pool-session warning render.Out of scope
/settings/agent-configSkills tab (covered in SR-10).References
specs/skills-rework.md§CRUD UI.apps/web/src/features/agent-config/skills-tab.tsx(1170 lines, mostly to be replaced).apps/web/CLAUDE.md.