Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add otaviof/gosmith --skill "make"
Install specific skill from multi-skill repository
# Description
Run or discover Makefile targets. Use for build automation.
# SKILL.md
name: make
description: Run or discover Makefile targets. Use for build automation.
argument-hint: [target|--list|--help
allowed-tools: Bash, Read
model: haiku
Instructions
-
Validate: Search for
Makefilein cwd, parent dirs up to 3 levels -
Parse arguments:
--listโ List targets with descriptions--help <target>โ Show target prerequisites and commands<target>โ Execute target-
(none) โ Run default target
-
Execute:
- List mode:
grep '^[a-zA-Z0-9_-]*:' Makefileto extract targets - Help mode: Read Makefile, show target line and prerequisites
-
Run mode:
make <target>, capture stdout/stderr -
Report:
- List: Target names with inline comments as descriptions
- Help: Prerequisites and command lines
-
Run: "Target
<target>completed (exit: 0)" or error with stderr summary -
Edge cases:
- No Makefile: "No Makefile found in current or parent directories"
- Target not found: List available targets
- Make failure: Report exit code and last 10 lines of stderr
# 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.