agentleFS
datashamandatashaman/code-skills/skills/website-spec-pipeline/SKILL.md

website-spec-pipeline

Skill1 starsChanged 7 months agoMITView on GitHub

Build a multi-stage website specification pipeline that moves from discovery through IA, page planning, UX structure, design system, responsive rules, wireframes, and review using JSON contracts between stages. Use when the user wants to design a website through agent handoffs, create auditable page specifications, generate downstream UI from structured artifacts, or avoid burying site architecture inside prompts.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 13 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants to build a website through staged agent outputs rather than a single "design me a website" prompt.

    line 9
  2. Distinctive:

    Run this skill from inside a local git repository.

    line 17
  3. Distinctive:

    If the user is not in a git repository, stop and say so plainly.

    line 19
  4. Distinctive:

    Always work in this order:

    line 35
  5. Distinctive:

    Do not skip forward unless the user explicitly wants only a later-stage artifact.

    line 46
  6. Distinctive:

    Treat each stage output as the contract for the next stage.

    line 50
  7. Distinctive:

    Prefer JSON for machine-readable artifacts.

    line 51
  8. Distinctive:

    Keep content and structure decisions ahead of visual styling.

    line 52
  9. Distinctive:

    Consider content types, how they are presented, and how inputs are captured before making UX or visual design decisions.

    line 53
  10. Distinctive:

    Keep outputs auditable: if a later decision cannot be traced to an earlier artifact, call it out.

    line 56
  11. Distinctive:

    Write each stage output to a stable file path before moving to the next stage.

    line 57
  12. Distinctive:

    Write that contract to the repository.

    line 64
  13. Distinctive:

    If the user wants implementation, generate from the page spec rather than from freeform prose.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Website Spec Pipeline

Use this skill when the user wants to build a website through staged agent outputs rather than a single "design me a website" prompt.

What this skill produces

The primary output is a chain of structured artifacts. The core artifact is the page specification, which downstream agents can use to generate wireframes, designs, components, views, or CMS models.

Repository requirement

Run this skill from inside a local git repository. The repository is the natural home for discovery notes, IA contracts, page specs, wireframes, review findings, and later implementation artifacts.

If the user is not in a git repository, stop and say so plainly. Do not generate substantial artifacts into chat as a substitute for a project home. Treat repository selection or creation as the first prerequisite.

Artifact persistence

The output of each stage must be stored as files in the repository. Do not let discovery notes, IA decisions, page specs, wireframes, or review findings exist only in chat.

Chat is for:

  • explaining what was created
  • calling out assumptions or blockers
  • linking to the files that now hold the source of truth

Chat is not the artifact store.

Stage order

Always work in this order:

  1. Discovery
  2. Information Architecture
  3. Page Planning
  4. UX Structure
  5. Design System
  6. Responsive Matrix
  7. Wireframes
  8. Review

Do not skip forward unless the user explicitly wants only a later-stage artifact. If a prerequisite is missing, flag the gap and state which earlier artifact is required.

Operating rules

  • Treat each stage output as the contract for the next stage.
  • Prefer JSON for machine-readable artifacts; use Markdown only for commentary around the contract.
  • Keep content and structure decisions ahead of visual styling.
  • Consider content types, how they are presented, and how inputs are captured before making UX or visual design decisions.
  • Make page goals, CTAs, and success metrics explicit before proposing sections or UI.
  • Require responsive behavior, accessibility, and review criteria as first-class artifacts, not afterthoughts.
  • Keep outputs auditable: if a later decision cannot be traced to an earlier artifact, call it out.
  • Write each stage output to a stable file path before moving to the next stage.

How to run it

  1. Confirm the current folder is a git repository; if not, block on repository setup.
  2. Identify the user's current stage and missing upstream inputs.
  3. Produce the next contract in sequence.
  4. Write that contract to the repository.
  5. Validate the contract against the stage checklist in REFERENCE.md.
  6. If the user wants implementation, generate from the page spec rather than from freeform prose.

Core reference

See REFERENCE.md for:

  • the stage-by-stage workflow
  • required inputs and outputs
  • JSON contract shapes
  • the canonical page-spec schema
  • review criteria and anti-patterns

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.