en un clic
lifecycle-hooks
// Behavioral rules and lifecycle event handlers for the dev-tools package. Defines automated behaviors that trigger at specific points in the agent workflow. (converted from hooks)
// Behavioral rules and lifecycle event handlers for the dev-tools package. Defines automated behaviors that trigger at specific points in the agent workflow. (converted from hooks)
Conduct an adaptive interactive interview on any topic and produce a structured markdown report, summary, or implementation plan. Use when the user says "interview me", "interview me about", "run an interview on", "help me think through", or wants guided discovery on any subject. Also triggers on "talk me through", "explore X with me", "help me plan Y", or "walk me through my thinking on Z" when the user wants a guided conversation rather than a direct answer. Applies broadly — career decisions, project ideas, product direction, personal goals, research questions, team problems — not just technical topics.
Analyze an existing spec for inconsistencies, missing information, ambiguities, and structure issues. Use when user says "analyze spec", "review spec", "spec quality check", "validate requirements", "audit spec", or "check spec quality".
Session-start lifecycle hooks for cross-plugin dependency resolution. Creates symlinks so cross-package references work in cached plugin environments.
Designs implementation blueprints for features using exploration findings and architectural best practices (converted from agent)
Explores codebases to find relevant files, trace execution paths, and map architecture with team communication capabilities for collaborative analysis (converted from agent)
Synthesizes exploration findings into unified analysis with deep investigation capabilities (shell commands, git history, dependency analysis) and completeness evaluation (converted from agent)
| name | lifecycle-hooks |
| description | Behavioral rules and lifecycle event handlers for the dev-tools package. Defines automated behaviors that trigger at specific points in the agent workflow. (converted from hooks) |
| dependencies | [] |
This skill documents the lifecycle event handlers for the dev-tools package. These hooks define automated behaviors that trigger at specific points in the agent workflow.
Event: session_start
Purpose: Cross-plugin dependency resolution for cache environments
When a session starts, this hook runs a script that resolves cross-package references by creating symlinks in the plugin cache directory. The script:
agent-alchemy-claude-tools becomes claude-tools)In the original plugin system, cross-plugin references use filesystem paths like /../{short-name}/. In local development (monorepo), these paths resolve naturally because sibling directories have short names. In cache environments, the extra version subdirectory and organization-prefixed names break this convention.
In the ported format, this behavior may not be needed since ported files use named references (e.g., "Refer to the deep-analysis skill from the core-tools package") instead of filesystem paths. The script is preserved in references/resolve-cross-plugins.sh for environments that still need filesystem-based cross-package resolution.
See references/resolve-cross-plugins.sh for the full implementation.
AGENT_ALCHEMY_HOOK_DEBUG=1 to enable diagnostic logging to $AGENT_ALCHEMY_HOOK_LOG (default: /tmp/agent-alchemy-hooks.log)What this component does: Defines lifecycle event handlers that run at specific workflow points, primarily handling cross-plugin dependency resolution in cache environments.
Capabilities needed:
Adaptation guidance: