Skip to content

fix: remove arbitrary 500-word threshold from document-writer skill#24388

Merged
asharma53 merged 1 commit into
mainfrom
akash/remove-document-writer-word-threshold
Apr 8, 2026
Merged

fix: remove arbitrary 500-word threshold from document-writer skill#24388
asharma53 merged 1 commit into
mainfrom
akash/remove-document-writer-word-threshold

Conversation

@asharma53
Copy link
Copy Markdown
Contributor

@asharma53 asharma53 commented Apr 8, 2026

Summary

  • Remove the 500-word minimum guideline from the document-writer skill
  • The skill is now available for any written content that benefits from the document editor, regardless of length

🤖 Generated with Claude Code


Open with Devin

The word count threshold was arbitrary and prevented the skill from being
used for shorter content that would still benefit from the document editor.

Co-Authored-By: Claude <noreply@anthropic.com>
@asharma53 asharma53 merged commit 1b00607 into main Apr 8, 2026
@asharma53 asharma53 deleted the akash/remove-document-writer-word-threshold branch April 8, 2026 18:52
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 2 potential issues.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment on lines +9 to +10
includes:
- "document"
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.

🟡 catalog.json not updated to reflect new includes metadata in SKILL.md

The PR adds includes: ["document"] to the document-writer SKILL.md frontmatter but does not update the corresponding entry in skills/catalog.json:66-77. Every other skill that declares includes in its SKILL.md has the field mirrored in catalog.json under metadata.vellum.includes (e.g., oura at skills/catalog.json:218, restaurant-reservation at skills/catalog.json:264, voice-setup at skills/catalog.json:450). The repo has a dedicated script scripts/skills/generate-catalog.mjs for regenerating the catalog, and the most recent catalog commit is titled "chore: regenerate skills/catalog.json", confirming the expectation that the two stay in sync. The runtime skill loading reads includes from the parsed SKILL.md so core behavior is unaffected, but the catalog manifest served to clients and used for discovery will be missing this dependency information for document-writer.

Prompt for agents
The skills/catalog.json entry for document-writer (around line 66-77) needs to be updated to include the new includes field under metadata.vellum, matching the pattern used by all other skills with includes (e.g. oura, voice-setup, slack-app-setup). The entry should change from:

"vellum": { "display-name": "Document Writer" }

to:

"vellum": { "display-name": "Document Writer", "includes": ["document"] }

Alternatively, run the scripts/skills/generate-catalog.mjs script to regenerate the catalog automatically.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +9 to +10
includes:
- "document"
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.

🚩 Semantic overlap between document-writer (catalog) and document (bundled) skills

The document-writer first-party catalog skill and the document bundled skill have significant overlap in purpose — both deal with creating/editing long-form documents using the document editor. With this PR, document-writer now includes the document skill, meaning loading document-writer will also load document's SKILL.md content. The document bundled skill (assistant/src/config/bundled-skills/document/SKILL.md) is a concise 34-line skill focused on the tools (document_create, document_update), while document-writer is a 199-line skill with detailed workflow guidance, examples, and anti-patterns. The includes relationship makes sense (document-writer provides the workflow guidance, document provides the tool definitions), but reviewers should verify this is the intended skill architecture and that loading both doesn't produce conflicting instructions for the LLM.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

noanflaherty pushed a commit that referenced this pull request Apr 8, 2026
The word count threshold was arbitrary and prevented the skill from being
used for shorter content that would still benefit from the document editor.

Co-authored-by: Claude <noreply@anthropic.com>
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