Skip to content

docs: document missing skill registry subcommand and fix Starlight sidebar config - #530

Merged
yacosta738 merged 3 commits into
mainfrom
jules-6681027526467473080-ace4fbca
Aug 10, 2026
Merged

docs: document missing skill registry subcommand and fix Starlight sidebar config#530
yacosta738 merged 3 commits into
mainfrom
jules-6681027526467473080-ace4fbca

Conversation

@yacosta738

Copy link
Copy Markdown
Contributor

Documented the missing agentsync skill registry subcommand and its nested validate and sync commands on the CLI Reference page. Also corrected an obsolete sidebar autogenerate configuration in astro.config.mjs to resolve documentation site build failures.


PR created automatically by Jules for task 6681027526467473080 started by @yacosta738

@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Documented the agentsync skill registry command and its validate and sync subcommands.
    • Added guidance for optional manifest and lockfile paths, registry validation, and lockfile regeneration.
  • Bug Fixes

    • Fixed the Reference sidebar configuration to prevent documentation build failures.

Walkthrough

The documentation now describes agentsync skill registry validate and sync, including configurable manifest and lockfile paths. The Starlight Reference sidebar configuration uses an items array. The journal records both updates.

Changes

Documentation updates

Layer / File(s) Summary
Skill registry CLI reference
website/docs/src/content/docs/reference/cli.mdx
Documents the skill registry command and its validate and sync subcommands.
Documentation navigation and journal
website/docs/astro.config.mjs, .agents/journal/scribe-journal.md
Updates the Reference sidebar configuration and records the related changes in the journal.

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

I’m a rabbit with docs in my den,
Registry commands now guide users again.
Validate checks, sync writes with care,
The sidebar finds its entries there.
Hop, hop—clear paths everywhere!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description accurately covers the CLI documentation and Starlight sidebar configuration changes.
Title check ✅ Passed The title clearly summarizes the missing CLI documentation and Starlight sidebar configuration fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jules-6681027526467473080-ace4fbca

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yacosta738
yacosta738 marked this pull request as ready for review August 9, 2026 18:52
@yacosta738
yacosta738 enabled auto-merge August 9, 2026 18:52
@yacosta738
yacosta738 disabled auto-merge August 10, 2026 04:42
@yacosta738
yacosta738 merged commit 69291af into main Aug 10, 2026
26 of 27 checks passed
@yacosta738
yacosta738 deleted the jules-6681027526467473080-ace4fbca branch August 10, 2026 04:42
@dallay-bot dallay-bot Bot mentioned this pull request Aug 9, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@website/docs/src/content/docs/reference/cli.mdx`:
- Line 292: Update the documentation text “maintainer curated registry” to
“maintainer-curated registry” in the registry validation statement.
- Around line 300-308: Update the validate command documentation to describe
manifest-only validation, matching the runtime behavior of load_curated_registry
in the validate flow. Remove the --lock option and its default path from the
documented options, unless the implementation is first changed to load and
compare the lockfile.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 9357eeae-3983-4cc6-8272-0f988671a045

📥 Commits

Reviewing files that changed from the base of the PR and between 7e50659 and c7bf058.

📒 Files selected for processing (3)
  • .agents/journal/scribe-journal.md
  • website/docs/astro.config.mjs
  • website/docs/src/content/docs/reference/cli.mdx


#### `registry`

Validate and refresh the maintainer curated registry.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Hyphenate the compound modifier.

Change maintainer curated registry to maintainer-curated registry.

LanguageTool flagged this line.

🧰 Tools
🪛 LanguageTool

[grammar] ~292-~292: Use a hyphen to join words.
Context: ...ry` Validate and refresh the maintainer curated registry. ```bash agentsync ski...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@website/docs/src/content/docs/reference/cli.mdx` at line 292, Update the
documentation text “maintainer curated registry” to “maintainer-curated
registry” in the registry validation statement.

Source: Linters/SAST tools

Comment on lines +300 to +308
Validate a curated registry manifest against its lockfile constraints.

```bash
agentsync skill registry validate [OPTIONS]
```

**Options**:
- `--manifest <MANIFEST>`: Path to the registry manifest file (defaults to `src/skills/registry.v1.toml`).
- `--lock <LOCK>`: Path to the registry lockfile (defaults to `src/skills/registry.lock.toml`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Do not document validate as a lockfile check.

The runtime passes only args.manifest to load_curated_registry. The --lock path is not read or compared. This makes both the description and the --lock option misleading.

Document validate as manifest-only and remove --lock, unless the CLI implementation is changed to validate the lockfile.

Proposed documentation fix
-Validate a curated registry manifest against its lockfile constraints.
+Validate a curated registry manifest.
...
- - `--lock <LOCK>`: Path to the registry lockfile (defaults to `src/skills/registry.lock.toml`).

This assessment uses the supplied runtime snippets in src/commands/skill.rs, Lines [790-805], and src/skills/registry.rs, Lines [69-78].

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Validate a curated registry manifest against its lockfile constraints.
```bash
agentsync skill registry validate [OPTIONS]
```
**Options**:
- `--manifest <MANIFEST>`: Path to the registry manifest file (defaults to `src/skills/registry.v1.toml`).
- `--lock <LOCK>`: Path to the registry lockfile (defaults to `src/skills/registry.lock.toml`).
Validate a curated registry manifest.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@website/docs/src/content/docs/reference/cli.mdx` around lines 300 - 308,
Update the validate command documentation to describe manifest-only validation,
matching the runtime behavior of load_curated_registry in the validate flow.
Remove the --lock option and its default path from the documented options,
unless the implementation is first changed to load and compare the lockfile.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants