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.
Overview
Adds more claude stuff.
I iterated on this throughout the
useOptimistic,useEffectEventanduseActionStatedoc revamps.To create/update these, I had claude comb through the existing docs more throughly to create exhastive rules in each section, then i had it go over them with the skills superpower to consolidate the repetition into the right skills (e.g. voice things in the docs-voice skill). Rinse and repeat until it was working pretty well.
Then I had it run a verification plan where it would create some sham docs, and then run the
/docs-revieweron them, iteratively improving the skills for thing that the skills, or reviewer agent missed.Finally, I had it do the
useEffectEventdocs, and then edited them by hand to do an editorial pass, then had claude review the diff and update the skills needed to write it with my edits. I'll probably do that more in the future PRs and just land the claude files in each PR iteratively.SKILL Improvements
docs-voiceskill that consolidates and expands on the brand voice rulesdocs-writer-blogskill for writing blog postsdocs-writer-learn: expandeddocs-writer-reference: expanded a tondocs-writer-components: expanded with all componentsdocs-writer-sandpack: expanded with thing i found it missedNew
/review-docsskillThe docs-reviewer agent was completely redone. Now there's a
/review-docsskill that spawns adocs-revieweragent for each skill (docs-components, docs-sandpack, etc). The reviewer agent creates a task list of things to review for that skill, and then reviews the the changes for conformance:That gives an output of feedback at the end like this:
New
/react-expertagentAdds a
/react-expertagent that understands concepts/APIs from the react repo using:This thing is nuts, but really useful.
Workflow for editing docs
This prompt worked really well for useEffectEvent:
Here's the plan it ran
And this commit was the output.