update-comment

Update comment body text in NovaDB CMS with XHTML validation.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/novadb/claude-plugins --skill update-comment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-comment
Source: https://github.com/novadb/claude-plugins/tree/main/consulting/skills/update-comment
Command: npx skills add https://github.com/novadb/claude-plugins --skill update-comment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Update and correct the body text of an existing comment in a NovaDB-backed CMS without manual API choreography, ensuring the stored comment contains valid XHTML and the updated record is returned to the caller.

Core Features & Use Cases

  • XHTML Normalization: Ensures the provided body is valid XHTML with a <div> root element, wrapping plain text when necessary.
  • Deterministic Update Workflow: Calls novadb_cms_update_comment to apply the change and follows up with novadb_cms_get_comment to fetch and confirm the updated comment.
  • Use Cases: Fix typos, apply editorial edits, or make moderation updates while optionally attributing the change to a specific username for auditing.

Quick Start

Update comment abc-123 with the text Updated text wrapped in a div and return the updated comment data.

Frequently Asked Questions about update-comment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update comment body text in a NovaDB CMS?

To update comment body text in a NovaDB CMS, the Skill validates or wraps the new text into an XHTML div root, calls novadb_cms_update_comment to apply the change, and retrieves the updated comment using novadb_cms_get_comment to confirm the result.

How does XHTML normalization work when modifying CMS comments?

XHTML normalization ensures the provided comment body is valid by wrapping plain text into an XHTML div root element when necessary before applying the update through the NovaDB CMS update comment API.

Can I use this Skill to apply moderation updates to CMS comments?

Yes, you can use this Skill to apply moderation updates to CMS comments by modifying the body text, optionally attributing the change to a specific username for auditing purposes.

What happens after the comment update API returns 204 No Content?

After the comment update API returns 204 No Content, the Skill automatically calls novadb_cms_get_comment to retrieve and return the updated comment record, confirming the body text modification was applied successfully.

Do I need to manually wrap plain text in an XHTML div before updating a comment?

No, you do not need to manually wrap plain text in an XHTML div before updating a comment, as the Skill automatically validates and wraps the new body into an XHTML div root element when necessary.