skill-adopter

Adopt and wire enterprise skills into a target project for the AI agent(s) in use. Scans a project to detect its tech stack and configured AI agents (Codex, Copilot, Cursor, Junie, AI Assistant, Claude, Roo), selects relevant skills from the enterprise skills repository, and generates or updates the agent-native configuration files (AGENTS.md, .github/copilot-instructions.md, .cursor/rules.md, .junie/guidelines.md, .aiassistant/rules/, .cursorrules, .roo/rules). Use when onboarding a project onto enterprise skills, switching AI agents, refreshing stale agent configs, or aligning a project's AI setup with the current skills catalog.

5 stars

Best use case

skill-adopter is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Adopt and wire enterprise skills into a target project for the AI agent(s) in use. Scans a project to detect its tech stack and configured AI agents (Codex, Copilot, Cursor, Junie, AI Assistant, Claude, Roo), selects relevant skills from the enterprise skills repository, and generates or updates the agent-native configuration files (AGENTS.md, .github/copilot-instructions.md, .cursor/rules.md, .junie/guidelines.md, .aiassistant/rules/, .cursorrules, .roo/rules). Use when onboarding a project onto enterprise skills, switching AI agents, refreshing stale agent configs, or aligning a project's AI setup with the current skills catalog.

Teams using skill-adopter 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/skill-adopter/SKILL.md --create-dirs "https://raw.githubusercontent.com/GuicedEE/ai-rules/main/skills/.curated/skill-adopter/SKILL.md"

Manual Installation

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

How skill-adopter Compares

Feature / Agentskill-adopterStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Adopt and wire enterprise skills into a target project for the AI agent(s) in use. Scans a project to detect its tech stack and configured AI agents (Codex, Copilot, Cursor, Junie, AI Assistant, Claude, Roo), selects relevant skills from the enterprise skills repository, and generates or updates the agent-native configuration files (AGENTS.md, .github/copilot-instructions.md, .cursor/rules.md, .junie/guidelines.md, .aiassistant/rules/, .cursorrules, .roo/rules). Use when onboarding a project onto enterprise skills, switching AI agents, refreshing stale agent configs, or aligning a project's AI setup with the current skills catalog.

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.

SKILL.md Source

# Skill Adopter

Adopt enterprise skills into a target project, wired for the specific AI agent(s) in use.

## When to use

- Onboarding a new or existing project onto the enterprise skills catalog.
- Adding, switching, or updating AI agent configuration in a project.
- Refreshing stale agent configs that reference old paths or removed artifacts.
- Aligning a project with the current skills repository after structural changes.

## Required flow

1. **Detect** — Identify the project's tech stack and active AI agent(s).
2. **Select** — Choose relevant skills from the enterprise catalog.
3. **Generate** — Produce or update agent-native configuration files.
4. **Verify** — Confirm the generated configs reference valid skill paths.

## Step 1: Detect project context

Scan the target project root for:

### Tech stack signals

| Signal | Look for |
|--------|----------|
| Java / Maven | `pom.xml`, `module-info.java` |
| GuicedEE | `com.guicedee` in `pom.xml` or `module-info.java` |
| JWebMP | `com.jwebmp` in `pom.xml` or `module-info.java` |
| EntityAssist | `com.entityassist` in `pom.xml` or `module-info.java` |
| ActivityMaster | `activitymaster` modules in `pom.xml` |
| Angular / TypeScript | `angular.json`, `tsconfig.json`, `package.json` |
| Vert.x | `com.guicedee.vertx` or `io.vertx` in dependencies |
| Terraform | `*.tf` files, `.terraform/` |
| Docker / K8s | `Dockerfile`, `docker-compose.yml`, `k8s/` |
| React / Vue / Next.js | `package.json` framework deps |

### AI agent signals

| Agent | Config location |
|-------|-----------------|
| Codex CLI | `AGENTS.md` |
| GitHub Copilot | `.github/copilot-instructions.md` |
| Cursor | `.cursor/rules.md` or `.cursorrules` |
| JetBrains Junie | `.junie/guidelines.md` |
| JetBrains AI Assistant | `.aiassistant/rules/*.md` |
| Claude (project skills) | `.claude/settings.json`, `.claude/skills/` |
| Roo | `.roo/rules` or `.roomodes` |

If no agent config is found, ask the user which agent(s) they use.

## Step 2: Select relevant skills

Use the enterprise skills catalog (`skills.md` at the repository root, or scan `skills/.curated/` and `skills/.system/` directories) to select skills.

### Automatic selection by stack

| Detected stack | Skills to include |
|----------------|-------------------|
| Any project | `git-commit-helper`, `code-reviewer`, `systematic-debugging` |
| GuicedEE | All `guicedee-*` skills matching detected modules |
| JWebMP | All `jwebmp-*` skills matching detected plugins |
| EntityAssist | `entityassist` |
| ActivityMaster | `activitymaster`, `entityassist` |
| Vert.x | `guicedee-vertx` |
| Terraform | All `terraform-*` skills |
| Frontend (Angular) | `jwebmp-angular` (if JWebMP), `figma` |
| AG Grid | `aggrid`, `jwebmp-aggrid-enterprise` (if JWebMP) |
| Security-sensitive | `security-best-practices`, `security-compliance` |
| CI/CD (GitHub Actions) | `gh-fix-ci`, `gh-address-comments` |

### Interactive refinement

After automatic selection, present the list to the user:

