jubscodes/get-shit-pretty/gsp-project-build
Claude Code and agent skill by jubscodes/get-shit-pretty
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Translate designs to code (technical phase — benefits from capable models) — use when: build this, implement, code this up, build me a X, add a X to the app, make the X page
Install
npx vskill@latest install jubscodes/get-shit-pretty/gsp-project-buildSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as jubscodes/get-shit-pretty/gsp-project-build.
<context> Phase 5 of the GSP project diamond. Uses a 7-phase pipeline with verification checkpoints to implement designs directly in the codebase as production-ready frontend components.
Works with the dual-diamond architecture: reads brand system from .design/branding/{brand}/patterns/ via brand.ref, reads/writes project assets in .design/projects/{project}/.
Pipeline architecture:
</context>
<objective> Implement designs as production-ready code in the codebase via phased pipeline with compile checkpoints.
Input: Design chunks + research chunks + brief chunks + brand system chunks Output: Code in the codebase + {project}/build/BUILD-LOG.md + {project}/build/SCAFFOLD-LOG.md Agent: gsp-project-builder (spawned per phase with execution mode) Output mode: Honor ${CLAUDE_SKILL_DIR}/../../policies/output-modes.md per preferences.project_size (default compact). Build-log verbosity adapts; code output is unaffected. </objective>
<execution_context> @${CLAUDE_SKILL_DIR}/../../templates/phases/build.md </execution_context>
<rules>
- Always use
AskUserQuestionfor user interaction — never prompt via plain text - One decision per question — never batch multiple questions in a single message
</rules>
<process>
Step 0: Resolve project and brand
If .design/projects/ does not exist: output "No GSP project found. Run /gsp-start to begin." and stop.
Resolve project from .design/projects/ (one → use it, multiple → ask). Set PROJECT_PATH.
Read {PROJECT_PATH}/brand.ref → set BRAND_PATH.
Step 0.5: Validate prerequisites
Read {PROJECT_PATH}/STATE.md. Check that Design (Phase 3) is complete or needs-revision (revision means critique ran and is feeding back). If design is pending or missing: "No designs found. Run /gsp-project-design first — building without designs leads to poor results." Then stop.
Exception: if design_scope is tokens in config.json, skip this check (tokens-only projects don't need design).
Step 1: Load config and check state
Read {PROJECT_PATH}/config.json to get implementation_target, design_scope, codebase_type, app_path.
Set APP_PATH = value of app_path. If empty, default to . (repo root).
Branch check
Read config.json git.branch. If set, check current branch with git branch --show-current. If different, warn: "⚠️ Expected branch {git.branch}, currently on {current}. Switch branches or continue?"
Figma scope check
If `implementation_target` is `figma`:
- Log: "📐 Figma target — producing implementation specs (no codebase to edit)"
- Skip to Step 7: Figma fallback (single agent, spec-only mode)
Revision mode
Check {PROJECT_PATH}/STATE.md for build status. If status is needs-revision:
- Read
{PROJECT_PATH}/review/issues.md— these are QA issues to address - Log: "🔄 Revision mode — addressing QA issues from review/issues.md"
- Skip to Step 8: Revision mode (single agent with issues)
Design check
If design doesn't exist (no design/ dir or no screen chunks in it), tell the user to run /gsp-project-design first and stop.
Enumerate screens
Read {PROJECT_PATH}/design/ directory. Collect all screen-{NN}-{name}.md files. Store as ordered list: SCREENS = [(01, landing), (02, changelog-list), ...]
Log screen list for user visibility.
Step 2: Phase 1 — SCAFFOLD
Invoke /gsp-scaffold via the Skill tool.
This handles: dependency installation, config file creation, component library init, build verification.
After scaffold completes, verify {PROJECT_PATH}/build/SCAFFOLD-LOG.md exists. Read it to confirm build status.
Gate: If scaffold reports build failure, stop and surface the error. Do not proceed to foundations with a broken build.
Step 2.5: Load agent methodology
Read ${CLAUDE_SKILL_DIR}/methodology/gsp-project-builder.md. Include the full content as Agent methodology in all agent prompts below (Steps 3, 4.5, 5, 7, 8).
Step 2.6: Load build references
Read these reference files:
${CLAUDE_SKILL_DIR}/visual-effects.md${CLAUDE_SKILL_DIR}/../gsp-project-design/block-patterns.md${CLAUDE_SKILL_DIR}/shadcn-composition.md${CLAUDE_SKILL_DIR}/agent-rules.md— common spawn guardrails (universal + per-mode)
Hold their content for inlining into agent prompts in Steps 3, 4.5, 5, 7, and 8.
Step 2.7: Theme apply gate
Verify brand tokens are installed in the codebase before spawning foundations. Foundations no longer pastes tokens — /gsp-brand-apply is the install primitive.
- If
{APP_PATH}/components.jsondoes not exist, skip this gate silently — the target is non-shadcn (scaffold's failure gate at end of Step 2 already covers a broken shadcn scaffold). - Resolve the CSS path: read
{APP_PATH}/components.jsonand extract the value at.tailwind.css(a relative path fromAPP_PATH). - Open
{APP_PATH}/{cssPath}. Verify:
- Contains
oklch( - Has both
:root {and.dark {blocks - Declares
--background,--foreground,--primary,--radius - If
{BRAND_PATH}/patterns/{brand-name}.theme.jsonexists: contains the brand's signaturecssVars.light.backgroundvalue from that file (this distinguishes the applied brand from shadcn's nova defaults). If{brand-name}.theme.jsondoes NOT exist (older brand from before Task 4 landed), skip the brand-signature check and rely on the structural checks only — log⚠ Brand theme.json not found — skipping brand-signature check.
If any required check fails, brand tokens are not applied (or the wrong brand is applied). Use AskUserQuestion:
- Question: "Brand tokens for {brand-name} not detected in
{APP_PATH}/{cssPath}. Run/gsp-brand-apply {brand-name}now?" - Options:
- A: "Yes — I'll run /gsp-brand-apply {brand-name}, then re-run /gsp-project-build"
- B: "No, abort the build"
On A: output Next: run /gsp-brand-apply {brand-name}, then re-invoke /gsp-project-build and exit this skill. The build does not auto-continue — the apply runs out-of-band and you re-invoke when ready.
On B: stop the build phase. Output: Build aborted — apply brand tokens with /gsp-brand-apply {brand-name} and re-run /gsp-project-build.
If all checks pass, log ✓ Brand tokens verified and continue to Step 3.
Step 3: Phase 2 — FOUNDATIONS
Spawn gsp-project-builder agent with execution_mode: foundations.
Context for foundations agent (lean — no screen chunks):
| File | Purpose | |
|---|---|---|
{BRAND_PATH}/patterns/{brand-name}.yml | Token values only — used with token-mapping.md to generate CSS variables. Do NOT re-read patterns/constraints/effects from here — those are in STYLE.md. | |
{BRAND_PATH}/patterns/STYLE.md | Design law — philosophy, patterns, constraints, effects, bold bets, implementation hints (if exists; fall back to {brand-name}.md) | |
{PROJECT_PATH}/brief/target-adaptations.md | Component adaptations for target | |
.design/system/STACK.md | Stack state (or .design/system/stacks/{APP_NAME}.md for monorepos) | |
.design/system/CONVENTIONS.md | Codebase conventions (if exists) | |
.design/system/COMPONENTS.md | Existing components (if exists) | |
{PROJECT_PATH}/config.json | Tech stack, target, app_path | |
APP_PATH = {APP_PATH} | Working directory — all file writes and build commands run here | |
| Build output template (from execution_context) | Build log structure | |
| Token mapping ref (loaded in Step 2.6) | shadcn component composition rules, semantic token usage, cn(), cva, RSC patterns | |
| Visual effects, block patterns refs (loaded in Step 2.6) | Design patterns + CSS recipes | |
| Agent methodology (loaded in Step 2.5) | Builder role, process, quality standards |
Agent instructions:
execution_mode: foundationsBuild token integration, global styles, layout primitives, theme provider/utilities ONLY.Foundation-specific actions:1. Add base styles + dark mode setup + font imports thatapplydid not handle (cssVars.theme.font-sansmay set the CSS var without thenext/font/googleimport — add it if missing)2. Create root layout with nav + footer shells (structure only)3. Create shared utilities (cn helper, theme provider)4. Apply STYLE.md bold bets + effects as CSS utilities / Tailwind extensions; validate against never/always constraints5. For shadcn targets: semantic tokens (bg-primary), never raw values (bg-blue-500);gap-*notspace-y-*;size-*when w/h equalSeeagent-rules.md(loaded in Step 2.6) for universal + per-mode guardrails (write to codebase, leave unstaged, log tobuild/logs/foundations.md, no BUILD-LOG.md direct write).
Checkpoint: Compile check
After the foundations agent completes, run the build command in APP_PATH:
| Stack | Build command | |
|---|---|---|
| Next.js | cd {APP_PATH} && npx next build | |
| Vite | cd {APP_PATH} && npx vite build | |
| TypeScript only | cd {APP_PATH} && npx tsc --noEmit | |
| Generic | cd {APP_PATH} && npm run build |
Pass: Continue to preview verification, then Step 4. Fail: Log the error. Do NOT re-spawn the agent. Surface the error to the user and ask how to proceed.
Preview verification (opt-in)
After compile passes, verify the foundations actually render:
- Check if dev server is already running (
lsof -i :3000or:5173) - If running, use
curl -s http://localhost:{port}to fetch the page - Check the HTML response for:
- Not blank — response body has more than just the shell/boilerplate (>500 chars of content)
- Tokens resolved — grep the response for CSS variables or Tailwind classes from the token config. If
var(--appears but no matching custom property is defined, tokens may be broken. - Font loaded — check for the expected Google Fonts import or
@font-facerule
If dev server is not running, skip verification silently — do not start one. This keeps it zero-config.
Report any issues found: "⚠️ Preview check: {issue}. This may be cosmetic — continue or investigate?"
Step 4: Phase 3 — FOUNDATION REVIEW
Present a summary of what the foundations phase produced:
Use AskUserQuestion: "Foundations look good? Continue building components, or review first?"
- Continue → proceed to Step 4.5
- Review first → pause, let user inspect, resume when ready
- Adjust → user requests changes (colors, typography, spacing, etc.)
Brand feedback loop
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggsp/skills/gsp-project-build/SKILL.md
Popularity
- Repository stars
- 43
- Repository forks
- 4
- Repository npm downloads, 7 days
- 59
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 17 May 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jubscodes/get-shit-pretty/gsp-project-build)