Skip to content

✨ Add design and agents pages with supporting site refactors#52

Open
yuler wants to merge 5 commits intomainfrom
agents-stuff
Open

✨ Add design and agents pages with supporting site refactors#52
yuler wants to merge 5 commits intomainfrom
agents-stuff

Conversation

@yuler
Copy link
Copy Markdown
Owner

@yuler yuler commented May 8, 2026

Summary

  • Reorganize AI agent configuration by moving Claude config into a tracked .claude layout.
  • Add initial design specs and a /design page that previews colors, typography, spacing, and raw markdown.
  • Add an /agents page with a reusable Switch component and related site content updates.

Test plan

  • Not run locally

Made with Cursor

yuler added 4 commits May 8, 2026 13:33
Move CLAUDE.md symlink to .claude/ subdirectory and remove .claude
from .gitignore to track AI configuration files in the repo.
…lette, typography, spacing, and component styles.
Render DESIGN.md as a visual design system page with:
- Color swatches for hex values
- Typography samples for font families/weights/sizes
- Spacing bars for px/rem values
- Toggle between preview and raw markdown views

Also cleans up unused design tokens (wip-*, code-inline, decorative-shadow)
from DESIGN.md.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a design system and agent instructions by adding DESIGN.md and AGENTS.md files, along with dedicated pages (/design and /agents) to render them. It also includes a new Switch component to toggle between rendered previews and raw Markdown. The review feedback identifies opportunities to improve the codebase by removing dead client-side script logic and replacing fragile manual YAML/frontmatter parsing with Astro's built-in Markdown frontmatter support.

Comment thread src/pages/agents.astro Outdated
Comment thread src/pages/agents.astro Outdated
Comment thread src/pages/design.astro Outdated
Comment thread src/pages/design.astro Outdated
Replace runtime readFile + manual frontmatter parsing with
Astro's `frontmatter` export and Vite `?raw` import so the
markdown source is bundled at build time. Fixes ENOENT for
`dist/AGENTS.md` during `astro build` and removes the dead
`a[data-mode-value]` listener loop on both pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

📸 Screenshots for PR #52
page iphone ipad pc
home home iphone home ipad home pc
posts posts iphone posts ipad posts pc
posts-hi posts-hi iphone posts-hi ipad posts-hi pc
thoughts thoughts iphone thoughts ipad thoughts pc
workouts workouts iphone workouts ipad workouts pc
workouts-17883105335 workouts-17883105335 iphone workouts-17883105335 ipad workouts-17883105335 pc

PR screenshots folder (branch pr-screenshots)

github-actions Bot added a commit that referenced this pull request May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant