Skip to content

docs(skills): Add blocks guidance and other agents setup instructions - #17

Merged
xavierandueza merged 72 commits into
mainfrom
feature/add-custom-content-and-generic-agent-setup-instructions
Oct 13, 2026
Merged

xavierandueza merged 72 commits into
mainfrom
feature/add-custom-content-and-generic-agent-setup-instructions

Conversation

@xavierandueza

@xavierandueza xavierandueza commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Reviewers Notes

ONLY REVIEW the first 4x files - rest are just the duplicates of those across the different plugin packages we have.

🧰 Changes

Couple of improvements:

  • Adds info on how to/when to use the built-in components that ReadMe offers - based on what we have in the ai-cli-runner.
  • Adds info on how to do setup plugin free (for agents that don't have plugin access) - opencode, pi etc.

xavierandueza and others added 30 commits October 2, 2026 17:18
…t-skills

feat(skills): Improve Edit Page Content Skill
ty tony

Co-authored-by: Tony Li <runnabro@users.noreply.github.com>
…n-skill

feat(navigation): Improve manage navigation skill
@xavierandueza xavierandueza self-assigned this Oct 13, 2026
@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[Low impact] Documentation updates for skills and agent setup.

Regenerate and commit the client skill copies before merging so the required CI check passes.

Findings

  1. P1 Client copies fail CI ▶

Reviews (2) · Last reviewed commit: "feat: better formatting and don't name s..." · Reviewed by Greptile

@xavierandueza

Copy link
Copy Markdown
Contributor Author

(agent response)
No changes made. Greptile's summary (5/5) didn't list any actionable issues, and there are no inline comments. CI (validate) is passing.

@xavierandueza xavierandueza left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

self-reviewed, LGTM

@xavierandueza
xavierandueza marked this pull request as ready for review October 13, 2026 05:50
@xavierandueza xavierandueza changed the title docs(skills): Add custom content guidance and plugin-free agent setup docs(skills): Add blocks guidance and other agents setup instructions Oct 13, 2026
For MCP use the `/v2/search` endpoint via `execute-request` and if search is insufficient, retrieve categories for the section (`v2/branches/{branch}/categories/{section}`) then pages within categories (`/v2/branches/{branch}/categories/{section}/{title}/pages`)
**Done:** The exact page and full current body/metadata are available, or the new page's category and slug are agreed.
3. **Draft** Ensure that you have a strong idea of what the user wants, and what you can use in the page. Refer to the [ReadMe docs mdx page](https://docs.readme.com/main/docs/mdx.md) to understand how to write valid MDX. ReadMe offers several [built-in components](https://docs.readme.com/main/docs/built-in-components.md) that can be leveraged in every project. Apply the page-type concerns below. Existing projects may also have users who have setup [reusable content](https://docs.readme.com/main/docs/reusable-content.md) for their project that can also be utilized.
3. **Draft** Ensure that you have a strong idea of what the user wants, and what you can use in the page. Refer to the [ReadMe docs mdx page](https://docs.readme.com/main/docs/mdx.md) to understand how to write valid MDX. A good page uses components wherever they make the content easier to read: look for places each one fits, but never force one onto content that doesn't suit it. Follow [COMPONENTS.md](COMPONENTS.md) for when to use each built-in component and how to format it, and use reusable content where it fits (see below). Apply the page-type concerns below.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Client copies fail CI

The new COMPONENTS.md is missing from claude/skills/, codex/skills/, and cursor/skills/, and their SKILL.md copies still contain the old guidance. The pull request workflow runs node scripts/sync-skills.mjs --check, which fails on missing or different copies. Plugin users also won't receive the new component instructions.

Run node scripts/sync-skills.mjs and commit the generated copies.

Knowledge Base Used: Shared agent skills

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(agent response)
Not changing this here, on purpose. This PR only changes skills/ (the canonical source). The client copies in claude/, codex/ and cursor/ have already drifted on the base branch (update-project-settings and managing-readme-docs differ, and update-project-styling is still there), so they will be synced in a separate PR. That PR will fix the sync-skills --check failure and get the new guidance to plugin users. All the other validate steps (validate-skills.mjs, claude plugin validate --strict) pass locally.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Understood — thanks for clarifying. Given that the client-copy drift and synchronization are intentionally being handled in a separate PR, I’ll treat this as out of scope for the current change and withdraw the request here. The follow-up should run node scripts/sync-skills.mjs and include the generated copies so sync-skills --check passes and the new guidance reaches plugin users.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(agent response)
Fixed. The PR now targets main, and I ran node scripts/sync-skills.mjs, so COMPONENTS.md, other-agents.md and the updated SKILL.md/CLIENTS.md are copied to claude/, codex/ and cursor/. c6ca4cd

@xavierandueza
xavierandueza changed the base branch from feature/improve-skills to main October 13, 2026 06:19

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

EVERYTHING FROM HERE ON ARE JUST REPEATS BTW.
So only review those above.

| 📘 | Info | Context, FYI |
| 👍 | Success | Tips, suggestions, success states |
| 🚧 | Warning | Caution, limitations |
| ❗️ | Error | Danger, breaking changes, things that must not be skipped |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think the font awesome icons are a little more professional lookin imo

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(agent response)
Agreed. Callouts now default to <Callout icon="fa-…" theme="…">, with a suggested icon for each theme. theme is always set, because it can't be inferred from a Font Awesome icon (checked against @readme/markdown). The emoji blockquote form is still documented, and agents should keep using it when the page or project already does. 008c0c5


## MDX rules

ReadMe pages are MDX, which is stricter than Markdown wherever HTML is involved. See [MDX](https://docs.readme.com/main/docs/mdx.md) and [Troubleshoot MDX errors](https://docs.readme.com/main/docs/rendering-errors-invalid-mdx.md).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think telling the agent to follow a convention and not to mix them is good, but technically this isn't true anymore, we support standard html in jsx now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(agent response)
Good catch. I checked @readme/markdown: the mdxish engine accepts class, string style, <br> and HTML comments, but the legacy MDX engine still rejects them, so older projects still need JSX. The rule is now: pick one convention per page, follow what the page or project already uses, and default to JSX (it works on both engines). ccfede5

@xavierandueza
xavierandueza merged commit 6254e58 into main Oct 13, 2026
1 check 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