wp-agent-mcp / rules
Cursor rule1 starsChanged 33 days agoMITView on GitHub
Defines the indexing artifacts and the JSON response contract for audit and similarity endpoints.
In this repository11 other files it gives its agents.
- .cursor/rules/00-project-overview.mdcCursor rule
- .cursor/rules/10-architecture-and-safety.mdcCursor rule
- .cursor/rules/30-mcp-implementation-guidelines.mdcCursor rule
- .cursor/rules/40-wp-introspection-guidelines.mdcCursor rule
- wp-agent-toolkit-bootstrapSkill
- wp-agent-toolkit-cursor-pluginSkill
- wp-agent-toolkit-demoSkill
- wp-agent-toolkit-design-bridgeSkill
- wp-agent-toolkit-mcp-serverSkill
- wp-agent-toolkit-orchestratorSkill
- wp-agent-toolkit-wp-helper-pluginSkill
The file
Files
--- description: Defines the indexing artifacts and the JSON response contract for audit and similarity endpoints. globs: alwaysApply: true --- # Index & API Contracts (POC) ## Index location - `.cursor-wp-index/` - `index.sqlite` - `blocks.json`, `patterns.json`, `templates.json` (debug exports) ## Minimum SQLite tables - blocks(id, name, sourceType, path, attrsJson, stylesJson, variationsJson) - patterns(id, slug, title, path, blockFingerprint, markerSignature) - templates(id, type, path, blockFingerprint, includesJson) - content(postId, postType, title, blockFingerprint, markerSignature, contentSearchText) ## Fingerprints - blockFingerprint: hash of normalized block-name sequence (+ shallow depth hints) - markerSignature: hash of sorted classes/data-attrs/selectors ## /audit/component response MUST include - verdict: exists | partial | missing - bestMatch (if any): type + id/path + enableSteps - variants: existing + missing + recommended mechanism - usage: content/templates/patterns matches - candidates: ranked list with score + reasons[] - recommendation: reuse/extend/create + lowestRiskApproach - patchPlan: files + checks + rollback ## /search/similar response MUST include - queryEcho - matches grouped by kind: content, patterns, templates, files - confidence per match + reason markers
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

