Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add gpolanco/skills-as-context --skill "skill-integrator"
Install specific skill from multi-skill repository
# Description
Orchestrate and activate local AI Agent Skills in external projects (consumer repos) by updating AGENTS.md and the local skills catalog.
# SKILL.md
name: skill-integrator
description: Orchestrate and activate local AI Agent Skills in external projects (consumer repos) by updating AGENTS.md and the local skills catalog.
license: Apache-2.0
metadata:
author: gpolanco
version: "1.2.0"
scope: [root]
auto_invoke: "Help me integrate skills"
allowed-tools: [Read, Write, Bash]
Skill Integrator βοΈ
TL;DR (REQUIRED)
- This skill is used ONLY in external projects (consumer repos).
-
Your job is to activate already-downloaded skills by updating only:
-
AGENTS.md skills/README.mddocs/agent/(initialization only, never overwrite existing files)- DO NOT modify any
SKILL.mdcontent. -
MUST follow the exact orchestration process defined in:
-
reference/workflow.md
π¨ CRITICAL: Reference Workflow is Mandatory
This SKILL.md defines the contract and limits of the integrator.
For exact steps, ordering, and guardrails, you MUST read and follow:
reference/workflow.md
If the workflow is not followed exactly, stop and ask for clarification.
When to use
Use this skill in external projects (consumer repos) when the user asks to:
- integrate or activate skills in a repository
- set up or regenerate
AGENTS.md - generate or sync
skills/README.mdas a catalog view - adopt skills after a stack change (e.g. added
zod,supabase,tailwind)
Do NOT use this skill to maintain or modify the skills-as-context repository itself.
Outputs (what you are allowed to change)
β Allowed modifications
AGENTS.mdskills/README.mddocs/agent/(initialization only, never overwrite existing files)
β Not allowed
- Any file under
skills/**/SKILL.md - Any project source code or configuration files
Core principles
ALWAYS
- Discover first: inspect
package.json, projectREADME.md, and the directory structure. - Select minimal, relevant skills: only those that match the detected stack.
- Preserve project intent: do not overwrite existing custom rules without surfacing them.
-
Use canonical templates (fetched as raw content):
-
templates/AGENTS.template.md templates/SKILLS_README.template.mdtemplates/plans/TEMPLATE.md- Copy templates exactly: fill placeholders only, keep headings and table structures intact.
NEVER
- Activate skills that clearly do not apply to the project.
- Modify the content of individual
SKILL.mdfiles. - Invent new sections or rules outside the provided templates.
- Overwrite existing files in
docs/agent/. They are live memory.
Integration flow (high level)
This skill orchestrates the integration but does not define the procedure inline.
High-level phases:
- Discovery β detect stack, architecture, and skills directory.
- Selection β propose the minimal set of relevant skills.
- Confirmation β ask the user before writing any files.
- Orchestration β update
AGENTS.md,skills/README.md, and initializedocs/agent/. - Verification β ensure paths, references, catalogs, and agent memory are correct.
For the exact implementation steps, edge cases, and commands, always defer to
reference/workflow.md.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.