Skip to content

New command: skillscope hooks #28

Description

@notsointresting

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions