creating-kiro-packages

Create Kiro packages with steering files and JSON hook configurations.

121|16|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/pr-pm/prpm --skill creating-kiro-packages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-kiro-packages
Source: https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-kiro-packages
Command: npx skills add https://github.com/pr-pm/prpm --skill creating-kiro-packages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the guesswork in creating and configuring Kiro's intelligent context files and event-driven automation, ensuring consistent project standards and automated workflows.

Core Features & Use Cases

  • Steering File Creation: Generate context-aware Markdown files with inclusion modes (always/fileMatch/manual) for different project contexts.
  • Hook Configuration: Set up JSON-based automation triggers for file events and lifecycle events.
  • Use Case: When adding a new React component, automatically create corresponding test files and update asset indexes through event-driven hooks.

Quick Start

Use the creating-kiro-packages skill to generate a steering file for React components that applies automatically when working with .tsx files.

Frequently Asked Questions about creating-kiro-packages

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

FAQPage Schema
How do I create steering files for automated workflow configuration?

Steering files are Markdown documents with frontmatter-based inclusion modes (always, fileMatch, or manual) that define context for Kiro automation. Use the creating-kiro-packages skill to generate these files with appropriate inclusion logic, then populate foundational files like product.md, tech.md, and structure.md to establish project standards and trigger event-driven hooks.

What are Kiro hooks and how do I configure them?

Kiro hooks are JSON-based automation triggers that respond to file events and lifecycle events. Configure them by defining event types, file matchers, and actions within your Kiro package. This skill helps you set up hook definitions that automatically execute tasks—like creating test files or updating asset indexes—when specified conditions occur in your codebase.

Can I automate file creation and updates across my project?

Yes. Kiro packages enable event-driven automation through hooks that trigger on file changes. Set up hooks to automatically generate corresponding files (such as test files for new components) and update indexes or metadata. This eliminates manual repetition and ensures consistent project structure across always/fileMatch/manual inclusion modes.

When should I use fileMatch inclusion mode versus always mode?

Use fileMatch inclusion mode to apply steering content conditionally to files matching specific patterns (like .tsx files for React components). Use always mode for steering content that applies globally to all files. Manual mode requires explicit inclusion. Choose based on whether your automation should apply universally or only to specific file types.

Do I need to validate fileMatch patterns in my Kiro package?

Yes. Pattern validation is part of creating a Kiro package. The skill implements validation checks for fileMatch patterns to ensure your hooks and steering files trigger on the correct files. Invalid patterns can cause automation to fail silently, so validation prevents misconfigurations before deployment.

What's the difference between steering files and hook configurations?

Steering files are Markdown documents providing context and inclusion rules for your project; hooks are JSON configurations defining automated actions triggered by events. Together they form a complete Kiro package: steering files establish when and where automation applies, while hooks specify what automation does when triggered.