Skip to content

[Docs] Clarify certification frontmatter keys in AGENTS.md - #179

Open
AbhishekMauryaGEEK wants to merge 1 commit into
meshery-extensions:masterfrom
AbhishekMauryaGEEK:docs/clarify-certification-frontmatter
Open

AbhishekMauryaGEEK wants to merge 1 commit into
meshery-extensions:masterfrom
AbhishekMauryaGEEK:docs/clarify-certification-frontmatter

Conversation

@AbhishekMauryaGEEK

@AbhishekMauryaGEEK AbhishekMauryaGEEK commented Nov 16, 2026 •

Copy link
Copy Markdown

Summary

Clarifies the distinction between source YAML frontmatter keys and the corresponding properties emitted in the generated Academy registry JSON.

  • Documents the expected snake_case frontmatter keys.
  • Identifies their corresponding camelCase JSON properties.
  • Preserves the existing serialization and nested-resource documentation.

Scope

Documentation-only change in AGENTS.md. No serializer, certification content, or frontend changes.

Validation

  • git diff --check passed.
  • Verified that only AGENTS.md was modified.

Fixes #178

Summary by CodeRabbit

  • Documentation
    • Clarified how frontmatter fields and descriptions appear in generated registry JSON.
    • Documented that local builds do not produce index.json and that camelCase frontmatter keys may serialize as null.

Signed-off-by: AbhishekMauryaGEEK <abhiotaku.am01@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

AGENTS.md now distinguishes certification frontmatter keys from generated JSON properties. It also describes field serialization, description rendering, local build outputs, and downstream serializer behavior.

Changes: Certification documentation

Layer / File(s) Summary
Document frontmatter serialization
AGENTS.md
The guide identifies the snake_case source keys and their camelCase JSON properties. It also clarifies raw field serialization, description rendering, local build outputs, and how downstream serializers handle camelCase frontmatter keys.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: arjunmehta-git

Merge Risk: Minimal · up to b7fe0

This is a documentation-only clarification of certification frontmatter keys and generated JSON properties. It does not change runtime behavior and has no identified merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "[Docs] Clarify certification frontmatter keys in AGENTS.md" matches the main change. The PR edits only AGENTS.md to document the distinction between snake_case Hugo frontmatter keys (such a…
Linked Issues check Passed Directly linked issue #178 has no coding requirements beyond documentation in AGENTS.md. The reviewed head of AGENTS.md meets the documented requirements. It explicitly names the snake_case source key…
Out of Scope Changes check Passed The changes stay in AGENTS.md, which the PR description and issue #178 both name as the only permitted file. The added text covers the same frontmatter-to-JSON naming topic. It also adds related guida…
Full details: Title check

Explanation

The title "[Docs] Clarify certification frontmatter keys in AGENTS.md" matches the main change. The PR edits only AGENTS.md to document the distinction between snake_case Hugo frontmatter keys (such as prerequisite_knowledge, related_resources, additional_attributes) and the camelCase properties in generated registry JSON. The title is specific, concise, and free of vague terms.

Full details: Linked Issues check

Explanation

Directly linked issue #178 has no coding requirements beyond documentation in AGENTS.md. The reviewed head of AGENTS.md meets the documented requirements. It explicitly names the snake_case source keys prerequisite_knowledge, related_resources, and additional_attributes, and it states that the generated JSON exposes the camelCase properties prerequisiteKnowledge, relatedResources, and additionalAttributes. The section also keeps the explanation of raw nested trees for prerequisiteKnowledge and relatedResources and of serialization through the theme's *.json.html serializers. The git diff tool was unavailable, so the base revision could not be compared. Preservation of removed base text (13 lines) is therefore inferred from retained content, not verified against the base.

Full details: Out of Scope Changes check

Explanation

The changes stay in AGENTS.md, which the PR description and issue #178 both name as the only permitted file. The added text covers the same frontmatter-to-JSON naming topic. It also adds related guidance on which fields are emitted raw, how the body maps to detailedDescription, that make build produces no index.json, and that snake_case keys are required for serialization. This guidance is documentation connected to the requested clarification. No serializer, certification-content, or frontend file is changed in the reviewed file set. The unverified base diff and the theme behavior claims (for example, that camelCase keys serialize as null) are not checked against repository code, because the theme is not in this repository.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1738988a-8247-402e-90b1-db8d4c8719b4
Commits

Reviewing files that changed from the base of the PR and between 3c816c3 and b7fe0c8.

Files selected for processing: 1

  • AGENTS.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@marblom007 marblom007 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice clarification — this reads much better than the original paragraph. I checked the restructure against the previous text and the mapping is faithful: the old text already said the serializers read the snake_case keys (prerequisite_knowledge, related_resources, additional_attributes) and that the JSON exposes the camelCase properties, and the new version keeps all of that, including the jsonify raw-emission note, the per-item description caveat, and the additional_attributes title/value/description exception. Nothing was dropped in the rewrite, and the scope is exactly as described — docs only, AGENTS.md only.

One optional nit: "use different naming conventions for different stages" is slightly redundant — "Hugo frontmatter uses snake_case source keys, while the generated registry JSON exposes the corresponding camelCase properties" says the same thing in one pass. Not a blocker, just a tightening if you touch this again.

Looks good as is.

@yi-nuo426

Copy link
Copy Markdown
Member

Good work! You might like to present your work in the upcoming, weekly Meshery development meeting (meshery.io/calendar). If so, I encourage you to add this item in the meeting agenda (https://meet.meshery.io/dev-minutes), attend, present, and receive feedback.

This branch has not been deployed

No deployments
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.

[Docs] Clarify certification frontmatter keys in AGENTS.md

3 participants