add-behavior

Solid

Scaffold a new behavior definition with BEHAVIOR.md and optional scripts inside an existing addon or framework

AI & Automation 146 stars 21 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Add Behavior Scaffold a new behavior definition with BEHAVIOR.md and optional scripts and inputs inside an existing addon or framework. ## Triggers Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description): - "I need a new behavior" → scaffold behavior in specified target - "create a reactive behavior" → prompt for name and target, scaffold - "add a hook-based behavior" → scaffold with scripts directory - "behavior for X context" → derive name, prompt for target ## Trigger Patterns Reference | Pattern | Example | Action | |---------|---------|--------| | Named add | "add behavior auto-lint --to aiwg-utils" | Scaffold directly | | Description-driven | "create a behavior that triggers on file save" | Derive name, prompt target | | Interactive | "add behavior --interactive --to sdlc-complete" | Guided design mode | | Target omitted | "add behavior my-behavior" | Ask which addon or framework | ## Understanding Behaviors Behaviors are the newest AIWG artifact type. They bind reactive directives and toolsets to specific agent contexts. Unlike skills (which activate on natural language patterns) or commands (which require explicit invocation), behaviors: - **React to events** — file saves, session starts, code changes, tool completions - **Bind to contexts** — specific file types, project states, or agent sessions - **Execute automatically** — no user invocation needed once activated - **Compose with tools** —...

Details

Author
jmagly
Repository
jmagly/aiwg
Created
10 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category