AGENTS.md
presets/project-beta/AGENTS.mdStatic site generation assistant for an Astro project. Astro 5 SSG, Tailwind 4, minimal runtime JS, client island architecture, semantic HTML.
AGENTS.md
Quality
62/100
Scores the file, not the repository.Length
834 words
15 headings · 1 code blocksRepository
7
— · pushed 46 days agoLast changed
3 days ago
First indexed 3 days ago.12345678910111213141516171819202122# Beta Template Agent2324## Purpose2526Primary development assistant for an Astro static site. Ensures static-first rendering, minimal runtime JavaScript, Astro 5 and Tailwind 4 best practices, semantic HTML, and accessibility standards.2728## How to Use Skills (MANDATORY WORKFLOW)2930This project has skills installed in your model's skills directory. Follow this protocol for ALL coding tasks:3132### Step 1: Find the Trigger3334Check the "Skills Reference" table below. Match your task to the "Trigger" column.3536### Step 2: Read the Skill3738**Path format:** `.{model}/skills/{skill-name}/SKILL.md`3940Replace `{model}` with your coding agent:4142- **Cursor:** `.cursor/skills/typescript/SKILL.md`43- **Claude:** `.claude/skills/typescript/SKILL.md`44- **Copilot:** `.github/skills/typescript/SKILL.md`45- **Gemini:** `.gemini/skills/typescript/SKILL.md`46- **Codex:** `.codex/skills/typescript/SKILL.md`4748### Step 3: Read Dependencies4950Every skill lists dependencies in its frontmatter (`metadata.skills`). Read each direct dependency before proceeding.5152**Example:** `react` skill depends on: `a11y`, `typescript`, `javascript`, `architecture-patterns`5354Read these 4 direct dependencies. Dependencies are resolved transitively - when you read `typescript`, you'll see it depends on `javascript`, which depends on `code-conventions`. The dependency chain ensures you have all required context.5556### Step 4: Apply Patterns5758- Follow "Critical Patterns" marked with ✅ REQUIRED59- Use "Decision Tree" for implementation choices60- Reference inline code examples6162### Example Workflow6364**Task:** "Create TypeScript interface for User model"65661. **Check table below** → Trigger: "TypeScript types/interfaces" → Skill: `typescript`672. **Read:** `.{model}/skills/typescript/SKILL.md`683. **Check frontmatter** → Dependencies: `javascript`694. **Read dependency:**70 - `.{model}/skills/javascript/SKILL.md` (which depends on `code-conventions`)715. **Apply patterns:** Use `interface` (not `type`), PascalCase names, export from `types/` directory7273## Skills Reference7475**Path format:** `.{model}/skills/{skill-name}/SKILL.md` (see Step 2 above)7677| Trigger | Skill |78| ----------------------------- | ----------------------- |79| TypeScript types/interfaces | typescript |80| JavaScript (ES2020+) | javascript |81| Astro pages/components | astro |82| Vite build config | vite |83| Tailwind utility classes | tailwindcss |84| React client islands | react |85| Semantic HTML | html |86| Accessibility | a11y |87| Commit messages, PRs, docs | technical-communication |88| Code review | critical-partner |89| Coding standards | code-conventions |90| UI/UX design, flows, visual | interface-design |91| Frontend development workflow | frontend-dev |9293## Project Structure & Skills Storage9495**IMPORTANT FOR LLMs:** Skills use a 3-layer symlink structure:9697```98your-project/99├── .agents/skills/ # Canonical symlinks to framework skills/ (shared across models)100│ ├── astro/ → ../../skills/astro/101│ ├── typescript/ → ../../skills/typescript/102│ └── ...103├── .claude/skills/ # Claude-specific symlinks to .agents/skills/104│ ├── astro/ → ../../.agents/skills/astro/105│ └── typescript/ → ../../.agents/skills/typescript/106├── .cursor/skills/ # Cursor-specific symlinks to .agents/skills/107├── .github/skills/ # Copilot-specific symlinks to .agents/skills/108├── .gemini/skills/ # Gemini-specific symlinks to .agents/skills/109├── .codex/skills/ # Codex-specific symlinks to .agents/skills/110└── AGENTS.md # This file111```112113**How to access skills:**114115- **Preferred:** Read from `.{model}/skills/<skill-name>/SKILL.md` (your model's directory)116- **If symlinks fail:** Skills are stored in the ai-agents-skills framework installation (referenced via symlinks)117- **Real files location:** All source skills are in the framework's `skills/` directory118119**Why 3 layers?**1201211. **Layer 1 (framework skills/):** Source of truth maintained by framework1222. **Layer 2 (.agents/skills/):** Canonical shared location in your project1233. **Layer 3 (.{model}/skills/):** Model-specific access for your AI assistant124125**Benefits:**126127- **Zero duplication:** Skills installed once, available to all 5 AI models128- **Always up-to-date:** Changes propagate instantly via symlinks129- **Token-efficient:** Your AI reads only the skills it needs130131## Supported Stack132133- **Project type:** Astro 5.14.5 static site generator (SSG)134- **Languages:** TypeScript 5.9.3, JavaScript (ES2020+)135- **Build:** Astro 5.14.5, Vite (latest)136- **Styling:** TailwindCSS 4.1.14, @tailwindcss/vite 4.1.14137- **Client interactivity:** React 18+ (client:load islands only, minimal)138- **Principles:** Static-first, minimal runtime JS, semantic HTML, accessibility139140## Workflows141142### Feature Development1431441. Gather requirements, clarify static vs dynamic content needs1452. Design page architecture with Astro components (.astro files)1463. Implement with build-time data fetching in frontmatter1474. Style with Tailwind 4 utility classes and @theme tokens1485. Add client islands (React) ONLY when interactivity required1496. Use appropriate directives (client:load, client:visible, client:idle)1507. Ensure semantic HTML and accessibility, document changes, request review151152### Code Review1531541. Verify static-first approach (no unnecessary client-side JS)1552. Check Astro directive usage, Tailwind 4 theme tokens1563. Review semantic HTML, accessibility, TypeScript strict mode1574. Confirm build-time data fetching (no runtime API calls in static pages)158159## Policies160161**Typing:** strict mode, explicit types for frontmatter variables, jsx: react-jsx162163**Astro directives:**164165- Prefer build-time computation in component frontmatter166- Use `define:vars` for frontmatter→script, `set:html` for trusted HTML167- Use `client:load` for React hydration, avoid `client:only` unless necessary168- No global JS imports in markup; keep scripts isolated169170**Tailwind 4 theming:**171172- Define tokens in `@theme` block (--color-_, --font-_, --spacing-\*, etc.)173- No deprecated --tw-\* prefixes; use official Tailwind 4 variable names174- Semantic token names (--color-primary, --color-accent)175176**Accessibility:** Semantic elements (`<header>`, `<main>`, `<nav>`, `<section>`), proper heading hierarchy, labeled forms, descriptive alt text, ARIA only when semantic HTML insufficient177178**Versions:**179180- Exact: Astro 5.14.5, TailwindCSS 4.1.14, TypeScript 5.9.3181- Ranges: Astro >=5.0 <6.0, Tailwind >=4.0 <5.0, TS >=5.0 <6.0182183**Performance:** Static rendering first, client islands sparingly, minimal bundle size, excellent Lighthouse scores184
Also in joabgonzalez/ai-agents-skills
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| joabgonzalez/ai-agents-skillsAGENTS.md · 7 | AGENTS.md | setupbuildteststyle+7 | 91/100 | 3 days ago | |
| joabgonzalez/ai-agents-skillspresets/project-alpha/AGENTS.md · 7 | AGENTS.md | stylearchtypesgit+2 | 62/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+2 | 100/100 | 3 days ago |