```
Based on your project, I recommend these skills:

Always:
  ✓ git-commit-helper
  ✓ code-reviewer
  ✓ systematic-debugging

Stack-specific:
  ✓ guicedee-inject
  ✓ guicedee-vertx
  ✓ guicedee-persistence
  ✓ entityassist
  ✓ activitymaster

Optional:
  ○ senior-architect
  ○ test-driven-development
  ○ security-best-practices

Add or remove skills? (Enter to accept)
```

## Step 3: Generate agent configuration

Generate the agent-native config files. See `references/agent-config-formats.md` for the complete format reference per agent.

### Submodule path resolution

Determine the skills repository path relative to the project root:

- If the skills repo is a git submodule (e.g., `rules/` or `AIRules/`), use that prefix.
- If skills are installed to `$CODEX_HOME/skills/`, use `~/.codex/skills/` paths.
- If the skills repo is in the same workspace, use the relative path.

All skill references in generated configs must use resolved, valid relative paths.

### Generation rules

1. **One config per agent** — generate only for detected/requested agents.
2. **Skill references use SKILL.md paths** — point to the `SKILL.md` file, not the directory.
3. **Curated vs system** — include both tiers when relevant; label them in the config.
4. **Keep configs idempotent** — re-running the adopter on the same project updates existing configs without duplication.
5. **Preserve user customizations** — if an agent config already exists, merge new skill references; do not overwrite custom rules or instructions.

### Per-agent output summary

| Agent | Output file(s) | Format |
|-------|----------------|--------|
| Codex CLI | `AGENTS.md` | Markdown with skill paths and operating rules |
| GitHub Copilot | `.github/copilot-instructions.md` | Markdown instructions with skill references |
| Cursor | `.cursor/rules.md` | Markdown rules with skill paths |
| Junie | `.junie/guidelines.md` | Markdown guidelines with skill routing |
| AI Assistant | `.aiassistant/rules/*.md` | Numbered rule files with skill routing |
| Claude | `.claude/settings.json` + skill symlinks | JSON config + file references |
| Roo | `.roo/rules/*.md` | Markdown rule files |

## Step 4: Verify

After generation, verify:

1. Every referenced skill path resolves to an existing `SKILL.md` file.
2. No config references old/removed paths (e.g., `.claude/skills/rules-repo-conventions/`).
3. The config file is syntactically valid for the agent.
4. If a `skills.md` exists in the project, it is consistent with the generated configs.

Report any unresolved paths as warnings.

## Refresh mode

When called with "refresh" or "update" intent:

1. Read existing agent config files.
2. Extract currently referenced skill paths.
3. Check each path against the current skills repository structure.
4. Replace broken paths with correct current paths.
5. Add newly relevant skills that were not previously included.
6. Remove references to skills that no longer exist.

## References

- `references/agent-config-formats.md` — complete config format templates for each AI agent.

Related Skills

skill-installer

5
from GuicedEE/ai-rules

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

skill-creator

5
from GuicedEE/ai-rules

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

jwebmp-webawesome

5
from GuicedEE/ai-rules

WebAwesome icon integration for JWebMP — modern, open-source icon library. Provides 1,500+ icons with solid/regular styles, sizing, rotation, animation, and CSS utilities. Drop-in FontAwesome alternative with fresh designs. Use when working with WebAwesome icons, modern icon designs, or as FontAwesome alternative in JWebMP applications.

jwebmp-webawesome-pro

5
from GuicedEE/ai-rules

WebAwesome Pro integration for JWebMP with premium icons and features. Extends jwebmp-webawesome with additional styles, premium icons, and advanced features. Use when working with WebAwesome Pro icons or premium WebAwesome features in JWebMP applications.

jwebmp-weather-icons

5
from GuicedEE/ai-rules

Weather Icons font library for JWebMP providing weather icon fonts. Use when displaying weather-related icons.

jwebmp-waypoints

5
from GuicedEE/ai-rules

Waypoints jQuery plugin for JWebMP triggering functions when elements enter the viewport. Use when implementing scroll-based interactions and animations.

jwebmp-waves-effect

5
from GuicedEE/ai-rules

Waves material design ripple effect for JWebMP creating Material Design click ripples on elements. Use when adding Material Design interaction effects.

jwebmp-vertx

5
from GuicedEE/ai-rules

Portable connector between JWebMP and Vert.x 5 powered by GuicedEE. Provides automatic page routing, AJAX event pipeline, data component servlet, CSS endpoint, site-loader script, WebSocket broadcasting via event bus, user-agent detection, and call-scope integration. Use when working with JWebMP Vert.x integration, HTTP routing, AJAX handling, WebSocket communication, or building reactive web applications with JWebMP.

jwebmp-tsclient

5
from GuicedEE/ai-rules

TypeScript client generation for JWebMP plugins. Provides annotations and utilities for generating TypeScript interfaces, components, services, and modules from Java code. Supports @TsDependency, @TsDevDependency, @NgComponent, @NgDataService, @NgRestClient annotations. Use when creating JWebMP plugins that generate TypeScript code, defining npm dependencies, building Angular-integrated components, or generating typed Angular REST client services.

jwebmp-toastr

5
from GuicedEE/ai-rules

Toastr jQuery notification plugin integration for JWebMP displaying non-blocking toast notifications. Use when showing transient user notifications and alerts.

jwebmp-themify-icons

5
from GuicedEE/ai-rules

Themify Icons font library for JWebMP providing a comprehensive icon font collection. Use when adding Themify icons to projects.

jwebmp-skycons

5
from GuicedEE/ai-rules

Skycons animated weather icons for JWebMP creating beautiful animated SVG weather visualizations. Use when rendering weather data with animated icons.