Codex

devkit-create-extension

Create a new AIWG extension (framework expansion pack) with AI-guided setup

104 stars

Best use case

devkit-create-extension is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

It is a strong fit for teams already working in Codex.

Create a new AIWG extension (framework expansion pack) with AI-guided setup

Teams using devkit-create-extension should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/devkit-create-extension/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/devkit-create-extension/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/devkit-create-extension/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How devkit-create-extension Compares

Feature / Agentdevkit-create-extensionStandard Approach
Platform SupportCodexLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create a new AIWG extension (framework expansion pack) with AI-guided setup

Which AI agents support this skill?

This skill is designed for Codex.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Create AIWG Extension

Create a new extension (framework expansion pack) with AI assistance.

Extensions enhance a specific parent framework with additional templates, checklists, and domain-specific content. They cannot operate standalone.

## Usage

```
/devkit-create-extension <name> --for <framework> [--interactive]
```

## Arguments

| Argument | Required | Description |
|----------|----------|-------------|
| name | Yes | Extension name (kebab-case recommended) |

## Required Options

| Option | Description |
|--------|-------------|
| --for | Parent framework ID (e.g., sdlc-complete, media-marketing-kit) |

## Optional Options

| Option | Description |
|--------|-------------|
| --interactive | Enable interactive mode with guided questions |

## What This Creates

```
agentic/code/frameworks/<framework>/extensions/<name>/
├── manifest.json      # type: "extension", requires: ["<framework>"]
├── README.md          # Documentation
├── templates/         # Domain-specific templates
└── checklists/        # Compliance/verification checklists
```

## Interactive Mode

When `--interactive` is specified, I will ask:

1. **Domain**: What compliance/domain does this extension address?
2. **Purpose**: What specific requirements or standards does it cover?
3. **Templates**: What templates should be included?
4. **Checklists**: What verification checklists are needed?
5. **Dependencies**: Does it depend on other extensions?

## Examples

```bash
# Quick creation
/devkit-create-extension hipaa --for sdlc-complete

# Interactive guided creation
/devkit-create-extension sox --for sdlc-complete --interactive
```

## Common Extension Types

### Compliance Extensions
- `gdpr` - EU data protection
- `hipaa` - Healthcare (US)
- `sox` - Financial controls (US)
- `pci-dss` - Payment card security
- `ftc` - FTC advertising rules

### Domain Extensions
- `healthcare` - Healthcare-specific templates
- `fintech` - Financial technology patterns
- `government` - Government/public sector

## Execution

1. **Validate inputs**: Check name and framework
2. **Verify framework exists**: Ensure parent framework is installed
3. **Check for duplicates**: Verify extension doesn't exist
4. **Gather info**: In interactive mode, ask about domain and needs
5. **Generate manifest**: Create with `requires` field for parent
6. **Create structure**: Build templates/ and checklists/ directories
7. **Generate README**: Document extension purpose and usage
8. **Optionally create content**: Offer to create initial templates/checklists
9. **Report success**: Show created files and activation instructions

## CLI Equivalent

For non-interactive creation:

```bash
aiwg scaffold-extension <name> --for <framework> --description "..."
```

## Related Commands

- `/devkit-create-addon` - Create standalone addon
- `/devkit-create-framework` - Create full framework
- `/devkit-validate` - Validate extension structure
- `aiwg add-template` - Add template to extension

## References

- @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
- @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture
- @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference including scaffold-extension command
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/README.md — SDLC framework as example parent framework