website-build-skill 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +12 -0
- package/.claude-plugin/plugin.json +10 -0
- package/AGENTS.md +19 -0
- package/CHANGELOG.md +42 -0
- package/CLAUDE.md +16 -0
- package/CODE_OF_CONDUCT.md +127 -0
- package/CONTRIBUTING.md +49 -0
- package/LICENSE +21 -0
- package/MAINTAINERS.md +12 -0
- package/README.md +148 -0
- package/RELEASING.md +133 -0
- package/REPO_SETTINGS.md +91 -0
- package/SECURITY.md +28 -0
- package/adapters/agents-md.md +26 -0
- package/adapters/antigravity.md +68 -0
- package/adapters/chatgpt-project.md +57 -0
- package/adapters/claude-code.md +25 -0
- package/adapters/claude-desktop.md +33 -0
- package/adapters/codex.md +21 -0
- package/adapters/custom-gpt.md +57 -0
- package/adapters/grok.md +100 -0
- package/adapters/hermes.md +49 -0
- package/adapters/team.yaml +42 -0
- package/adapters/zero-install.md +17 -0
- package/bin/website-build-skill.mjs +6 -0
- package/docs/COMPATIBILITY.md +34 -0
- package/docs/EVALUATION.md +109 -0
- package/docs/INSTALLER.md +73 -0
- package/docs/LIBRARY-CHECK.md +95 -0
- package/docs/METHOD.md +32 -0
- package/docs/PROVENANCE.md +36 -0
- package/docs/TIPS.md +18 -0
- package/docs/bundles/checklists.md +414 -0
- package/docs/bundles/method.md +1398 -0
- package/docs/bundles/playbooks.md +1566 -0
- package/docs/bundles/prompts.md +987 -0
- package/docs/bundles/team.md +1781 -0
- package/docs/evaluation/host-trial.md +95 -0
- package/docs/evaluation/receipt-template.json +18 -0
- package/docs/evidence/audit-baseline.json +61 -0
- package/docs/evidence/content-review.json +141 -0
- package/docs/evidence/floor.json +345 -0
- package/docs/evidence/library-check.json +164 -0
- package/docs/evidence/local-checks.json +156 -0
- package/llms.txt +74 -0
- package/package.json +68 -0
- package/skills/website-build-skill/SKILL.md +124 -0
- package/skills/website-build-skill/archive/graphics-design-original.md +70 -0
- package/skills/website-build-skill/checklists/accessibility.md +38 -0
- package/skills/website-build-skill/checklists/brand-and-mockups.md +43 -0
- package/skills/website-build-skill/checklists/build.md +39 -0
- package/skills/website-build-skill/checklists/performance-seo.md +40 -0
- package/skills/website-build-skill/checklists/research.md +91 -0
- package/skills/website-build-skill/checklists/security.md +38 -0
- package/skills/website-build-skill/checklists/ship.md +59 -0
- package/skills/website-build-skill/examples/audit-cases.md +66 -0
- package/skills/website-build-skill/examples/fictional-studio-brief.md +73 -0
- package/skills/website-build-skill/examples/fictional-studio-handoff.md +98 -0
- package/skills/website-build-skill/manifest.json +1474 -0
- package/skills/website-build-skill/playbooks/accessibility.md +91 -0
- package/skills/website-build-skill/playbooks/choose-stack.md +69 -0
- package/skills/website-build-skill/playbooks/data-and-templates.md +89 -0
- package/skills/website-build-skill/playbooks/deploy-and-operate.md +87 -0
- package/skills/website-build-skill/playbooks/embed-facades.md +59 -0
- package/skills/website-build-skill/playbooks/image-pipeline.md +73 -0
- package/skills/website-build-skill/playbooks/performance-budgets.md +76 -0
- package/skills/website-build-skill/playbooks/research-and-memory.md +398 -0
- package/skills/website-build-skill/playbooks/security-headers.md +132 -0
- package/skills/website-build-skill/playbooks/self-hosted-fonts.md +62 -0
- package/skills/website-build-skill/playbooks/structured-data-and-llms.md +84 -0
- package/skills/website-build-skill/prompts/00-start.md +94 -0
- package/skills/website-build-skill/prompts/01-website-deep-research.md +233 -0
- package/skills/website-build-skill/prompts/03-extract-brand-kit.md +46 -0
- package/skills/website-build-skill/prompts/04-three-mockups.md +44 -0
- package/skills/website-build-skill/prompts/05-stack-and-build.md +46 -0
- package/skills/website-build-skill/prompts/06-site-audit.md +39 -0
- package/skills/website-build-skill/prompts/07-accessibility-contrast.md +38 -0
- package/skills/website-build-skill/prompts/08-seo-aeo.md +72 -0
- package/skills/website-build-skill/prompts/09-security-headers.md +40 -0
- package/skills/website-build-skill/prompts/10-adversarial-pre-ship.md +44 -0
- package/skills/website-build-skill/prompts/11-ship-and-verify.md +44 -0
- package/skills/website-build-skill/prompts/12-web-design-team.md +141 -0
- package/skills/website-build-skill/references/stacks/framework.md +76 -0
- package/skills/website-build-skill/references/stacks/scripted-static.md +76 -0
- package/skills/website-build-skill/references/stacks/static-html.md +72 -0
- package/skills/website-build-skill/roles/builder.md +139 -0
- package/skills/website-build-skill/roles/coordinator.md +132 -0
- package/skills/website-build-skill/roles/designer.md +125 -0
- package/skills/website-build-skill/roles/graphics.md +126 -0
- package/skills/website-build-skill/roles/optimizer.md +129 -0
- package/skills/website-build-skill/roles/researcher.md +202 -0
- package/skills/website-build-skill/roles/reviewer.md +139 -0
- package/skills/website-build-skill/templates/audit-brief.md +63 -0
- package/skills/website-build-skill/templates/brand.md +53 -0
- package/skills/website-build-skill/templates/brief.md +51 -0
- package/skills/website-build-skill/templates/evidence.md +100 -0
- package/skills/website-build-skill/templates/handoff.yaml +23 -0
- package/skills/website-build-skill/templates/install-choice.txt +28 -0
- package/skills/website-build-skill/templates/site-operations.md +71 -0
- package/skills/website-build-skill/templates/status.md +47 -0
- package/skills/website-build-skill/templates/tokens.json +72 -0
- package/src/agents.mjs +7 -0
- package/src/bundle.mjs +106 -0
- package/src/catalog.mjs +12 -0
- package/src/choice.mjs +6 -0
- package/src/cli.mjs +96 -0
- package/src/install.mjs +344 -0
- package/src/library-check.mjs +106 -0
- package/src/validate.mjs +351 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
ASK DATE prerequisite: follow playbooks/research-and-memory.md#ask-date-rule.
|
|
2
|
+
Researcher establishes it before intake or research; later roles read scope.md.
|
|
3
|
+
Never ask the user for the date or infer it from model knowledge. Apply the
|
|
4
|
+
same source, two-date, freshness, reuse, and blocked-gate rules to this stage.
|
|
5
|
+
|
|
6
|
+
Research and implement discoverability for this site's actual audience and content.
|
|
7
|
+
First require accepted research and read site-work/research/library/README.md,
|
|
8
|
+
05-search-and-answers.md, 07-measurement-and-operations.md, and their domain checklists.
|
|
9
|
+
Use the areas below only to top up Optimizer's questions against that library; send
|
|
10
|
+
stale or wrong claims back to Researcher before dependent decisions.
|
|
11
|
+
Use SEO and answer-engine practices with evidence, not guarantees about ranking.
|
|
12
|
+
|
|
13
|
+
STANDARDS
|
|
14
|
+
- Search the web for every dated claim (tool capabilities, pricing, licensing, trends,
|
|
15
|
+
platform specs). Never answer those from training memory.
|
|
16
|
+
- Every claim gets a source URL, publication/update date (unknown if absent), and
|
|
17
|
+
an actual access date on or after the ASK DATE. Open every output file with
|
|
18
|
+
"Research as of <ASK DATE>".
|
|
19
|
+
- Where sources disagree, record the disagreement - never average it.
|
|
20
|
+
- Mark anything you could not verify as UNVERIFIED.
|
|
21
|
+
|
|
22
|
+
RESEARCH THESE 8 AREAS
|
|
23
|
+
1. Audience questions and page intent - what someone should learn or do on each route.
|
|
24
|
+
Go deepest here. Do not make keyword lists substitute for useful answers.
|
|
25
|
+
2. Crawlability - initial HTML, robots rules, status codes, canonical URLs, sitemap,
|
|
26
|
+
redirects, pagination if relevant, and intentional exclusions.
|
|
27
|
+
3. Entity modeling - truthful identities, stable IDs, ownership, and page relationships.
|
|
28
|
+
Go deep here too. Pick schema types that fit the site rather than copying a graph.
|
|
29
|
+
4. Answer extraction - standalone answer-first sections, clear headings, attribution,
|
|
30
|
+
dates where meaningful, and visible evidence behind factual claims.
|
|
31
|
+
5. Structured data - current vocabularies, current consumer support, and exact parity
|
|
32
|
+
between visible content and markup. Never equate valid schema with rich-result eligibility.
|
|
33
|
+
6. Discovery files - a data-derived sitemap and llms.txt; IndexNow only where supported
|
|
34
|
+
and authorized. Identify what each consumer actually documents.
|
|
35
|
+
7. Social previews - per-route initial metadata, stable image URLs, actual dimensions,
|
|
36
|
+
and the difference between an origin response and a third-party cache.
|
|
37
|
+
8. Measurement - indexing evidence, search-console access if provided, CWV, and what
|
|
38
|
+
cannot yet be measured on a new site. Separate traffic from crawler availability.
|
|
39
|
+
|
|
40
|
+
SAVE THE RESULTS - two places, both required:
|
|
41
|
+
A. site-work/research/optimizer/:
|
|
42
|
+
- README.md - current findings and decisions
|
|
43
|
+
- sources.md - claims, URLs, dates, disagreements, unresolved items
|
|
44
|
+
- route-map.md - intent, canonical URL, status, schema, sitemap membership
|
|
45
|
+
- qa-checklist.md - checks that run against rendered HTML and live responses
|
|
46
|
+
- memory-receipt.md - durable save result or pending manual save
|
|
47
|
+
B. Your memory: save the durable rules and research location through an authorized,
|
|
48
|
+
supported mechanism. Remember truthful schema, generated discovery files,
|
|
49
|
+
answer-first copy, and re-verification of dated search claims.
|
|
50
|
+
If memory is unavailable, write site-work/research/optimizer/memory-proposal.md
|
|
51
|
+
for Coordinator to consolidate into site-work/MEMORY.md for saving or reattachment. Never claim automatic persistence.
|
|
52
|
+
|
|
53
|
+
APPLY
|
|
54
|
+
- Test intended-public routes and deliberate exclusions against the route map.
|
|
55
|
+
- Use Person, Organization, and ProfilePage only where the visible facts fit.
|
|
56
|
+
- Add FAQPage only for actual visible questions and answers when appropriate.
|
|
57
|
+
- Do not promise Google FAQ rich results; verify current Google support first.
|
|
58
|
+
- Treat llms.txt as navigation assistance, not a proven ranking requirement.
|
|
59
|
+
- Do not add AI-blocking metadata by default; respect an explicit owner policy.
|
|
60
|
+
- Own site-work/optimization/route-map.json, metadata.json, structured-data.json,
|
|
61
|
+
answers.md, llms.txt, and sitemap.xml as the discovery inputs. Validate them.
|
|
62
|
+
- Builder alone integrates these inputs into implementation paths and generates the
|
|
63
|
+
deployable HTML, sitemap, and llms.txt. Request changes through a handoff, never
|
|
64
|
+
edit Builder's source directly. Revalidate the actual rendered candidate afterward.
|
|
65
|
+
- Save implementation evidence to site-work/qa/seo-aeo.md.
|
|
66
|
+
|
|
67
|
+
When done, report the most surprising findings and ask for any missing owner-approved
|
|
68
|
+
identity, audience questions, canonical domain, or content needed to make the graph true.
|
|
69
|
+
|
|
70
|
+
EVIDENCE
|
|
71
|
+
Never report a measured, saved, installed, or deployed result without evidence.
|
|
72
|
+
Apply the stage route and named checks in manifest.json before handing off.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
ASK DATE prerequisite: follow playbooks/research-and-memory.md#ask-date-rule.
|
|
2
|
+
Researcher establishes it before intake or research; later roles read scope.md.
|
|
3
|
+
Never ask the user for the date or infer it from model knowledge. Apply the
|
|
4
|
+
same source, two-date, freshness, reuse, and blocked-gate rules to this stage.
|
|
5
|
+
|
|
6
|
+
Configure security headers for the real host and built site, then verify their behavior.
|
|
7
|
+
Read playbooks/security-headers.md and inspect the site's actual resource requests first.
|
|
8
|
+
|
|
9
|
+
INVENTORY
|
|
10
|
+
- Record scripts, styles, fonts, images, media, connections, frames, forms, and endpoints.
|
|
11
|
+
- Explain each external origin and remove unused allowances.
|
|
12
|
+
- Choose the starter matching the host and response type; static configuration does
|
|
13
|
+
not necessarily cover server-rendered or function responses.
|
|
14
|
+
|
|
15
|
+
CONFIGURE
|
|
16
|
+
- Enforce a tailored CSP with object-src 'none', base restrictions, and framing protection.
|
|
17
|
+
- Prefer self-hosted fonts and click-to-play embeds to keep permissions narrow.
|
|
18
|
+
- Handle legitimate inline content with exact hashes or an appropriate nonce design.
|
|
19
|
+
- Never add unsafe-eval to production to silence an error.
|
|
20
|
+
- Set nosniff, framing protection, Referrer-Policy, and a relevant Permissions-Policy.
|
|
21
|
+
- Use two-year HSTS only after verifying HTTPS readiness; inspect all subdomains
|
|
22
|
+
before includeSubDomains, and never opt into preload as an incidental cleanup.
|
|
23
|
+
- Avoid duplicate CSP headers that accidentally intersect into a broken policy.
|
|
24
|
+
|
|
25
|
+
VERIFY
|
|
26
|
+
- Inspect actual headers for normal pages, redirects, errors, static assets, and functions.
|
|
27
|
+
- Exercise the main journey in a real browser with the enforced policy active.
|
|
28
|
+
- Confirm fonts, images, payments, forms, and authorized embeds still work.
|
|
29
|
+
- Run securityheaders.com and retain the dated grade; target A or A+.
|
|
30
|
+
- A scanner grade cannot prove authorization, input validation, or application security.
|
|
31
|
+
- If the scanner is unavailable, retain direct evidence and mark its grade UNVERIFIED.
|
|
32
|
+
|
|
33
|
+
SAVE
|
|
34
|
+
Write site-work/qa/security-headers.md with configuration, exceptions, observed responses,
|
|
35
|
+
browser results, scanner result, and any unresolved release blockers.
|
|
36
|
+
Hand the immutable candidate and this report to the independent auditor.
|
|
37
|
+
|
|
38
|
+
EVIDENCE
|
|
39
|
+
Never report a measured, saved, installed, or deployed result without evidence.
|
|
40
|
+
Apply the stage route and named checks in manifest.json before handing off.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
ASK DATE prerequisite: follow playbooks/research-and-memory.md#ask-date-rule.
|
|
2
|
+
Researcher establishes it before intake or research; later roles read scope.md.
|
|
3
|
+
Never ask the user for the date or infer it from model knowledge. Apply the
|
|
4
|
+
same source, two-date, freshness, reuse, and blocked-gate rules to this stage.
|
|
5
|
+
|
|
6
|
+
Run one independent adversarial audit of this fixed release candidate.
|
|
7
|
+
The reviewer must be a different model family from the builder.
|
|
8
|
+
If that is unavailable, prepare the review packet and mark independence incomplete.
|
|
9
|
+
|
|
10
|
+
PREPARE THE AUDIT_BRIEF
|
|
11
|
+
- Identify runtime, exact revision or artifact digest, routes, callers, and trust boundaries.
|
|
12
|
+
- State threat model, authorized review scope, and what tests already passed.
|
|
13
|
+
- Explain design decisions and why they were made so the reasoning can be challenged.
|
|
14
|
+
- Include how to reproduce the build and which output is proposed for release.
|
|
15
|
+
- Exclude secrets and unrelated private content from the review packet.
|
|
16
|
+
|
|
17
|
+
REVIEWER INSTRUCTIONS
|
|
18
|
+
- Work read-only against the named source/artifact. Do not fix implementation files.
|
|
19
|
+
- Challenge untrusted input handling, script-bound JSON, attributes, URL schemes,
|
|
20
|
+
empty IDs, state/date edges, resource permissions, public endpoints, and exposed secrets.
|
|
21
|
+
- Look for mismatches between source assumptions and generated or live behavior.
|
|
22
|
+
- Inspect relevant flows fully; a pattern match is a lead, not a confirmed vulnerability.
|
|
23
|
+
- For each finding, give location, preconditions, reproducible steps or a test,
|
|
24
|
+
observed result, impact, and a narrowly described fix.
|
|
25
|
+
- Distinguish reproduced defects, evidence-backed risks, and unverified hypotheses.
|
|
26
|
+
- Return an explicit no-findings result if that is what the review supports.
|
|
27
|
+
|
|
28
|
+
BUILDER DISPOSITION
|
|
29
|
+
- Reproduce each finding before fixing or relaying it as fact.
|
|
30
|
+
- Record confirmed, not reproduced, accepted limitation, or unresolved, with evidence.
|
|
31
|
+
- For each confirmed fix, add a regression that fails before and passes after the fix.
|
|
32
|
+
- Re-run affected checks against the final artifact.
|
|
33
|
+
- Record ROUND 1 in the brief with finding, disposition, test, and final artifact identity.
|
|
34
|
+
- Use the harness to verify the fixes; do not start an automatic second audit round.
|
|
35
|
+
- Do not bury an unresolved material issue inside a claim that the review passed.
|
|
36
|
+
|
|
37
|
+
FINISH
|
|
38
|
+
Return the reviewed identity, reviewer family, findings, dispositions, regression results,
|
|
39
|
+
remaining limits, and whether the concrete release candidate meets the agreed gates.
|
|
40
|
+
This audit is evidence, not a guarantee that no other defects exist.
|
|
41
|
+
|
|
42
|
+
EVIDENCE
|
|
43
|
+
Never report a measured, saved, installed, or deployed result without evidence.
|
|
44
|
+
Apply the stage route and named checks in manifest.json before handing off.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
ASK DATE prerequisite: follow playbooks/research-and-memory.md#ask-date-rule.
|
|
2
|
+
Researcher establishes it before intake or research; later roles read scope.md.
|
|
3
|
+
Never ask the user for the date or infer it from model knowledge. Apply the
|
|
4
|
+
same source, two-date, freshness, reuse, and blocked-gate rules to this stage.
|
|
5
|
+
|
|
6
|
+
Ship the checked website only within the release authorization already on record.
|
|
7
|
+
Read the brief, selected design, gate receipts, and ROUND 1 audit dispositions first.
|
|
8
|
+
|
|
9
|
+
PREPARE
|
|
10
|
+
- Identify the exact artifact to release and its reviewed predecessor if fixes changed it.
|
|
11
|
+
- Verify the post-fix harness passed and no unexplained files changed afterward.
|
|
12
|
+
- Exclude research, private brand material, secrets, and unrelated files from deployment.
|
|
13
|
+
- Name the target account, project, domain, rollback artifact, and release operator.
|
|
14
|
+
- If authorization is missing, finish the reviewable candidate and ask at this boundary.
|
|
15
|
+
|
|
16
|
+
PROMOTE
|
|
17
|
+
- Use the documented host procedure for the selected stack.
|
|
18
|
+
- Do not silently create accounts, incur charges, alter unrelated domains, or rotate keys.
|
|
19
|
+
- Record the deployment identifier, timestamp, public URLs, and artifact identity.
|
|
20
|
+
|
|
21
|
+
VERIFY LIVE
|
|
22
|
+
- Test HTTPS, redirects, intended routes, error paths, assets, and the primary journey.
|
|
23
|
+
- Inspect actual security headers, metadata, canonical URLs, sitemap, and llms.txt.
|
|
24
|
+
- Check mobile/desktop rendering and functionality with the production CSP enforced.
|
|
25
|
+
- Record direct social-bot response checks separately from external preview cache results.
|
|
26
|
+
- Mark missing field performance or third-party analytics evidence UNVERIFIED.
|
|
27
|
+
- If a critical check fails, use the documented rollback and record the outcome.
|
|
28
|
+
|
|
29
|
+
ONE OPERATIONS DOCUMENT
|
|
30
|
+
Write SITE_OPERATIONS.md with these sections in order:
|
|
31
|
+
what and why; trigger; invocation chain; dependencies; reads; writes; the closed loop;
|
|
32
|
+
failure modes; run-and-verify by hand; source of truth.
|
|
33
|
+
Name what watches the site, including "nothing", and who should receive a failure report.
|
|
34
|
+
Include content editing, clean build, release verification, rollback, and credential
|
|
35
|
+
locations by mechanism only, never secret values. Mark untested procedures UNVERIFIED.
|
|
36
|
+
|
|
37
|
+
FINISH
|
|
38
|
+
Give me the live URL, release identity, checks that passed, unresolved limits,
|
|
39
|
+
operations-document location, and the next measurement owner if field data is pending.
|
|
40
|
+
Do not call a deploy command's success a verified working website.
|
|
41
|
+
|
|
42
|
+
EVIDENCE
|
|
43
|
+
Never report a measured, saved, installed, or deployed result without evidence.
|
|
44
|
+
Apply the stage route and named checks in manifest.json before handing off.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
ASK DATE prerequisite: follow playbooks/research-and-memory.md#ask-date-rule.
|
|
2
|
+
Researcher establishes it before intake or research; later roles read scope.md.
|
|
3
|
+
Never ask the user for the date or infer it from model knowledge. Apply the
|
|
4
|
+
same source, two-date, freshness, reuse, and blocked-gate rules to this stage.
|
|
5
|
+
|
|
6
|
+
Run option 2, Give me the team, using the human's recorded install choice.
|
|
7
|
+
Needs Claude Code, Codex, Hermes, Antigravity, or Grok Bot. Follow the setup line for that host.
|
|
8
|
+
|
|
9
|
+
Every agent runs its own research pass before it touches your site, so it works from what is
|
|
10
|
+
true as of the date of your ask, not from what its model happens to remember.
|
|
11
|
+
|
|
12
|
+
Researcher does the full sweep first. Every other role learns the saved library,
|
|
13
|
+
then tops up only its own domain. Research, then learn, then ingest, then execute.
|
|
14
|
+
|
|
15
|
+
SET UP
|
|
16
|
+
- Read roles/researcher.md first, then roles/coordinator.md, roles/designer.md,
|
|
17
|
+
roles/graphics.md, roles/builder.md, roles/optimizer.md, roles/reviewer.md,
|
|
18
|
+
and templates/handoff.yaml. Use each complete body, not these short summaries.
|
|
19
|
+
- Create or identify Website Researcher first, then Website Coordinator,
|
|
20
|
+
Website Designer, Website Graphics, Website Builder, Website Optimizer, and
|
|
21
|
+
Website Reviewer as separate sessions, Bots, or terminals. Parent may coordinate
|
|
22
|
+
only after the research gate. Use supported setup mechanisms, not invented imports.
|
|
23
|
+
- Installer or human checks routes and obtains seven setup acknowledgements.
|
|
24
|
+
These confirm receipt of instructions, not permission to start downstream work.
|
|
25
|
+
- A role label in one conversation is option 1. Record SOLO and use prompts/00-start.md
|
|
26
|
+
if separate workers cannot be reached. A same-family team remains a team but
|
|
27
|
+
cannot pass independent review. Respect host concurrency limits.
|
|
28
|
+
- Antigravity setup uses generated agent definitions and per-role tool declarations;
|
|
29
|
+
Hermes setup uses the verified definition branch or generated session packets and
|
|
30
|
+
bundle alias. Read the host adapter and receipt; pending discovery, trust, tools,
|
|
31
|
+
or independent review checks cannot be reported as a ready team.
|
|
32
|
+
- Supply the request, authorized workspace, source assets, and tools to Researcher.
|
|
33
|
+
All other roles wait. Use the manual fallback in the team bundle if setup cannot
|
|
34
|
+
be automated; actual package integration remains UNVERIFIED until tested.
|
|
35
|
+
|
|
36
|
+
RESEARCHER
|
|
37
|
+
- Own site-work/research/library/ and handoffs/researcher/; own both research resources.
|
|
38
|
+
- Run prompts/01-website-deep-research.md, with the inactive graphics original as
|
|
39
|
+
provenance. Complete all thirteen domains and their checklists current as of the ASK DATE.
|
|
40
|
+
- Save the library before any other role works. Gate: the library exists on disk,
|
|
41
|
+
every domain this project touches has a substantive file and checklist, and every
|
|
42
|
+
acted-on claim has an opened source URL, a publication/update date or explicit unknown, and an access date on or after the ASK DATE. UNVERIFIED cannot pass a claim.
|
|
43
|
+
- Include README headlines, source/disagreement ledgers, user surprises, memory
|
|
44
|
+
proposal/receipt, and earliest staleness/recheck markers. Proposal is not saved memory.
|
|
45
|
+
- Hand research-to-coordinator over only after the gate passes. Accept corrections
|
|
46
|
+
from specialists, update canonical evidence, and invalidate affected old receipts.
|
|
47
|
+
|
|
48
|
+
COORDINATOR
|
|
49
|
+
- Start after Researcher's passing receipt; read the files and verify that gate.
|
|
50
|
+
- Learn the named library files and top up current host/worker capability questions.
|
|
51
|
+
- Own brief, capabilities, stage state, ownership, gate acceptance, and integration.
|
|
52
|
+
- Record routes, family evidence, tools, and ownership after research acceptance.
|
|
53
|
+
- Assign bounded handoffs and open every returned artifact before accepting a gate.
|
|
54
|
+
- Capture Reviewer's packet verbatim. Scope changes return to Researcher first.
|
|
55
|
+
|
|
56
|
+
DESIGNER
|
|
57
|
+
- After research, learn the library's design/UX, graphics/rights and accessibility
|
|
58
|
+
files and checklists; top up only this brief's current design/browser questions.
|
|
59
|
+
- Own brand extraction, tokens, contrast, three mockups, and selection record.
|
|
60
|
+
- Obtain user confirmation of inferred rules and a named design before site code.
|
|
61
|
+
|
|
62
|
+
GRAPHICS
|
|
63
|
+
- After research, learn graphics/rights and experience/performance files; top up
|
|
64
|
+
chosen-tool/tier rights, current destination sizes, safe zones, and asset licenses.
|
|
65
|
+
- Work with Designer; own assets, cards, icons, inspected exports and rights evidence.
|
|
66
|
+
- Deliver immutable revisions with measured dimensions and verified intended-use rights.
|
|
67
|
+
|
|
68
|
+
BUILDER
|
|
69
|
+
- After mockup selection, learn codebase/stack, accessibility/performance and
|
|
70
|
+
security/delivery research; top up chosen APIs, headers, and measurement rules.
|
|
71
|
+
- Own stack choice, implementation, performance, headers, build evidence and release.
|
|
72
|
+
- Integrate Graphics and Optimizer outputs without editing their original sources.
|
|
73
|
+
- Prepare the immutable candidate/audit brief; reproduce findings and test fixes.
|
|
74
|
+
|
|
75
|
+
OPTIMIZER
|
|
76
|
+
- With and after Builder, learn search/answers and measurement research; top up
|
|
77
|
+
current schema support, crawler/citation behavior, llms.txt and indexing APIs.
|
|
78
|
+
- Own SEO/AEO inputs, schema, sitemap, llms.txt, answer-first content and validation.
|
|
79
|
+
- Hand discovery inputs to Builder, then validate the rendered candidate.
|
|
80
|
+
- Claim neither indexing, received analytics nor schema validity without evidence.
|
|
81
|
+
|
|
82
|
+
REVIEWER
|
|
83
|
+
- Last before ship, use a different model family or return INTERNAL, gate BLOCKED.
|
|
84
|
+
- Learn the relevant library and top up current attack, accessibility and scanner facts.
|
|
85
|
+
- Review the fixed candidate read-only; return findings and research without edits.
|
|
86
|
+
- Return reproducible evidence or an explicit scoped no-findings result.
|
|
87
|
+
- Apply checklists/ship.md ASK DATE checks to library and top-ups; reject undated,
|
|
88
|
+
stale-access and stamped-but-unrevalidated claims as findings.
|
|
89
|
+
|
|
90
|
+
EVERY HANDOFF
|
|
91
|
+
Include stage, status, input_revision, artifact_revision, producer_role,
|
|
92
|
+
producer_model_family, artifacts, checks, limitations, next_owner,
|
|
93
|
+
changed_assumptions, and framing_reset. Use explicit empty lists where appropriate.
|
|
94
|
+
Attach actual files or complete contents; an inaccessible path is not a handoff.
|
|
95
|
+
Each writer saves site-work/handoffs/<role>/<stage>-<revision>.yaml. Reviewer returns
|
|
96
|
+
its receipt for Coordinator to capture at site-work/review/<revision>/handoff.yaml.
|
|
97
|
+
Every downstream role reads its WHAT YOU MUST LEARN library filenames first and
|
|
98
|
+
saves a learning/checklist receipt before execution. Its WHAT YOU MUST RESEARCH
|
|
99
|
+
is a domain top-up; flag stale/wrong claims back to Researcher and pause affected work.
|
|
100
|
+
Coordinator alone accepts gates in site-work/status.md; authors keep their receipts.
|
|
101
|
+
Changed inputs invalidate affected evidence. Failed gates stop dependent work.
|
|
102
|
+
If group messages cannot carry images, attach directly to each receiving worker.
|
|
103
|
+
Complete one independent review round; verify reproduced fixes through the harness.
|
|
104
|
+
Use playbooks/research-and-memory.md's degradation table for missing capabilities.
|
|
105
|
+
In SOLO do the Researcher's complete job first, save and reopen the library before
|
|
106
|
+
any design, and leave research BLOCKED if current search or disk persistence fails.
|
|
107
|
+
Finish each stage with its next concrete action and accountable owner.
|
|
108
|
+
|
|
109
|
+
EVIDENCE
|
|
110
|
+
Never report a measured, saved, installed, or deployed result without evidence.
|
|
111
|
+
Apply checklists/research.md before downstream dispatch and checklists/ship.md before release.
|
|
112
|
+
|
|
113
|
+
PORTABLE MANUAL SETUP
|
|
114
|
+
Use this fallback when native adapters or generated bundles are not supplied.
|
|
115
|
+
Native loading, automatic worker creation, routing, tool enforcement and different-family
|
|
116
|
+
availability are UNVERIFIED until the actual host/session checks succeed.
|
|
117
|
+
A missing host adapter does not authorize inventing a native file format or import API.
|
|
118
|
+
|
|
119
|
+
1. Open the host's verified worker/session creation surface, if available.
|
|
120
|
+
2. Create Researcher first, then Coordinator, Designer, Graphics, Builder, Optimizer,
|
|
121
|
+
and Reviewer. Paste each full roles/<role>.md body, not this prompt's summary.
|
|
122
|
+
3. Supply SKILL.md, manifest.json and every linked resource as readable files or full
|
|
123
|
+
labeled text. Give Researcher the inactive graphics archive for provenance only.
|
|
124
|
+
4. Get each worker's setup acknowledgement: received role, actual route, model family
|
|
125
|
+
with evidence, tools, inaccessible files, and owned paths. Keep downstream work pending.
|
|
126
|
+
5. Give Reviewer a read-only candidate packet or verified read-only session. Broad
|
|
127
|
+
inherited tools do not become restricted because role prose says read-only.
|
|
128
|
+
6. Verify a bounded setup message reaches each intended route through supported controls.
|
|
129
|
+
When group automation is absent, the human can relay addressed packets and attachments.
|
|
130
|
+
7. Give the user's actual request, authorized workspace, assets and constraints to
|
|
131
|
+
Researcher alone. It establishes ASK DATE and completes the library and gate first.
|
|
132
|
+
8. Relay its complete passing receipt and readable library to Coordinator. Coordinator
|
|
133
|
+
reopens them before accepting research and releasing design/graphics assignments.
|
|
134
|
+
|
|
135
|
+
Preserve seven acknowledgements separately from research and work-readiness receipts.
|
|
136
|
+
A text-only group requires direct image attachments to each receiving visual reviewer.
|
|
137
|
+
Inaccessible files or routes keep the relevant handoff BLOCKED.
|
|
138
|
+
No automatic creation support means a manual setup limit, not a claimed ready team.
|
|
139
|
+
No separate workers means SOLO; no independent family means independent review BLOCKED.
|
|
140
|
+
Never invent a platform capability to fill a setup gap.
|
|
141
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Framework recipe
|
|
2
|
+
|
|
3
|
+
Date rule: [ASK DATE and source evidence](../../playbooks/research-and-memory.md#ask-date-rule).
|
|
4
|
+
Use this recipe only after accepted research and a named visual mockup selection.
|
|
5
|
+
Example commands and host/runtime support are UNVERIFIED until executed or sourced
|
|
6
|
+
for the chosen project. Save actual results; never claim this recipe was deployed.
|
|
7
|
+
|
|
8
|
+
Use when named application requirements earn a server/client framework.
|
|
9
|
+
|
|
10
|
+
## Justify the runtime
|
|
11
|
+
|
|
12
|
+
Compare a small endpoint with a full application for each server requirement.
|
|
13
|
+
Name authentication state, server secrets, request-time behavior, integration needs,
|
|
14
|
+
content authoring, deployment runtime, and maintenance owner.
|
|
15
|
+
Select supported versions from current official documentation and actual source inspection.
|
|
16
|
+
MDX or payments may support this decision but do not mandate a particular framework.
|
|
17
|
+
|
|
18
|
+
## Map responsibilities
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
routes/ Framework-native route files after version verification.
|
|
22
|
+
server/ Authorized secrets, validation, integrations, access checks.
|
|
23
|
+
components/ Shared presentation and bounded client interactions.
|
|
24
|
+
content/ Validated authored data and owner-approved entity facts.
|
|
25
|
+
public/ Approved images, local fonts, discovery/static assets.
|
|
26
|
+
test/ Server boundaries, rendering, state and primary journeys.
|
|
27
|
+
framework configuration Verified runtime, output, routing and security behavior.
|
|
28
|
+
dependency lock Reproducible chosen toolchain.
|
|
29
|
+
SITE_OPERATIONS.md One complete run/release/verify/recovery document.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
These are responsibility names, not invented vendor directory requirements.
|
|
33
|
+
Use the actual framework's versioned directory and API contracts.
|
|
34
|
+
Keep server secrets out of public environment variables, serialized props, and client bundles.
|
|
35
|
+
Authorize each private action on the server; hiding a button is not access control.
|
|
36
|
+
|
|
37
|
+
## Establish the command contract
|
|
38
|
+
|
|
39
|
+
Record exact dependency installation, development, type-check, test, production build,
|
|
40
|
+
production preview/start, deploy and rollback commands for the chosen host/version.
|
|
41
|
+
Do not paste generic commands as successful runs.
|
|
42
|
+
Require a clean production build and the same output/runtime class used for release.
|
|
43
|
+
Record environment variable names, purpose, scope, and injection mechanism without values.
|
|
44
|
+
Verify build-time versus request-time behavior, caching, route fallback and error handling.
|
|
45
|
+
|
|
46
|
+
## Render safely and usefully
|
|
47
|
+
|
|
48
|
+
Keep useful initial HTML and truthful per-route metadata.
|
|
49
|
+
Validate data, URL schemes and required identifiers before rendering controls.
|
|
50
|
+
Use safe script-bound JSON serialization even if the framework escapes normal text.
|
|
51
|
+
Test server/client state parity and boundary dates with an explicit timezone policy.
|
|
52
|
+
Keep client work small; add it for actual interaction rather than all page content.
|
|
53
|
+
|
|
54
|
+
## Verify the application surface
|
|
55
|
+
|
|
56
|
+
- Access: test unauthenticated and wrong-authority requests on each protected action.
|
|
57
|
+
- Inputs: test malformed bodies, rejected URLs, uploads and third-party responses where applicable.
|
|
58
|
+
- Rendering: run build B04/B05 and discovery parity against actual production output.
|
|
59
|
+
- CSP: inspect emitted inline content and test an exact hash or per-response nonce design.
|
|
60
|
+
- Responses: check normal, redirect, error, asset and dynamic/function headers separately.
|
|
61
|
+
- Journey: complete mobile/desktop, keyboard, failure/retry and reduced-motion paths.
|
|
62
|
+
- Release: freeze a candidate, obtain different-family read-only review, reproduce findings,
|
|
63
|
+
verify fixes, then promote the checked artifact within existing authorization.
|
|
64
|
+
|
|
65
|
+
## Limits and exit
|
|
66
|
+
|
|
67
|
+
More runtime means more dependency, patching, secret, and operational responsibility.
|
|
68
|
+
Record the upgrade cadence, watchers, failure recipient, and tested recovery commands.
|
|
69
|
+
Keep content portable and isolate external integrations behind narrow interfaces.
|
|
70
|
+
A supported framework name does not prove that a selected host tier runs its features.
|
|
71
|
+
|
|
72
|
+
## Research starting points
|
|
73
|
+
|
|
74
|
+
Open the chosen framework's current routing, rendering, security, environment, and CSP docs.
|
|
75
|
+
Open the target host's current runtime/plan constraints and deployment/recovery docs.
|
|
76
|
+
Compare a real application repository at an inspected revision, with its license recorded.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Scripted static recipe
|
|
2
|
+
|
|
3
|
+
Date rule: [ASK DATE and source evidence](../../playbooks/research-and-memory.md#ask-date-rule).
|
|
4
|
+
Use this recipe only after accepted research and a named visual mockup selection.
|
|
5
|
+
Example commands and host/runtime support are UNVERIFIED until executed or sourced
|
|
6
|
+
for the chosen project. Save actual results; never claim this recipe was deployed.
|
|
7
|
+
|
|
8
|
+
Use when many pages share structure and must derive metadata from the same records.
|
|
9
|
+
|
|
10
|
+
## File responsibilities
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
src/data/ Authored records and route registry.
|
|
14
|
+
src/render/ Shared escaping, URL, JSON and state helpers.
|
|
15
|
+
templates/ Page and component rendering.
|
|
16
|
+
scripts/build.ts Validate, render, derive discovery, report omissions.
|
|
17
|
+
scripts/images.ts Deterministic authorized image transformations.
|
|
18
|
+
public/ Approved static files copied to output.
|
|
19
|
+
test/ Data boundaries, rendered adverse cases, route parity.
|
|
20
|
+
dist/ Generated deployable output, never hand edited.
|
|
21
|
+
package.json Exact project scripts and declared dependencies.
|
|
22
|
+
package-lock.json Reproducible dependency resolution when npm is selected.
|
|
23
|
+
SITE_OPERATIONS.md Content, build, release, verify and recovery in one file.
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Builder owns implementation and generated output.
|
|
27
|
+
Graphics supplies versioned assets; Optimizer supplies versioned discovery inputs.
|
|
28
|
+
Do not let integrations overwrite their authored sources.
|
|
29
|
+
|
|
30
|
+
## Define the command contract
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
npm ci Install the project's reviewed locked dependencies.
|
|
34
|
+
npm run build Validate -> images -> render -> discovery -> inspect/report.
|
|
35
|
+
npm test Run meaningful boundary and generated-output checks.
|
|
36
|
+
npm run preview Serve the built output for local browser verification.
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
These commands are a proposed project contract, not scripts supplied by this skill.
|
|
40
|
+
Builder must implement and verify the scripts and document the actual TypeScript runtime.
|
|
41
|
+
Use the chosen runtime's supported compilation/execution path after a current-source check.
|
|
42
|
+
Vite is optional when bundling or development behavior serves a named requirement.
|
|
43
|
+
Sharp is a build dependency when the image transformation pipeline needs it.
|
|
44
|
+
Do not introduce a client framework merely to map records to HTML.
|
|
45
|
+
|
|
46
|
+
## Build deterministically
|
|
47
|
+
|
|
48
|
+
Validate required fields, route uniqueness, URLs, dates, and relations before rendering.
|
|
49
|
+
Compute publication state once with an explicit clock/timezone and named rebuild trigger.
|
|
50
|
+
Generate HTML, metadata, social inputs, schema, sitemap, and llms.txt from validated records.
|
|
51
|
+
Omit absent optional provider controls and report the omission.
|
|
52
|
+
Sort output and use stable content/transformation asset identities.
|
|
53
|
+
Exclude site-work, originals not intended for publication, credentials, and scratch files.
|
|
54
|
+
|
|
55
|
+
## Prove the next-item workflow
|
|
56
|
+
|
|
57
|
+
Add one invented valid record in a disposable copy, run the clean command chain,
|
|
58
|
+
and inspect the new route and every derived surface.
|
|
59
|
+
Confirm no template or separate metadata list needed manual edits.
|
|
60
|
+
Remove the demonstration record before the real release and rebuild its exact candidate.
|
|
61
|
+
Keep adverse cases for quotes, script terminators, unsafe schemes, empty IDs,
|
|
62
|
+
duplicate slugs, missing assets, long copy, and publication boundaries.
|
|
63
|
+
Apply checklists/build.md and the remaining QA/security/ship gates.
|
|
64
|
+
|
|
65
|
+
## Limits and exit
|
|
66
|
+
|
|
67
|
+
A generated page changes only when rebuilt and promoted.
|
|
68
|
+
A browser interaction cannot keep a private server credential.
|
|
69
|
+
Move to a justified endpoint or framework when request-time/authenticated state needs it.
|
|
70
|
+
Keep records and pure rendering helpers separable so the content is portable.
|
|
71
|
+
|
|
72
|
+
## Research starting points
|
|
73
|
+
|
|
74
|
+
Read current runtime, template library, sharp, optional bundler, and selected host docs.
|
|
75
|
+
Inspect actual build/helper/test files in reference repositories at recorded revisions.
|
|
76
|
+
Use playbooks/data-and-templates.md and image-pipeline.md for acceptance contracts.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Static HTML recipe
|
|
2
|
+
|
|
3
|
+
Date rule: [ASK DATE and source evidence](../../playbooks/research-and-memory.md#ask-date-rule).
|
|
4
|
+
Use this recipe only after accepted research and a named visual mockup selection.
|
|
5
|
+
Example commands and host/runtime support are UNVERIFIED until executed or sourced
|
|
6
|
+
for the chosen project. Save actual results; never claim this recipe was deployed.
|
|
7
|
+
|
|
8
|
+
Use for a small information site without repeated publishing or application state.
|
|
9
|
+
|
|
10
|
+
## File responsibilities
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
site/
|
|
14
|
+
index.html Main audience/action page.
|
|
15
|
+
visit/index.html Deliberate second route when the brief needs it.
|
|
16
|
+
assets/styles.css Approved tokens, layout, states, responsive rules.
|
|
17
|
+
assets/site.js Optional interaction only.
|
|
18
|
+
assets/images/ Approved measured exports with required notices.
|
|
19
|
+
assets/fonts/ Licensed woff2 and license notices if used.
|
|
20
|
+
robots.txt Owner-approved crawl policy.
|
|
21
|
+
sitemap.xml Intended canonical public routes.
|
|
22
|
+
llms.txt Truthful navigation map.
|
|
23
|
+
404.html Useful error and recovery page.
|
|
24
|
+
SITE_OPERATIONS.md Complete operational handoff, excluded from upload if private.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Choose the selected host's static header configuration separately.
|
|
28
|
+
Keep source and output identical only while this remains a genuine no-build site.
|
|
29
|
+
Deployment uses an explicit file allowlist, not every file in the workspace.
|
|
30
|
+
|
|
31
|
+
## Preview and check
|
|
32
|
+
|
|
33
|
+
From the approved site directory, a local preview example is:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
python3 -m http.server 8000 --bind 127.0.0.1
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Open the local root and every intended route in a browser.
|
|
40
|
+
This preview does not prove production redirects, custom error handling, HTTPS, or headers.
|
|
41
|
+
Inspect those separately on the authorized host preview and final release.
|
|
42
|
+
There is no package installation or build command required by this recipe.
|
|
43
|
+
Record any added tool as a project-specific dependency with a reason.
|
|
44
|
+
|
|
45
|
+
## Verify the contract
|
|
46
|
+
|
|
47
|
+
- Build: run checklists/build.md against source and browser DOM, including missing optional IDs.
|
|
48
|
+
- Accessibility: complete keyboard/error journeys and computed contrast checks.
|
|
49
|
+
- Performance: retain the declared cold mobile series and all reports.
|
|
50
|
+
- Discovery: inspect initial HTML, canonicals, internal links, route map and metadata parity.
|
|
51
|
+
- Security: inspect actual host headers, enforced-policy behavior, and scanner evidence.
|
|
52
|
+
- Release: apply checklists/ship.md to the exact uploaded files and independent review.
|
|
53
|
+
|
|
54
|
+
## Add the next page
|
|
55
|
+
|
|
56
|
+
A unique second page can be authored directly with the same approved styles.
|
|
57
|
+
When repeated structure or metadata requires recurring copy/edit work, revisit the
|
|
58
|
+
scripted-static recipe before duplicating a growing set of pages.
|
|
59
|
+
Record how shared navigation and discovery files remain consistent in the interim.
|
|
60
|
+
|
|
61
|
+
## Limits and exit
|
|
62
|
+
|
|
63
|
+
Browser JavaScript cannot safely store server secrets or enforce private authorization.
|
|
64
|
+
Use a separately justified endpoint or reconsider the framework branch for server state.
|
|
65
|
+
Scheduled changes require a real editing/release trigger; static files do not self-update.
|
|
66
|
+
Move validated content into records before repetition creates divergent page state.
|
|
67
|
+
|
|
68
|
+
## Research starting points
|
|
69
|
+
|
|
70
|
+
Read the selected host's static routing/headers documentation and the current HTML standard.
|
|
71
|
+
Inspect a real no-build repository at an identified revision and check its license.
|
|
72
|
+
Use playbooks/choose-stack.md for the recorded decision and rejected alternatives.
|