com um clique
update-docs-workflow
// Review the current Jaspr docs, audit source code doc comments, edit the source code, and run the generator script to verify docs updates.
// Review the current Jaspr docs, audit source code doc comments, edit the source code, and run the generator script to verify docs updates.
| name | update-docs-workflow |
| description | Review the current Jaspr docs, audit source code doc comments, edit the source code, and run the generator script to verify docs updates. |
This skill provides a systematic and automated workflow to inspect generated Jaspr reference files, trace documentation back to its source Dart declarations, audit comments for completeness, enrich source comments with examples, and run the doc generator to verify static site updates.
Ensure all public APIs across the monorepo have high-quality, comprehensive documentation comments (///) with functional usage examples and clean styling without placeholders.
[!IMPORTANT] Focus exclusively on the
docs/directory and Jaspr documentation site. Completely ignore thewebsite/directory (which contains the legacy/alternative Astro configuration).
Locate the generated reference markdown files under the Jaspr docs tree:
docs/content/packages/
For example, check if specific pages under preact_signals/, signals_core/, or signals_flutter/ are minimal, outdated, or contain empty blocks.
Use the declaration name and package context from the markdown file to locate the corresponding source file under the package’s source tree:
packages/preact_signals/lib/src/packages/signals_core/lib/src/packages/signals_flutter/lib/src/packages/signals_hooks/lib/src/Execute the programmatic audit script to check for declarations lacking comments or examples:
dart /Users/rodydavis/.gemini/antigravity/brain/5f607010-d7ba-40da-b166-4b3c433388c9/scratch/analyze_doc_comments.dart
Open the target source file and enrich the /// comments on classes, functions, and extensions using the following standards:
action.dart), or standard vs custom equality logic.<Info>, <Warning>, <Error>, or <Success> XML tags inside comments rather than markdown triple-colon syntax (:::) to leverage Jaspr's custom callout components.Regenerate all markdown files and search indices by executing:
dart scripts/generate_docs.dart
docs package to check for any formatting warnings:
dart analyze docs
docs/ folder:
jaspr build
Or run the development preview server:
jaspr serve
Open http://localhost:8080/ in the browser to visually inspect the updated docs and ensure everything renders beautifully.Highly optimized Flutter UI bindings and GPU rendering for reactive signals.
Comprehensive hook utility functions integrating reactive signals seamlessly with flutter_hooks.
Comprehensive reactive state hooks for integration with flutter_hooks.
Standardized compiler diagnostics, static analysis lints, and automated IDE quick-fixes.
Update all the `./examples` dependencies to the latest repository/third-party versions and fix any compiler or analysis issues.
Detailed guidelines, patterns, and rules for migrating codebases from signals.dart version 6.x to version 7.x.