lifecycle-hooks
Session-start lifecycle hooks for cross-plugin dependency resolution. Creates symlinks so cross-package references work in cached plugin environments.
npx skills add majiayu000/claude-skill-registry --skill lifecycle-hooks-sequenzia-agent-alchemy-5 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Lifecycle Hooks This skill documents the session-start lifecycle hooks used by the dev-tools package. These hooks run automatically at session initialization to ensure cross-plugin references resolve correctly in cached environments. ## Cross-Plugin Dependency Resolution ### Problem When plugins are installed from a marketplace/registry, each plugin is cached in an isolated directory with organization-prefixed names and version subdirectories. Cross-plugin references (e.g., loading a skill from a sibling plugin via relative paths) break because the directory structure differs from the local development monorepo layout. **Local monorepo layout:** ``` claude/ ├── core-tools/ <- ../core-tools/ resolves naturally ├── dev-tools/ └── claude-tools/ ``` **Cached plugin layout:** ``` plugins/cache/org-name/ ├── org-name-core-tools/ │ └── 0.2.3/ <- long path, org-prefixed name ├── org-name-dev-tools/ │ └── 0.3.4/ └── org-name-claude-tools/ └── 0.2.5/ ``` ### Solution The `resolve-cross-plugins.sh` script (in `references/`) runs at session start and creates short-name symlinks at the plugin-name directory level so that `../{short-name}/` resolves correctly in both environments. **After scri
- Cross-Plugin Dependency Resolution
- Problem
- Solution
- Hook Configuration
- Script Behavior
- Adaptation for Other Platforms
- Integration Notes
What does the lifecycle-hooks skill do?
Session-start lifecycle hooks for cross-plugin dependency resolution. Creates symlinks so cross-package references work in cached plugin environments.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill lifecycle-hooks-sequenzia-agent-alchemy-5 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
