fullstack-builder
Skill1 starsChanged 7 days agoMITView on GitHub
Phase 4 Full-Stack Builder for VibeCraft. Implements strict, zero-placeholder source modules honoring the Phase 3 contracts, Phase 2 CSS tokens, and Phase 1 gotcha mitigations, then prepares the final launchpad_artifact.html for QA verification. Activate on Phase 4 after blueprint approval.
- Reads credentials
In this repository5 other files it gives its agents.
- brand-artisanSkill
- qa-auditorSkill
- research-scoutSkill
- system-architectSkill
- vibecraftSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Hand off internally to
qa-auditor: Do not send a separate Builder chat message. - Distinctive: line 43
Contract-change escalation: If implementing a module proves a Phase 3 contract cannot compile or violates a platform API, stop widening …
- Very specific: line 58
Never embed real or sample-looking live API keys (sk-ant-..., AKIA..., PEM blocks) in generated files or .env files (VC018).
- Very specific: line 59
Never silence compiler errors with @ts-ignore, @ts-expect-error, or as unknown as T.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Phase 4A: Full-Stack Builder
Purpose
Implement every file in the approved Phase 3 LAUNCH.tree to production quality: strict types, 100% :root token styling, complete interactive and async UI states, concrete Phase 1 gotcha mitigations, and a finalized Launchpad bundle (launchpad_artifact.html), then hand off directly to QA Auditor in the same turn before replying to the user.
Inputs
- Approved Phase 3 blueprint (
LAUNCH.tree,LAUNCH.contracts,LAUNCH.flow,LAUNCH.sequence). - Locked Phase 2
:rootCSS tokens (VIBECRAFT LOCK). - Locked Phase 1 stack + both
[Gotcha]mitigations (VIBECRAFT PICK). - Craft 12 and code quality specifications in
../vibecraft/references/craft-12.mdand../vibecraft/references/code-quality.md.
Preconditions
- User approved Phase 3 (
1,"go","approve", or explicit revision + build instruction). src/styles/tokens.css(or equivalent root token stylesheet) is written verbatim fromVIBECRAFT LOCKbefore any UI component is authored.
Step Procedure
- Write
tokens.cssand shared contracts first: Materializesrc/styles/tokens.cssfromVIBECRAFT LOCKandsrc/contracts/*fromLAUNCH.contractswithout widening a single type. - Implement core logic and gotcha mitigations: Build storage, worker, API, or CLI modules with explicit
Result<T, AppError>error handling and both Phase 1[Gotcha]mitigations wired in and covered by unit/smoke tests. - Implement accessible, token-pure UI views: Every component reads colors, radii, shadows, and fonts exclusively via
var(--token)(zero hex/RGB/Tailwind default palette utilities such asbg-indigo-500ortext-white). Implementdefault,hover,focus-visible,active, anddisabledstates on controls, plusloading,empty,error, and375pxoverflowstates on views. - Assemble final
launchpad_artifact.htmlpayload (LAUNCH): Populate all 15LAUNCHkeys (phase: 'Phase 4 of 4 · Launchpad',title: '<Name> is ready to launch',name,tagline,contractsLang,readme,commands,tree,flow,sequence,contracts,logo,midjourney,dalle,nextSteps). BuildLAUNCH.logoas a clean inline<svg viewBox="0 0 64 64">using2 to 5geometric primitives (rect,circle,ellipse,line,polyline,polygon,path,g) styled withvar(--accent),var(--ink), andvar(--surface-2)(zero<script>, zeroon*handlers, zero<foreignObject>). - Hand off internally to
qa-auditor: Do not send a separate Builder chat message. Pass all generated files and the candidateLAUNCHpayload directly toqa-auditorso compiler checks, the 19-rule Audit Engine v2 (scripts/audit/cli.js), deslop repairs,04-qa-diff.html, and04-launchpad.htmlcomplete in the same turn.
Decision Rules (Numeric Thresholds)
- Placeholder tolerance:
0(TODO,FIXME,HACK,lorem ipsum, stub handlers returningnullorthrow new Error('not implemented')are forbidden). - Token purity:
100%of color/surface declarations outsidetokens.cssmust referencevar(--...)(0VC001violations). - Control accessibility:
100%of interactive elements must carry:focus-visiblerules, accessible names (VC003,VC010), and hit targets>= 24px(36px to 44pxstandard). - SVG mark safety:
2 to 5geometric SVG primitives only;0scripts, externalhrefs, or event attributes (enforced bylaunchpad_artifact.html'sDOMParserallowlist sanitizer).
Output Contract
- Workspace delivery (Claude Code or Claude Desktop with
vibecraft-filesystemMCP): Write complete project files under the target directory (./in Claude Code;${VIBECRAFT_WORKSPACE_DIR}/<app-slug>/in Claude Desktop when writable). - Fallback delivery (read-only filesystem or Claude Desktop without MCP): Deliver one clearly named code artifact per module in dependency order (
tokens.css->contracts->core->ui->tests). - Contract-change escalation: If implementing a module proves a Phase 3 contract cannot compile or violates a platform API, stop widening types, record the exact mismatch, and escalate through the Phase 4 recovery micro-prompt (
[1] Approve contract adjustment* [2] Return to Phase 3).
Worked Examples
See references/examples.md for two complete build patterns:
- Clean Build + Handoff: Token-pure UI component + streaming Worker implementation + sanitized geometric SVG logo handed off to QA Auditor.
- Contract Conflict Escalation: Discovering mid-build that Web
SubtleCrypto.verifyis async while a Phase 3 synchronousverifySignature(): booleaninterface was locked (halts withoutas anytype laundering and escalates cleanly).
Failure Modes & Recovery
- Filesystem
EACCESor outside allowed MCP directory: Catch permission denial cleanly, emit modules as inline artifacts, and report the path fallback in 1 line during the Phase 4 summary. - Temptation to use Tailwind default palette (
bg-zinc-900,text-emerald-400): Map custom theme keys tovar(--bg),var(--ok), etc., or write scoped CSS reading:roottokens directly soVC001passes at100%.
Refusal & Escalation Rules
- Never embed real or sample-looking live API keys (
sk-ant-...,AKIA..., PEM blocks) in generated files or.envfiles (VC018); generate.env.examplewith empty placeholders (BRAVE_API_KEY=). - Never silence compiler errors with
@ts-ignore,@ts-expect-error, oras unknown as T.
Token / Word Budget
SKILL.mdtarget:< 1,050words (< 5,600bytes).- Chat budget:
0standalone lines (merged intoqa-auditor's unified Phase 4 response).
Self-Check List
- Does
tokens.cssmatchVIBECRAFT LOCKverbatim, and do all other files contain0hardcoded colors or Tailwind palette classes? - Are all 15
LAUNCHkeys populated with non-empty domain content and a 2-to-5-primitive geometric<svg>logo? - Are both Phase 1
[Gotcha]mitigations implemented in real code (not comments)? - Are interactive states (
hover,focus-visible,active,disabled) and view states (loading,empty,error,overflow) present?
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

