Skip to content

Publish an agent guide for the markdown field type (ADR 0013) - #6

Merged
DanMat merged 1 commit into
mainfrom
agent-guide-fragment
Aug 24, 2026
Merged

DanMat merged 1 commit into
mainfrom
agent-guide-fragment

Conversation

@DanMat

@DanMat DanMat commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Enabling this plugin now teaches AI agents how to drive its field. The plugin registers a short markdown fragment via the new skills() capability (NimbusCMS ADR 0013), served over MCP as nimbus://guide/plugin/nimbuscms.markdown.

The guide tells an agent the markdown field's contract: send/receive raw Markdown source (never HTML), whitespace is preserved verbatim, and the optional max_length caps the character count.

As the official reference plugin, this is the first real consumer of the skill capability — proving the contract end to end, the same way it proves field types (the core capability landed in nimbus#172 with a test-fixture consumer; this is the real one).

Also

Core's Validator::validate now returns structured FieldError objects, so one test's assertion is updated from a string check to ->message. (composer.lock is gitignored, so CI resolves nimbuscms/nimbus: dev-main fresh and picks up skills().)

Gates

Verified against core dev-main (9545934): php-cs-fixer clean · PHPStan L(max) clean · phpunit 30/30 green (incl. the new agent-guide test).

🤖 Generated with Claude Code

Enabling this plugin now teaches AI agents how to drive its field. The plugin
registers a short markdown fragment via the new `skills()` capability
(NimbusCMS ADR 0013), served over MCP as
`nimbus://guide/plugin/nimbuscms.markdown`: send/receive raw Markdown source
(never HTML), whitespace is preserved, and the optional `max_length` caps the
character count.

As the official reference plugin, this is also the first real consumer of the
skill capability — proving the contract end to end, the same way it proves field
types.

Bumps the `nimbuscms/nimbus` dev dependency to the core that ships `skills()`,
and adapts one test to core's structured `FieldError` validation results (core's
`Validator::validate` now returns FieldError objects, not strings).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@DanMat
DanMat merged commit c9432e2 into main Aug 24, 2026
2 checks passed
@DanMat
DanMat deleted the agent-guide-fragment branch August 24, 2026 18:00
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.

1 participant