Repository navigation
tasks skill: write plan fields the review page can draw - #75
Merged
Merged
Conversation
Plans arrive as paragraphs even when the content is a flow, a state machine, or a matrix. The review page renders Mermaid, Markdown tables, and leading context labels, so the skill now says when to use each, caps diagram size, and gives the Mermaid rules that render. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review on ArchCode
Merge order: after ArchAstro/firstlanding#19110, which makes the review page render Mermaid and context labels. Before that ships, diagrams show as their source text (readable, not broken).
Problem and author intent
Agents using the
tasksskill write every field as prose, even when the content is a request flow, a state machine, or a matrix. On a real 9-task plan, reviewers faced long paragraphs that narrate sequences and nested bullets standing in for tables. The goal is plans a reviewer can scan: diagrams and tables where the content has that shape, prose elsewhere.What changed
tasks/SKILL.md, section 2, gains "Write fields the review page can draw" (regenerated into all 8 harness plugins bytools/plugin-gen):sequenceDiagram(failing path incontext, target path inimplementation; only the target when nothing fails), state →stateDiagram-v2, components →flowchart LR, matrices and comparisons → Markdown tables, evidence → labelled lines (Observed <date>:,Current code:,Decision (<who>, <date>):,Precedent:,Hypothesis:,Prerequisite status:).scope; diagrams optional for one-file or linear work.?in messages:IDinstead of{id}).-markers for list items.export-apiimplementation now includes a sequence diagram.Scope
Skill text only (docs). No CLI or installer change.
Risk
Low. Guidance only; diagrams stay optional and fall back to their source when they fail to parse.
User impact
Plans drafted with the skill review as diagrams, tables, and tagged context instead of paragraphs.
Testing
tools/plugin-gen:npm run build,npm run check(140 generated files match the catalog),npm test(116 pass).contextandimplementation, and rendered through the built archdev CLI and the production review page with 0 Mermaid failures. Screenshots are in the firstlanding PR.Follow-ups
🤖 Generated with Claude Code