feat: add AI agent setup#353
Open
slimluccii wants to merge 9 commits intomainfrom
Open
Conversation
… and agent instructions - Created LICENSE.txt for frontend-design skill with Apache License 2.0. - Added SKILL.md for frontend-design skill detailing design guidelines and implementation strategies. - Introduced .mcp.json to configure MCP servers for DatoCMS and documentation access. - Added AGENTS.md to provide instructions for AI coding agents and project overview. - Initialized skills-lock.json to manage dependencies for agent skills.
Deploying head-start with
|
| Latest commit: |
a988448
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c4f3dd83.head-start.pages.dev |
| Branch Preview URL: | https://feat-ai-agent-setup.head-start.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds AI-agent onboarding and configuration artifacts to help MCP-compatible coding agents work effectively in this Astro + DatoCMS + Cloudflare Pages repository.
Changes:
- Add
AGENTS.mdwith repo-specific agent guidance (setup, workflows, guardrails, commands). - Add
.agents/skills/*domain skills for Astro, DatoCMS, frontend design, and a “caveman” terseness mode. - Add
.mcp.jsonplusskills-lock.jsonto configure MCP servers and lock skill sources.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
skills-lock.json |
Adds a lockfile mapping skill names to GitHub sources and hashes. |
AGENTS.md |
Documents project overview, setup, workflows, guardrails, and agent pointers to skills/MCP. |
.mcp.json |
Configures MCP servers for DatoCMS and live Astro/Cloudflare docs access. |
.agents/skills/frontend-design/SKILL.md |
Adds a UI/design-focused skill with aesthetic and implementation guidance. |
.agents/skills/frontend-design/LICENSE.txt |
Adds Apache-2.0 license text for the frontend-design skill. |
.agents/skills/datocms/SKILL.md |
Adds a comprehensive DatoCMS workflow/reference skill (APIs, migrations, MCP, troubleshooting). |
.agents/skills/caveman/SKILL.md |
Adds a skill describing an ultra-terse response mode and how to invoke it. |
.agents/skills/astro/SKILL.md |
Adds an Astro usage/config skill with CLI and adapter guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- cloudflare: general Cloudflare Pages/Workers platform reference - wrangler: CLI commands for local preview, secrets, deployments, and wrangler.toml - web-perf: Core Web Vitals auditing via the chrome-devtools MCP server All three registered in the AGENTS.md skills table.
Co-authored-by: Copilot <copilot@github.com>
Drop skills table from AGENTS.md and source table from working-with-ai.md; SKILL.md frontmatter is now the single source of truth for trigger conditions so adding a skill no longer requires updating multiple docs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
AGENTS.mdat the repo root with project overview, required reading, environment setup, build/run/test commands, code style guidelines, GraphQL & CMS workflow, security considerations, guardrails (destructive action rules + loop prevention), commit & PR guidelines, and known rough edges/typos.agents/skills/directory with six project-specific skills:astro,datocms,frontend-design,cloudflare,wrangler, andweb-perf.mcp.jsonat the repo root configuring four MCP servers:datocms(stdio,@datocms/mcp-server),astro-docs(remote HTTP,mcp.docs.astro.build),cloudflare-docs(remote HTTP,docs.mcp.cloudflare.com), andchrome-devtools(stdio,chrome-devtools-mcp)Skill details
astroastrolicious/agent-skills.astrofiles, SSR config, integrations, Astro CLIdatocmsjodusnodus/datocms-skillfrontend-designanthropics/skillscloudflarecloudflare/skillswranglercloudflare/skillswranglerCLI — local preview, secrets, deploymentsweb-perfcloudflare/skillschrome-devtoolsMCP serverAssociated issue
Resolves #352
How to test
AGENTS.mdand references the skills/MCP servers when working in the relevant domainsnpm run devand use theweb-perfskill to audit Core Web Vitals via thechrome-devtoolsMCP serverChecklist