Create or update standalone Micronaut Guides in micronaut-projects/micronaut-guides, including topic discovery, guide authoring, validation, PDF export, and pull request handoff. Use for requests to create a Micronaut Guide, add a guide to micronaut-guides, author a tutorial for a Micronaut module, or prepare a guide PR with PDF.
Use this skill for standalone tutorial work in micronaut-projects/micronaut-guides. Start from the caller's local Micronaut repository to understand the API, module, or behavior being taught, then do the guide implementation in a current clone of micronaut-guides.
Do not use this skill for ordinary module documentation under src/main/docs/guide; use the docs skill for that work. Do not use it for generic non-Micronaut tutorials.
Goal
Produce a reviewable pull request against micronaut-projects/micronaut-guides with source-backed guide content, validation evidence, and a PDF export of the rendered guide page for maintainers.
Procedure
Define the topic from the local repository.
Refresh upstream micronaut-guides and deduplicate against existing guides.
Inspect current repository conventions before writing.
Author the smallest correct guide change.
Validate the guide and render the page.
Export a PDF and prepare the PR handoff.
1) Define the Topic
Identify the exact Micronaut feature, module, API, integration, or migration path the guide should teach.
Read the local implementation, tests, module docs, and examples that prove the behavior.
Decide the target reader task in one sentence, for example: "Use Micronaut Serialization with a custom serializer in a controller response."
Prefer a runnable application and tests over prose-only explanation.
2) Refresh and Deduplicate
Work from current upstream facts, not this skill's snapshot:
Before creating a new guide, inventory guides/*/metadata.json and nearby guide source. Check titles, slugs, tags, categories, apps, base, publish, and guide bodies for duplicates or near-duplicates. Treat publish: false guides as base or partial guides, not public topics, but inspect them when a new guide could reuse them.
If an existing guide already teaches the task, update that guide instead of creating a duplicate. If overlap is ambiguous, stop and ask for maintainer direction.
3) Inspect Current Conventions
Always read these current upstream files before editing:
Use references/repository-workflow.md for clone, branch, build-output, task naming, and validation details. Use references/guide-authoring-conventions.md for metadata, directory layout, macros, placeholders, and base-guide rules.
4) Author the Guide
Choose a kebab-case slug that matches the reader task and does not collide with existing guide directories.
Create or update guides/<slug>/metadata.json.
Use one root AsciiDoc file named <slug>.adoc unless current metadata conventions require asciidoctor.
Put source under the expected Java, Groovy, and Kotlin layout when the guide supports multiple languages. If the feature is language-specific, set languages in metadata and explain why in the PR.
For single-app guides, use an app named default. For multi-app guides, mirror existing app-directory patterns and declare each app in metadata.
Use validated guide macros such as common:, source:, resource:, test:, testResource:, callout:, external:, dependency:, and guideLink: instead of manually duplicating generated paths.
Use conditional blocks such as :exclude-for-languages: and :exclude-for-build: for language-specific or build-tool-specific text.
Keep secrets out of source, generated code, rendered HTML, and the PDF. Use placeholders and documented cleanup steps for cloud resources.
5) Validate
Convert the guide slug from kebab-case to lowerCamelCase for dynamic tasks:
For broad validation or shared infrastructure changes, run:
./gradlew build
Generated applications are under build/code. Rendered HTML and site assets are under build/dist. For cloud, credentialed, or cost-incurring guides, do not run provisioning commands without explicit confirmation; document skipped validation and the reason.
6) Export PDF and Handoff
After rendering, export the reviewed HTML page to PDF. Prefer a headless browser export when available, and fall back to a manual browser "Print to PDF" export when needed. Keep the PDF as local review evidence or attach it to the PR; do not commit generated PDFs unless maintainers explicitly request that.
The PR body must include:
Guide slug and user-facing task.
Files changed.
Commands run and outcomes.
Rendered HTML path inspected.
PDF filename and whether it is attached or linked.
Any skipped validation, cloud costs, credentials, or cleanup notes.
See references/pdf-export-and-pr.md for the export workflow and PR checklist.
Security Guardrails
Never commit secrets, tokens, local credentials, cloud account identifiers, .env files, or generated PDFs containing private data.
Ask before running commands that provision cloud resources or incur cost.
Prefer sample placeholders for credentials and explain cleanup for created resources.
Scrub screenshots, HTML, logs, and PDFs before attaching them to a PR.
Do not add custom Starter features, dependencies, or buildSrc changes unless the guide topic requires them and nearby guide conventions support the change.
Examples
Use this skill for:
"Create a Micronaut Guide for the new serialization feature."
"Add a guide to micronaut-guides for this module."
"Author a tutorial for Micronaut Data's new repository behavior."
"Prepare a guide PR with the rendered PDF."
Do not use this skill for:
"Update src/main/docs/guide/toc.yml in this module."
"Fix the release history page in this repository."
"Write a generic blog post about Java."
Validation Checklist
Current micronaut-guides was cloned or fetched before writing.
Existing guide titles, slugs, tags, categories, and publish: false bases were checked for duplicates.
README.md, metadata schema, category source, and nearby guide examples were inspected.
Guide source uses current metadata, directory, macro, language, and build-tool conventions.
Single-guide build and test-script tasks were run, or skipped with a specific reason.
Rendered HTML was inspected under build/dist.
PDF export was created and named in the PR handoff.
PR handoff explains changed files, validation, skipped steps, and any security-sensitive handling.
References
references/repository-workflow.md
references/guide-authoring-conventions.md
references/guide-inventory.md
references/pdf-export-and-pr.md
1---2name: guides3description: Create or update standalone Micronaut Guides in micronaut-projects/micronaut-guides, including topic discovery, guide authoring, validation, PDF export, and pull request handoff. Use for requests to create a Micronaut Guide, add a guide to micronaut-guides, author a tutorial for a Micronaut module, or prepare a guide PR with PDF.4license: Apache-2.05---67# Guides (Micronaut Maintainer)89Use this skill for standalone tutorial work in `micronaut-projects/micronaut-guides`. Start from the caller's local Micronaut repository to understand the API, module, or behavior being taught, then do the guide implementation in a current clone of `micronaut-guides`.1011Do not use this skill for ordinary module documentation under `src/main/docs/guide`; use the `docs` skill for that work. Do not use it for generic non-Micronaut tutorials.1213## Goal1415Produce a reviewable pull request against `micronaut-projects/micronaut-guides` with source-backed guide content, validation evidence, and a PDF export of the rendered guide page for maintainers.1617## Procedure18191. Define the topic from the local repository.202. Refresh upstream `micronaut-guides` and deduplicate against existing guides.213. Inspect current repository conventions before writing.224. Author the smallest correct guide change.235. Validate the guide and render the page.246. Export a PDF and prepare the PR handoff.2526### 1) Define the Topic2728- Identify the exact Micronaut feature, module, API, integration, or migration path the guide should teach.29- Read the local implementation, tests, module docs, and examples that prove the behavior.30- Decide the target reader task in one sentence, for example: "Use Micronaut Serialization with a custom serializer in a controller response."31- Prefer a runnable application and tests over prose-only explanation.3233### 2) Refresh and Deduplicate3435Work from current upstream facts, not this skill's snapshot:3637```bash38git clone https://github.com/micronaut-projects/micronaut-guides.git39cd micronaut-guides40git fetch origin41git switch master42git pull --ff-only43```4445Before creating a new guide, inventory `guides/*/metadata.json` and nearby guide source. Check titles, slugs, tags, categories, `apps`, `base`, `publish`, and guide bodies for duplicates or near-duplicates. Treat `publish: false` guides as base or partial guides, not public topics, but inspect them when a new guide could reuse them.4647If an existing guide already teaches the task, update that guide instead of creating a duplicate. If overlap is ambiguous, stop and ask for maintainer direction.4849### 3) Inspect Current Conventions5051Always read these current upstream files before editing:5253- `README.md`54- `build.gradle`55- `buildSrc/src/main/java/io/micronaut/guides/core/Guide.java`56- `buildSrc/src/main/java/io/micronaut/guides/Category.java`57- `buildSrc/src/main/resources/guide-metadata.schema.json`58- Nearby guides in the same topic family5960Use `references/repository-workflow.md` for clone, branch, build-output, task naming, and validation details. Use `references/guide-authoring-conventions.md` for metadata, directory layout, macros, placeholders, and base-guide rules.6162### 4) Author the Guide6364- Choose a kebab-case slug that matches the reader task and does not collide with existing guide directories.65- Create or update `guides/<slug>/metadata.json`.66- Use one root AsciiDoc file named `<slug>.adoc` unless current metadata conventions require `asciidoctor`.67- Put source under the expected Java, Groovy, and Kotlin layout when the guide supports multiple languages. If the feature is language-specific, set `languages` in metadata and explain why in the PR.68- For single-app guides, use an app named `default`. For multi-app guides, mirror existing app-directory patterns and declare each app in metadata.69- Use validated guide macros such as `common:`, `source:`, `resource:`, `test:`, `testResource:`, `callout:`, `external:`, `dependency:`, and `guideLink:` instead of manually duplicating generated paths.70- Use conditional blocks such as `:exclude-for-languages:` and `:exclude-for-build:` for language-specific or build-tool-specific text.71- Keep secrets out of source, generated code, rendered HTML, and the PDF. Use placeholders and documented cleanup steps for cloud resources.7273### 5) Validate7475Convert the guide slug from kebab-case to lowerCamelCase for dynamic tasks:7677```bash78./gradlew <guideLowerCamel>Build79./gradlew <guideLowerCamel>RunTestScript80```8182For broad validation or shared infrastructure changes, run:8384```bash85./gradlew build86```8788Generated applications are under `build/code`. Rendered HTML and site assets are under `build/dist`. For cloud, credentialed, or cost-incurring guides, do not run provisioning commands without explicit confirmation; document skipped validation and the reason.8990### 6) Export PDF and Handoff9192After rendering, export the reviewed HTML page to PDF. Prefer a headless browser export when available, and fall back to a manual browser "Print to PDF" export when needed. Keep the PDF as local review evidence or attach it to the PR; do not commit generated PDFs unless maintainers explicitly request that.9394The PR body must include:9596- Guide slug and user-facing task.97- Files changed.98- Commands run and outcomes.99- Rendered HTML path inspected.100- PDF filename and whether it is attached or linked.101- Any skipped validation, cloud costs, credentials, or cleanup notes.102103See `references/pdf-export-and-pr.md` for the export workflow and PR checklist.104105## Security Guardrails106107- Never commit secrets, tokens, local credentials, cloud account identifiers, `.env` files, or generated PDFs containing private data.108- Ask before running commands that provision cloud resources or incur cost.109- Prefer sample placeholders for credentials and explain cleanup for created resources.110- Scrub screenshots, HTML, logs, and PDFs before attaching them to a PR.111- Do not add custom Starter features, dependencies, or buildSrc changes unless the guide topic requires them and nearby guide conventions support the change.112113## Examples114115Use this skill for:116117- "Create a Micronaut Guide for the new serialization feature."118- "Add a guide to `micronaut-guides` for this module."119- "Author a tutorial for Micronaut Data's new repository behavior."120- "Prepare a guide PR with the rendered PDF."121122Do not use this skill for:123124- "Update `src/main/docs/guide/toc.yml` in this module."125- "Fix the release history page in this repository."126- "Write a generic blog post about Java."127128## Validation Checklist129130- [ ] Current `micronaut-guides` was cloned or fetched before writing.131- [ ] Existing guide titles, slugs, tags, categories, and `publish: false` bases were checked for duplicates.132- [ ] `README.md`, metadata schema, category source, and nearby guide examples were inspected.133- [ ] Guide source uses current metadata, directory, macro, language, and build-tool conventions.134- [ ] Single-guide build and test-script tasks were run, or skipped with a specific reason.135- [ ] Rendered HTML was inspected under `build/dist`.136- [ ] PDF export was created and named in the PR handoff.137- [ ] PR handoff explains changed files, validation, skipped steps, and any security-sensitive handling.138139## References140141- `references/repository-workflow.md`142- `references/guide-authoring-conventions.md`143- `references/guide-inventory.md`144- `references/pdf-export-and-pr.md`
Run npx skillmds@latest add micronaut-projects/guides in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Create or update standalone Micronaut Guides in micronaut-projects/micronaut-guides, including topic discovery, guide authoring, validation, PDF export, and pull request handoff. Use for requests to create a Micronaut Guide, add a guide to micronaut-guides, author a tutorial for a Micronaut module, or prepare a guide PR with PDF. It is listed under Product & Planning on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under Apache-2.
micronaut-projects (@micronaut-projects) published this skill. Their other Agent Skills are listed on their SkillMD profile.