Agent skill
set-up-framework
Setup framework development environment using configuration from setup directory
Install this agent skill to your Project
npx add-skill https://github.com/yuheitomi/llm-instructions/tree/main/skills/set-up-framework
SKILL.md
Please help me setup a framework development environment using the configuration files from the setup directory. Here's what I need you to do:
- First, fetch the setup index from https://raw.githubusercontent.com/yuheitomi/llm-instructions/refs/heads/main/setup/index.md using
curlorwget(prefer these over WebFetch) - Parse the index to understand available setup guides
- Use the '$ARGUMENTS' keyword to find the most relevant setup guide(s)
- If '$ARGUMENTS' is provided, search for setup guides that match the keyword in:
- File names
- Guide titles
- Guide descriptions
- If no keyword is provided or multiple matches are found, ask the user to clarify which setup they want
- Download the selected setup guide to a temporary location
- Read and execute the instructions from the setup guide
- Provide a summary of what was configured
Search Strategy:
When matching keywords, consider these common patterns:
- "prettier" → Prettier setup configuration
- "eslint" → ESLint setup configuration
- "svelte" or "svelte5" → Svelte 5 development environment setup
- "format" or "formatting" → Prettier setup configuration
- "lint" or "linting" → ESLint setup configuration
Setup Process:
- Create temporary directory if needed using
mkdir -p ./temp - Download raw markdown files using
curlorwgetfrom:https://raw.githubusercontent.com/yuheitomi/llm-instructions/refs/heads/main/setup/[file-name] - Prefer
curl -o temp/setup.md URLorwget -O temp/setup.md URLfor downloads - Read the downloaded setup guide and follow its instructions
- Execute the configuration steps as described in the guide
- Clean up temporary files after successful setup
Command Examples:
# Fetch setup index first
curl -s https://raw.githubusercontent.com/yuheitomi/llm-instructions/refs/heads/main/setup/index.md
# Download specific setup guides
curl -o ./temp/setup-prettier.md https://raw.githubusercontent.com/yuheitomi/llm-instructions/refs/heads/main/setup/setup-prettier.md
curl -o ./temp/setup-eslint.md https://raw.githubusercontent.com/yuheitomi/llm-instructions/refs/heads/main/setup/setup-eslint.md
curl -o ./temp/setup-svelte5.md https://raw.githubusercontent.com/yuheitomi/llm-instructions/refs/heads/main/setup/setup-svelte5.md
Error Handling:
- If the keyword is ambiguous (multiple matches), list all matches and ask user to choose
- If no matches found, show available setup guides and ask for clarification
- If
curlorwgetdownload fails, provide clear error message and suggest alternatives - If temporary directory cannot be created, suggest alternative location
- Only use WebFetch as a fallback if curl/wget are not available or fail
- If setup instructions fail, provide clear error message and suggest manual steps
Tool Priority:
- First choice: Use
curlorwgetfor all HTTP requests - Fallback: Use WebFetch only if curl/wget fail or are unavailable
- Always: Use
mkdir -p ./tempto ensure temporary directory exists - Execution: Follow the instructions in the downloaded setup guide exactly as written
- Cleanup: Remove temporary files after successful setup
Important Notes:
- Read this document as guidance and customize the configuration appropriately for the specific project being worked on
- Detect the project structure, existing setup, and framework version before applying setup instructions
- If tools are already configured, improve the existing configuration using the provided instructions
- Ask for clarification if the proposed configuration does not match the existing setup
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
setup-react-app-config
Set up configuratin files for the React project (Biome, Shadcn/UI)
commit
Commits changes in logical chunks with proper commit messages
gh-issue
Creates a new GitHub issue in the current repository
create-pr
Commits changes in logical chunks and creates a PR
set-up-llm-docs
Download LLM instruction documents from the repository
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?