hooks-integration

Automate Legion lifecycle events with Claude Code hooks.

1|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/9thLevelSoftware/legion-ascended --skill hooks-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hooks-integration
Source: https://github.com/9thLevelSoftware/legion-ascended/tree/main/skills/hooks-integration
Command: npx skills add https://github.com/9thLevelSoftware/legion-ascended --skill hooks-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of automating Legion lifecycle events, such as pre-build validation, post-build outcome recording, and pre-ship security scans, using Claude Code hooks.

Core Features & Use Cases

  • Automated Pre-Build Validation: Validates plan file integrity before the build starts.
  • Automated Post-Build Outcome Notification: Notifies the user when a build phase completes.
  • Automated Pre-Ship Security Gate: Runs a security scan before PR creation.
  • Post-Commit State Update: Updates progress after commits.
  • Use Case: Imagine you want to ensure that your project's build plans are valid before execution and that you receive notifications upon build completion. This Skill automates these processes for you.

Quick Start

Add the desired hook configurations to your project's .claude/settings.json file and activate hooks on the next Claude Code session.

Frequently Asked Questions about hooks-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate pre-build validation for my software development workflow?

Automating pre-build validation is achieved by configuring Claude Code hooks to validate plan file integrity before the build phase starts. You add the desired hook configurations to your project's .claude/settings.json file and activate them on the next session.

Can I set up an automated security scan to run before PR creation?

Yes, you can set up an automated pre-ship security gate by adding hook configurations to your .claude/settings.json file. This mechanism runs a security scan before PR creation to ensure code validation within your automated workflow.

What is the best way to notify users when a build phase completes?

The best way to notify users upon build completion is to use automated post-build outcome notification via Claude Code hooks. Configuring these hooks in your settings file ensures users receive immediate alerts when a build phase completes.

How do I update project progress automatically after code commits?

You can update project progress automatically after commits by implementing a post-commit state update hook. This automated workflow triggers through Claude Code hooks to record outcomes and maintain progress tracking without manual intervention.

Does this build automation hook require any external dependencies to run?

No, this build automation hook requires no external dependencies to function. It operates entirely using scripts configured within your .claude/settings.json file to manage Legion lifecycle events.