视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
prompt prefix.\n- **Include the SPDX header** if creating a new page.\n- **Match existing frontmatter format** if creating a new page.\n- **Always write NVIDIA in all caps.** Wrong: Nvidia, nvidia.\n- **Always capitalize NemoClaw correctly.** Wrong: nemoclaw (in prose), Nemoclaw.\n- **Always capitalize OpenShell correctly.** Wrong: openshell (in prose), Openshell, openShell.\n- **Do not number section titles.** Wrong: \"Section 1: Configure Inference\" or \"Step 3: Verify.\" Use plain descriptive titles.\n- **No colons in titles.** Wrong: \"Inference: Cloud and Local.\" Write \"Cloud and Local Inference\" instead.\n- **Use colons only to introduce a list.** Do not use colons as general-purpose punctuation between clauses.\n\nWhen updating an existing page:\n\n- Add content in the logical place within the existing structure.\n- Do not reorganize sections unless the change requires it.\n- Update any cross-references or \"Next Steps\" links if relevant.\n\nWhen creating a new page:\n\n- Follow the frontmatter template from existing pages in `docs/`.\n- Add the page to the appropriate navigation entry in `docs/index.yml`.\n\n## Step 6: Present the Results\n\nAfter drafting all updates, present a summary to the user:\n\n```markdown\n## Doc Updates from Commits\n\n### Updated pages\n- `docs/reference/commands.mdx`: Added `eject` command documentation (from commit abc1234).\n- `docs/reference/network-policies.mdx`: Updated policy schema for new egress rule (from commit def5678).\n\n### New pages needed\n- None (or list any new pages created).\n\n### Skipped (docs-skip)\n- `feat(sandbox): add experimental-flag` (abc1234) — matched skip-features: \"experimental-flag\".\n\n### Commits with no doc impact\n- `chore(deps): bump typescript` (abc1234) — internal dependency, no user-facing change.\n- `test: add launch command test` (def5678) — test-only change.\n```\n\n## Step 7: Apply Release Prep Updates\n\nSkip this step when the user only asked for ordinary doc catch-up and no release prep is involved.\n\nIf the user invoked this skill for release prep, finish the release-specific doc work before verification:\n\n1. Make any requested doc version bumps in `versions1.json` and `project.json` in the `docs/` directory.\n2. Determine the release label from the release version. Release labels use `vX.Y.Z` format. For example, if `docs/project.json` has `\"version\": \"0.0.37\"`, the release label is `v0.0.37`. Use the version requested by the user if one was provided; otherwise use the version in `docs/project.json` after the bump.\n3. Refresh the NemoClaw user skills:\n\n ```bash\n python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user --doc-platform fern-mdx\n ```\n\n## Step 9: Build and Verify\n\nAfter making changes, build the docs locally:\n\n```bash\nmake docs\n```\n\nCheck for:\n\n- Build warnings or errors.\n- Broken cross-references.\n- Correct rendering of new content.\n- Generated skill changes that do not correspond to source doc changes.\n\n## Step 10: Open the Docs PR\n\nCommit changes and open a pull request with a concise summary of the doc updates and a source summary that links each identified merged PR to its matching doc page. Include the PR number, affected doc page, links, and description of the doc change in this shape:\n\n```markdown\n- #\u003cdoc-impacting-PR-number> -> `docs/path.mdx`: Description of the doc change reflecting the source code changes in the PR.\n```\n\nApply the `documentation` label and the corresponding release label so reviewers can identify doc-only changes for the target release.\nWhen creating the PR with `gh pr create`, pass both labels, for example `--label documentation --label v0.0.37`.\nIf the release label does not exist, report that instead of substituting another label.\n\n## Tips\n\n- When in doubt about whether a commit needs a doc update, check if the commit message references a CLI flag, config option, or user-visible behavior.\n- Group related commits that touch the same doc page into a single update rather than making multiple small edits.\n- If a commit is a breaking change, add a note at the top of the relevant section using a `:::{warning}` admonition.\n- PRs that are purely internal refactors with no behavior change do not need doc updates, even if they touch high-signal directories.\n- To suppress documentation for a merged feature that is not ready for public docs, add it to `docs/.docs-skip`. Remove the entry once the feature is ready to document.\n\n## Summary of Steps\n\nUser says: \"Catch up the docs for everything merged since v0.1.0.\"\n\n1. Run `git log v0.1.0..HEAD --oneline --no-merges --name-only`.\n2. Filter to `feat`, `fix`, `refactor`, `perf` commits touching user-facing code.\n3. Map each to a doc page.\n4. Read the commit diffs and current doc pages.\n5. Draft doc updates reflecting the source code changes in the commits following the style guide.\n6. **Release prep only:** Apply release-prep version bumps if the user requested release prep.\n7. **Release prep only:** Run `python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user --doc-platform fern-mdx`.\n8. Present the summary.\n9. Build with `make docs` to verify.\n10. **Release prep only:** Commit changes and open a pull request with the `documentation` label and the corresponding `vX.Y.Z` release label. Include a concise summary of the doc updates and a source summary that links each identified merged PR to its matching doc page. Include the PR number, affected doc page, links, and description of the doc change in this shape:\n\n ```markdown\n - #\u003cdoc-impacting-PR-number> -> `docs/path.mdx`: Description of the doc change reflecting the source code changes in the PR.\n ```\n\n If the release label does not exist, report that the PR was created without the release label or that PR creation failed because the label was missing.\n","licenseDocuments":[]}}
nvidia-nemoclaw-contributor-update-docs【文档与办公】Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages and refresh generated user skills for release prep. Use when docs have fallen behind code changes, after a batch of features lands, during daily release prep, or when preparing a release. Trigger keywords - update docs, dra…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Scan recent git history for commits that affect user-facing behavior and draft documentation updates for each.
NemoClaw).docs/ directory must exist with the current doc set.Before scanning commits, read docs/.docs-skip if it exists. This file lists features and commits that are merged but should not be documented yet (experimental, under review, etc.).
cat docs/.docs-skip
Parse these sections from the file:
skip-features: — substring patterns matched against commit messages and changed file paths. Any commit whose message or file list contains a listed string is excluded.skip-terms: — terms that must never appear in generated documentation. Check all drafted content against this list before writing. If a drafted sentence contains a skip-term, remove that sentence or the entire section. This is a hard gate — no skip-term may appear in any doc output.Ignore comment lines (starting with #) and inline comments (everything after #).
Keep the loaded skip list in memory for use throughout the skill execution and the whole documentation process.
Determine the commit range. The user may provide one explicitly (e.g., "since v0.1.0" or "last 30 commits"). If not, default to commits since the head of the main branch.
# Commits since a tag
git log v0.1.0..HEAD --oneline --no-merges
# Or last 50 commits
git log -50 --oneline --no-merges
Filter to commits that are likely to affect docs. Apply every rule below before proceeding. A commit excluded by any rule must not produce doc changes.
feat, fix, refactor, perf commits often change behavior. docs commits are already doc changes. chore, ci, test commits rarely need doc updates.nemoclaw/src/, nemoclaw-blueprint/, bin/, scripts/, or policy-related code are high-signal.test/, .github/, or internal-only modules.skip-commits, or whose commit message or changed file paths contain a skip-features substring. Report skipped commits in the final summary under a "Skipped (docs-skip)" heading.# Show files changed per commit to assess impact
git log v0.1.0..HEAD --oneline --no-merges --name-only
For each relevant commit, determine which doc page(s) it affects. Use this mapping as a starting point:
| Code area | Likely doc page(s) |
|---|---|
nemoclaw/src/commands/ (launch, connect, status, logs) | docs/reference/commands.mdx |
nemoclaw/src/commands/ (new command) | May need a new page or entry in docs/reference/commands.mdx |
nemoclaw/src/blueprint/ | docs/reference/architecture.mdx |
nemoclaw/src/cli.ts or nemoclaw/src/index.ts | docs/reference/commands.mdx, docs/get-started/quickstart.mdx |
nemoclaw-blueprint/orchestrator/ | docs/reference/architecture.mdx |
nemoclaw-blueprint/policies/ | docs/reference/network-policies.mdx |
nemoclaw-blueprint/blueprint.yaml | docs/reference/architecture.mdx, docs/inference/inference-options.mdx |
scripts/ (setup, start) | docs/get-started/quickstart.mdx |
Dockerfile | docs/reference/architecture.mdx |
| Inference-related changes | docs/inference/inference-options.mdx |
If a commit does not map to any existing page but introduces a user-visible concept, flag it as needing a new page.
For each commit that needs a doc update, read the full diff to understand the change:
git show <commit-hash> --stat
git show <commit-hash>
Extract:
Before editing, read the full target doc page to understand its current content and structure.
Identify where the new content should go. Follow the page's existing structure.
Before writing, verify that the commit was not excluded in Step 1. Do not draft content for commits matched by the skip list or for agent integrations not in the tested agent support matrix. After drafting, scan the content for any skip-terms from docs/.docs-skip. Remove any sentence or section that contains a skip-term. If in doubt, skip the commit and report it.
Write the doc update following these conventions:
console language with $ prompt prefix.When updating an existing page:
When creating a new page:
docs/.docs/index.yml.After drafting all updates, present a summary to the user:
## Doc Updates from Commits
### Updated pages
- `docs/reference/commands.mdx`: Added `eject` command documentation (from commit abc1234).
- `docs/reference/network-policies.mdx`: Updated policy schema for new egress rule (from commit def5678).
### New pages needed
- None (or list any new pages created).
### Skipped (docs-skip)
- `feat(sandbox): add experimental-flag` (abc1234) — matched skip-features: "experimental-flag".
### Commits with no doc impact
- `chore(deps): bump typescript` (abc1234) — internal dependency, no user-facing change.
- `test: add launch command test` (def5678) — test-only change.
Skip this step when the user only asked for ordinary doc catch-up and no release prep is involved.
If the user invoked this skill for release prep, finish the release-specific doc work before verification:
Make any requested doc version bumps in versions1.json and project.json in the docs/ directory.
Determine the release label from the release version. Release labels use vX.Y.Z format. For example, if docs/project.json has "version": "0.0.37", the release label is v0.0.37. Use the version requested by the user if one was provided; otherwise use the version in docs/project.json after the bump.
Refresh the NemoClaw user skills:
python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user --doc-platform fern-mdx
After making changes, build the docs locally:
make docs
Check for:
Commit changes and open a pull request with a concise summary of the doc updates and a source summary that links each identified merged PR to its matching doc page. Include the PR number, affected doc page, links, and description of the doc change in this shape:
- #<doc-impacting-PR-number> -> `docs/path.mdx`: Description of the doc change reflecting the source code changes in the PR.
Apply the documentation label and the corresponding release label so reviewers can identify doc-only changes for the target release.
When creating the PR with gh pr create, pass both labels, for example --label documentation --label v0.0.37.
If the release label does not exist, report that instead of substituting another label.
:::{warning} admonition.docs/.docs-skip. Remove the entry once the feature is ready to document.User says: "Catch up the docs for everything merged since v0.1.0."
git log v0.1.0..HEAD --oneline --no-merges --name-only.feat, fix, refactor, perf commits touching user-facing code.python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user --doc-platform fern-mdx.make docs to verify.documentation label and the corresponding vX.Y.Z release label. Include a concise summary of the doc updates and a source summary that links each identified merged PR to its matching doc page. Include the PR number, affected doc page, links, and description of the doc change in this shape:- #<doc-impacting-PR-number> -> `docs/path.mdx`: Description of the doc change reflecting the source code changes in the PR.
If the release label does not exist, report that the PR was created without the release label or that PR creation failed because the label was missing.