Problem
The skills UI in the web dashboard is completely dead code. The "skills" tab does not exist in the Tab union (navigation.ts), so the render branch never executes. All skill controller functions are replaced with no-op stubs.
Dead Code Inventory
ui/src/ui/app-render.ts
- Line 12:
loadAgentSkills no-op stub
- Lines 63-67: 5 no-op stubs (
installSkill, loadSkills, saveSkillApiKey, updateSkillEdit, updateSkillEnabled)
- Line 87:
renderSkills no-op stub
- Lines 906-929: Dead
state.tab === "skills" render branch (with @ts-expect-error)
- Lines 570-577, 602-603, 613, 633, 729-732, 736-762: Dead skills wiring in agents view
ui/src/ui/app.ts
- Lines 236-238: Dead
agentSkillsLoading, agentSkillsError, agentSkillsReport @State() properties
- Lines 343-349: Dead
skillsLoading through skillMessages @State() properties (7 total)
- Line 61: Dead
SkillMessage type stub
ui/src/ui/app-view-state.ts
- Line 13: Dead
SkillMessage type stub
- Lines 160-162: Dead
agentSkills* type properties
- Lines 240-246: Dead
skills* type properties (7 total)
ui/src/ui/views/agents.ts
- Lines 60-62, 67, 86: Dead skill props in agents view interface
ui/src/ui/types.ts
- Lines 636-640:
SkillStatusReport type (check for other consumers before removing)
Acceptance Criteria
Context
Part of @ts-expect-error fork-sync remediation audit. Suggestion file: .tmp/suggest-fix10-skills-ui-gut.md.
Problem
The skills UI in the web dashboard is completely dead code. The
"skills"tab does not exist in theTabunion (navigation.ts), so the render branch never executes. All skill controller functions are replaced with no-op stubs.Dead Code Inventory
ui/src/ui/app-render.tsloadAgentSkillsno-op stubinstallSkill,loadSkills,saveSkillApiKey,updateSkillEdit,updateSkillEnabled)renderSkillsno-op stubstate.tab === "skills"render branch (with@ts-expect-error)ui/src/ui/app.tsagentSkillsLoading,agentSkillsError,agentSkillsReport@State() propertiesskillsLoadingthroughskillMessages@State() properties (7 total)SkillMessagetype stubui/src/ui/app-view-state.tsSkillMessagetype stubagentSkills*type propertiesskills*type properties (7 total)ui/src/ui/views/agents.tsui/src/ui/types.tsSkillStatusReporttype (check for other consumers before removing)Acceptance Criteria
@ts-expect-errorreferencing skills inapp-render.tsapp-render.ts(lines 12, 63-67, 87)app-render.tsskills*/agentSkills*state properties inapp.tsskills*/agentSkills*type properties inapp-view-state.tsContext
Part of @ts-expect-error fork-sync remediation audit. Suggestion file:
.tmp/suggest-fix10-skills-ui-gut.md.