Hooks are already a tracked component kind ('hook' in ComponentKind, see src/analyze/attribute.ts:65) but there's no CLI command to view them — only skills and agents exist as component views.
Add a skillscope hooks command that calls componentView(loaded, 'hook', view), same as skills/agents in src/cli.ts. Should support the same --json/--md/--csv/--sort/--dead/--untracked flags for free since componentView already handles them generically.
Add to the COMMANDS array and the help text in src/cli.ts. A test in test/cli.test.ts covering the new command over the fixture history is enough.
Hooks are already a tracked component kind (
'hook'inComponentKind, seesrc/analyze/attribute.ts:65) but there's no CLI command to view them — onlyskillsandagentsexist as component views.Add a
skillscope hookscommand that callscomponentView(loaded, 'hook', view), same asskills/agentsinsrc/cli.ts. Should support the same--json/--md/--csv/--sort/--dead/--untrackedflags for free sincecomponentViewalready handles them generically.Add to the
COMMANDSarray and the help text insrc/cli.ts. A test intest/cli.test.tscovering the new command over the fixture history is enough.