Skip to content

Add test-content skill for notes living examples - #35

Merged
LL782 merged 2 commits into
mainfrom
cursor/test-content-skill-a061
Nov 15, 2026
Merged

LL782 merged 2 commits into
mainfrom
cursor/test-content-skill-a061

Conversation

@LL782

@LL782 LL782 commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

Agents can ship a notes feature and skip putting an example on src/content/notes/test-content.mdx. The test page already describes the process; this adds a site-specific skill next to the synced workflow skills so that reminder is in the agent path, not only on the page.

What this adds

  • .cursor/skills/test-content/SKILL.md — /test-content, auto-invocable (no disable-model-invocation), scoped with paths to src/components/mdx/**, src/content/**, and src/pages/notes/**
  • Discovery hooks so the skill is not orphaned:
    • /test-content in .cursor/rules/agent-skills.mdc
    • one discovery-tree branch and one quick-reference row in using-agent-skills
    • on the test page Issues list, the “add a note so agents don’t forget” line now points at the skill
  • Sync protection in .cursor/AGENT_SKILLS_ORIGIN.txt: rsync --exclude test-content/ so a future upstream cp -a cannot overwrite this first site-specific skill

On feature work the skill requires: implement → smallest example on the test page under the existing headings → do not call the work done until that example exists.

On /test-content or an explicit audit: diff MDX components in [slug].astro and schema keys in config.ts against the test page, report gaps, and add missing examples unless the user only asked for a report.

Not in this change

Did not backfill examples the audit would already flag:

  • MDX: EmbedFrame, Stub, Message
  • Frontmatter: imageLink, imageAnchor, updates

Skills do not count as a notes feature, so this PR does not add a component example for the skill itself.

Merged latest main (content(notes): make some notes private, refine others). The only conflict was src/content/notes/test-content.mdx: kept main’s Issues list and replaced the “agents don’t forget” placeholder with the skill pointer.

Open in Web Open in Cursor 

Remind agents to put a notes feature example on the test page
before calling the work done, and keep the skill out of upstream
agent-skills syncs.

Co-authored-by: Laurence Lord <laurence.lord@gmail.com>
@netlify

netlify Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fabulous-dusk ready!

Name Link
🔨 Latest commit 7fab565
🔍 Latest deploy log https://app.netlify.com/projects/fabulous-dusk/deploys/6aa7b411d28c240008b32c4d
😎 Deploy Preview https://deploy-preview-35--fabulous-dusk.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100
Accessibility: 97
Best Practices: 100
SEO: 100
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@LL782
LL782 marked this pull request as ready for review September 13, 2026 20:46
Keep the Issues list from main and point the "agents don't forget"
item at the test-content skill.

Co-authored-by: Laurence Lord <laurence.lord@gmail.com>
@LL782
LL782 merged commit 96101c5 into main Nov 15, 2026
5 checks passed
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.

2 participants