diff --git a/skills/design-build/SKILL.md b/skills/design-build/SKILL.md index d074fb3..cf95210 100644 --- a/skills/design-build/SKILL.md +++ b/skills/design-build/SKILL.md @@ -77,10 +77,10 @@ Be specific in the agent prompt about what file to create. The agent should: ### Step 5: Save the output -Create an output directory and save: +Create an output directory in the current project and save: ```bash -mkdir -p /home/sam/chats/sys_config/docker/penpot_designs/ +mkdir -p ./designs/ ``` Write the generated code to `index.html` in that directory. @@ -88,16 +88,16 @@ Write the generated code to `index.html` in that directory. Also save a `README.md` with: - The original design spec - The DESIGN.md URL used -- How to preview: `cd && python3 -m http.server 3000` +- How to preview: `cd ./designs/ && python3 -m http.server 3000` ### Step 6: Show the result Tell the user: ``` -Code generated → /home/sam/chats/sys_config/docker/penpot_designs//index.html +Code generated → ./designs//index.html To preview: - cd /home/sam/chats/sys_config/docker/penpot_designs// + cd ./designs// python3 -m http.server 3000 → Open http://localhost:3000 @@ -120,9 +120,9 @@ Same format as design-explore. See `~/.agents/skills/design-explore/SKILL.md` fo ## Output Location -All generated projects go to: +All generated projects go to the current working directory: ``` -/home/sam/chats/sys_config/docker/penpot_designs// +./designs// ``` -This keeps designs organized and previewable. Create the parent directory if it doesn't exist. +This keeps designs with the project — they can be rsync'd to servers, committed to git, or referenced by other tools. The parent `./designs/` directory is created if it doesn't exist.