astro-content-design-loop
Adapt every approved Markdown text block and supplied brand requirement into an explicitly approved Astro reference clone, replace temporary copyrighted reference material, create all sitemap routes, and audit content coverage, brand fit, responsive behavior, accessibility, media provenance, and fluid motion. Use only as a separate second loop after literal clone approval.
- License 许可
- MIT
- 最近更新
- 2026-06-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- astro-content-design-loop
- description
- Adapt every approved Markdown text block and supplied brand requirement into an explicitly approved Astro reference clone, replace temporary copyrighted reference material, create all sitemap routes, and audit content coverage, brand fit, responsive behavior, accessibility, media provenance, and fluid motion. Use only as a separate second loop after literal clone approval.
02 资源文件 3
- 参考文档agents/openai.yaml357 B
- 参考文档references/adaptation-boundary.md442 B
- 参考文档references/microcms.md565 B
03 SKILL.md 正文
Astro Content and Design Loop
This is loop 2. It cannot run in the clone invocation. Run npm run adaptation:begin; stop if
workflow/phase-state.json does not show an explicitly approved clone.
Read all approved content/ inputs now. Treat every meaningful text block in
content/pages/*.md as required output, not optional inspiration. Populate workflow/content-map.json
and run npm run content:coverage:validate; rendered browser tests must prove that every mapped
block appears on its declared route.
Read the adaptation boundary and, when dynamic endpoints are declared, the microCMS contract.
Design adaptation
Use the approved clone as immutable structural evidence. Replace reference text, logos, imagery, video, fonts, and other protected brand expression. Use supplied brand assets plus generated or royalty-free media with provenance. Preserve the reference's useful composition, hierarchy, responsive transformations, interaction model, hover behavior, loading rhythm, and motion grammar, then adjust section structure where the user's content requires it.
Do not fall back to Claude's default cream/serif/terracotta house style or any other generic AI
palette. Derive concrete colors, radii, typography, spacing, image treatment, and motion from the
approved clone plus the supplied brand. Record the result in workflow/design-adaptation.json.
Delegate astro-builder as the sole integration writer. fixture-copywriter may create only
declared dynamic fixtures and approved generated imagery. Read-only visual and behavior auditors
may run in parallel. Give every agent explicit file boundaries and success criteria; Opus 4.8
follows literal scope, so state when a rule applies to every route, section, breakpoint, and state.
Iterations and gate
For every iteration run:
npm run phase:validate
npm run content:validate
npm run content:coverage:validate
npm run artifacts:validate
npm run media:validate
npm run dynamic:validate
npm run check
npm run build
npm run test:e2e
Capture under artifacts/adaptation/. Compare final routes to the approved clone by geometry,
section roles, responsive behavior, and interaction/motion—not by reference words or protected
assets. Write the objective audit receipt and finish with npm run adaptation:complete.
The receipt must report contentCoverage: 1, routesCoverage: 1,
referenceMaterialRemaining: 0, brandSystemRecorded: true, and
phaseBoundaryPassed: true; a claimed pass is rejected when any value differs.
Pause after exactly three iterations. Continue in three-iteration batches until the user approves.
After approval, archive evidence, remove /__clone/* and public/clone-temp, then run
npm run shipping:validate. End this invocation; maintenance changes belong to loop 3.
04 同仓库更多 Skills
web-design-direction
Direct distinctive reference-driven web design, creative elevation, responsive art direction, and fluid motion.
threejs-astro
Implement or audit a performant framework-free Three.js experience in Astro.
tailwindcss-4
Implement and review interfaces with Tailwind CSS 4, reusable tokens, responsive composition, accessible states, and fluid motion.
gsap-fluid-motion
Implement or audit complex, fluid, interruption-safe GSAP motion in Astro.
coding-best-practices
Implement and review reusable, accessible, secure, performant, production-quality web code.
astro-update-loop
Run a bounded post-approval maintenance loop for user-requested changes without regressing the final Astro site's content, design system, responsiveness, accessibility, or motion.