Agent skill

lifecycle-hooks

Session-start lifecycle hooks for cross-plugin dependency resolution. Creates symlinks so cross-package references work in cached plugin environments.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Requires: []
Path: skills/agent/lifecycle-hooks-sequenzia-agent-alchemy-5/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Cross-Plugin Dependency Resolution
  2. Problem
  3. Solution
  4. Hook Configuration
  5. Script Behavior
  6. Adaptation for Other Platforms
  7. Integration Notes
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going