/skill-chain:stack-extendfrom skill-chain
Add a new tool to the project stack at runtime. Reads the tool catalog for known configs, installs the package, updates stacks.yml and .env, generates boilerplate, creates a tracking Issue, and posts an investor update. Use when an agent discovers it needs a new integration (analytics, payments, auth, email, monitoring, etc.) or when the user requests adding a tool.
Ships in skill-chain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add a new tool or integration to the running project stack. Handles everything from package installation to configuration to tracking.
Read .harness/tool-catalog.yml and search for tool_name across all categories.
package, env_vars, setup, docs, description, when.Store the resolved config as resolved_config for subsequent steps.
Read .harness/stacks.yml and check if the tool is already listed under any category.
Also check package.json to see if the npm package is already installed. If installed but not in stacks.yml, skip to step 4 (configuration).
Run the setup command from the resolved config:
# For npm packages
npm install <resolved_config.package>
# If there's a dedicated setup command (e.g., npx @sentry/wizard)
<resolved_config.setup>
If the tool has no npm package (e.g., BetterUptime is SaaS-only), skip installation and note this in the output.
Verify installation succeeded by checking the exit code. On failure, read the error output and attempt to resolve (common fixes: clear node_modules, retry with --legacy-peer-deps).
Read the current .env file. For each entry in resolved_config.env_vars:
.env, leave it unchanged.# Added by stack-extend: <tool_name>
<VAR_NAME>=your_<var_name_lowercase>_here
Never overwrite existing environment variable values.
Read .harness/stacks.yml. Add the tool under the appropriate top-level category:
analytics tools go under website.analytics or a new analytics keypayments tools go under backend.paymentsauth tools go under backend.authenticationemail tools go under backend.emailerror-tracking tools go under quality.error_trackingmonitoring tools go under quality.monitoringfile-storage tools go under backend.file_storagecms tools go under backend.cmsFormat: <category_key>: <tool_name> # <description>
If the category key does not exist in stacks.yml, add it under the most logical parent section.
Create initialization code based on the tool type. Place files in the project source directory.
For tools with MCP servers (check resolved_config.mcp_server):
.mcp.jsonFor npm packages, generate a provider/init file:
lib/<tool_name>.ts
The file should:
For React providers (auth, analytics):
components/providers/<tool_name>-provider.tsxCreate a GitHub Issue to track the integration:
Title: [Stack] Add <tool_name> integration
Labels: stack, integration
Body:
## Tool Added
- **Name**: <tool_name>
- **Package**: <resolved_config.package>
- **Category**: <category>
- **Reason**: <reason>
## Setup Checklist
- [x] Package installed
- [x] Environment variables added to .env
- [x] stacks.yml updated
- [x] Boilerplate config generated
- [ ] API keys configured with real values
- [ ] Integration tested end-to-end
- [ ] Documentation updated
## Docs
<resolved_config.docs>
Use gh issue create to create the issue.
Invoke the investor-updates skill pattern to post a Slack message:
Stack Update: Added <tool_name>
Reason: <reason>
Category: <category>
Status: Installed and configured, pending API key setup
If Slack is not configured, write the update to .harness/updates/stack-extend-<tool_name>-<timestamp>.md instead.
Perform a basic validation that the tool is properly integrated:
.env (even as placeholders).Report the validation results.
To remove a tool, reverse the process:
.harness/stacks.yml.env (only if they still have placeholder values — never remove configured keys)npm uninstall <package>lib/<tool_name>.ts, components/providers/<tool_name>-provider.tsx).mcp.json if applicable.harness/stacks.yml after execution.envpackage.json dependenciesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cheggin/skill-chain --plugin skill-chain2 plugins ship this exact skill · first indexed Oct 25, 2026
Other plugins' skills for the same job
122 skills in this plugin
/accessibility-checkerRun automated WCAG 2.1 AA accessibility audits using axe-core via Playwright. Use when implementing or reviewing UI features to enforce accessibility compliance, catch color contrast failures, validate keyboard navigation, check screen reader landmarks, verify alt text and ARIA attributes, or gate feature completion on accessibility standards./adaptAdapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility./agent-creatorCreate new agent definitions with specific instruction sets, skill assignments, and behavioral rules. Use when the user wants a new type of agent (e.g., research-papers agent, customer-support agent, data-pipeline agent) or wants to modify an existing agent's behavior.