Reorganize: Move all skills to skills/ folder
- Created skills/ directory - Moved 272 skills to skills/ subfolder - Kept agents/ at root level - Kept installation scripts and docs at root level Repository structure: - skills/ - All 272 skills from skills.sh - agents/ - Agent definitions - *.sh, *.ps1 - Installation scripts - README.md, etc. - Documentation Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
---
|
||||
description: Remove all temporary design lab files created during a design-and-refine session
|
||||
---
|
||||
|
||||
# Cleanup Command
|
||||
|
||||
Manually clean up all temporary files created during a design-and-refine session.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/design-and-refine:cleanup
|
||||
```
|
||||
|
||||
## What This Does
|
||||
|
||||
Removes all temporary files and directories created during design exploration:
|
||||
|
||||
1. **`.claude-design/`** - The main temporary directory containing:
|
||||
- Design lab variants
|
||||
- Preview files
|
||||
- Design brief JSON
|
||||
- Run logs
|
||||
|
||||
2. **Temporary routes:**
|
||||
- `app/__design_lab/` (Next.js App Router)
|
||||
- `app/__design_preview/` (Next.js App Router)
|
||||
- `pages/__design_lab.tsx` (Next.js Pages Router)
|
||||
- `pages/__design_preview.tsx` (Next.js Pages Router)
|
||||
|
||||
3. **Any App.tsx modifications** (for Vite projects without routers)
|
||||
|
||||
## Instructions
|
||||
|
||||
When this command is invoked:
|
||||
|
||||
1. Check if `.claude-design/` directory exists
|
||||
2. If it exists, list the contents and ask for confirmation before deleting
|
||||
3. Check for temporary route files in common locations
|
||||
4. Delete confirmed files
|
||||
5. Report what was deleted
|
||||
|
||||
**Safety rules:**
|
||||
- ONLY delete files inside `.claude-design/`
|
||||
- ONLY delete route files that match the plugin's naming pattern (`__design_lab`, `__design_preview`)
|
||||
- Always confirm with the user before deleting
|
||||
- Never delete user-authored files
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
description: Start a design and refine session - generate variations, collect feedback, and iterate to the perfect design
|
||||
---
|
||||
|
||||
# Start Design & Refine
|
||||
|
||||
Begin an interactive design session that generates UI variations, collects your feedback, and iterates until you're confident in the result.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/design-and-refine:start [target]
|
||||
```
|
||||
|
||||
**Arguments:**
|
||||
- `target` (optional): The component or page to design/redesign. If not provided, you'll be asked.
|
||||
|
||||
## What This Does
|
||||
|
||||
1. **Interviews you** about requirements, pain points, and style direction
|
||||
2. **Infers visual styles** from your existing codebase
|
||||
3. **Generates five distinct variations** in a temporary Design Lab route
|
||||
4. **Collects your feedback** on what you like about each
|
||||
5. **Synthesizes a refined version** combining the best elements
|
||||
6. **Iterates until you're confident** in the final design
|
||||
7. **Cleans up** all temporary files and produces an implementation plan
|
||||
|
||||
## Instructions
|
||||
|
||||
When this command is invoked, follow the Design Lab skill workflow exactly. The skill contains:
|
||||
- The complete interview script
|
||||
- Framework and styling detection logic
|
||||
- Visual style inference from the project
|
||||
- Variant generation guidelines
|
||||
- Feedback collection and synthesis process
|
||||
- Cleanup procedures
|
||||
|
||||
$ARGUMENTS will contain any target specified by the user.
|
||||
|
||||
Begin by running the preflight detection, then start the interview process. Use the AskUserQuestion tool for all interview steps.
|
||||
Reference in New Issue
Block a user