docs(skills): correct data-source registry example and clean up maintainer skill artifacts - #281
Conversation
|
Important Review skippedNo new commits to review since the last review. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughDocumentation-only updates across the agent skills layer: the ChangesAgent skills documentation updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…ainer skill artifacts The maintainer skill set (.agents/skills/) shipped in NVIDIA-AI-Blueprints#269/NVIDIA-AI-Blueprints#277 carried a few documentation defects found while auditing it against the live AI-Q config schema and the sibling NeMo-Relay skill set. Documentation-only; no skills are added or removed. - aiq-add-data-source: correct the data_source_registry YAML example to match DataSourceEntry / DataSourceRegistryConfig and the working configs -- use the `data_sources` instance name, drop the non-existent `category` field, and list `tools` as plain function-instance-name strings (not `_type:` mappings). Add the missing `ruff format --check` to the validation block. - aiq-add-data-source: replace the dangling `aiq-ui-change` reference (no such skill) with a generic frontends/ui note. - aiq-prepare-pr, aiq-release-qa: remove stray `</content>` artifacts left at the end of three skill files. - aiq-release-qa: the npm "only these scripts exist" claim was inaccurate (package.json defines many more); reword to recommend the canonical checks without asserting exhaustiveness. - docs/integration/agent-skills.md, .agents/skills/README.md: list all four maintainer skills and all four .claude/skills maintainer symlinks. Validation: scripts/validate_skills.py (6 skills OK), pytest tests/test_agent_skills.py (4 passed), and pre-commit (detect-secrets, validate-skills, markdown-link-check) on the changed files all pass. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com>
ce3d980 to
606a903
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
/ok to test 606a903 |
…intainer skills DEVSKILLS-8 (under epic AIQ-3362) tracks later maintainer skills until their surfaces stabilize or become active release work. Two of those gates have now opened, so these skills move from the backlog into the set: - aiq-customize-prompts-models: prompt/model customization became active release work in 2.2 (per-agent LLM role fields orchestrator_llm/source_router_llm/ researcher_llm/planner_llm/writer_llm via NVIDIA-AI-Blueprints#267, plus the documented Jinja2 prompt templates and swapping-models guide). Routes editing src/aiq_agent/agents/*/prompts/*.j2 and assigning LLMs per role in the llms section and agent config. - aiq-maintain-ci: CI/governance became active release work (4 workflows, contributor governance setup, the skill-eval regression gate, copy-pr-bot mirroring, and an expanded pre-commit hook set). Routes changes to .github/workflows, .pre-commit-config.yaml, CODEOWNERS, .coderabbit.yaml, and the .github/skill-eval harness. Each skill is a SKILL.md plus two references and a .claude/skills compatibility symlink, following the existing maintainer-skill conventions. The other two DEVSKILLS-8 skills stay deferred: aiq-auth-data-source-integration (protected- source UX/API deferred to 2.2/2.3 per PR NVIDIA-AI-Blueprints#212) and aiq-ui-change (2.2 UI auth controls not yet settled). Doc example listings (agent-skills.md table, README) that enumerate maintainer skills are reworked in the separate PR NVIDIA-AI-Blueprints#281; kept disjoint here. Validation: scripts/validate_skills.py (8 skills OK), pytest tests/test_agent_skills.py (4 passed), and pre-commit (detect-secrets, validate-skills, markdown-link-check) on the new files all pass. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com>
Now that NVIDIA-AI-Blueprints#281 has merged, enumerate aiq-customize-prompts-models and aiq-maintain-ci alongside the other four maintainer skills in the .agents/skills/README.md and docs/source/integration/agent-skills.md examples tables, and add their .claude/skills symlinks to the documented symlink block. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com>
) * feat(skills): add aiq-customize-prompts-models and aiq-maintain-ci maintainer skills DEVSKILLS-8 (under epic AIQ-3362) tracks later maintainer skills until their surfaces stabilize or become active release work. Two of those gates have now opened, so these skills move from the backlog into the set: - aiq-customize-prompts-models: prompt/model customization became active release work in 2.2 (per-agent LLM role fields orchestrator_llm/source_router_llm/ researcher_llm/planner_llm/writer_llm via #267, plus the documented Jinja2 prompt templates and swapping-models guide). Routes editing src/aiq_agent/agents/*/prompts/*.j2 and assigning LLMs per role in the llms section and agent config. - aiq-maintain-ci: CI/governance became active release work (4 workflows, contributor governance setup, the skill-eval regression gate, copy-pr-bot mirroring, and an expanded pre-commit hook set). Routes changes to .github/workflows, .pre-commit-config.yaml, CODEOWNERS, .coderabbit.yaml, and the .github/skill-eval harness. Each skill is a SKILL.md plus two references and a .claude/skills compatibility symlink, following the existing maintainer-skill conventions. The other two DEVSKILLS-8 skills stay deferred: aiq-auth-data-source-integration (protected- source UX/API deferred to 2.2/2.3 per PR #212) and aiq-ui-change (2.2 UI auth controls not yet settled). Doc example listings (agent-skills.md table, README) that enumerate maintainer skills are reworked in the separate PR #281; kept disjoint here. Validation: scripts/validate_skills.py (8 skills OK), pytest tests/test_agent_skills.py (4 passed), and pre-commit (detect-secrets, validate-skills, markdown-link-check) on the new files all pass. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com> * docs(skills): fix accuracy issues in the two new maintainer skills Address PR #282 review feedback; every change verified against the repo. aiq-maintain-ci: - pytest and helm-lint are pre-commit `stages: [push]`, so `pre-commit run --all-files` does NOT run them (the prior "can be heavier than expected" note was backwards). Document `--hook-stage push` and that CI runs them as the dedicated test/helm-lint jobs; note the pre-commit job's SKIP= set. - Correct ui.yml job ids (install/lint/type-check/unit-test/build); name the skills-eval stages (detect-changes -> generate-datasets, which is creds-free -> harbor-eval); drop the tangential aiq-add-tool from Related Skills. aiq-customize-prompts-models: - The LLMProvider.configure(LLMRole.X) role binding is the deep-researcher pattern (add a field->role table: ORCHESTRATOR/ROUTER/RESEARCHER/PLANNER/ REPORT_WRITER); the clarifier passes planner_llm to its constructor instead. Unset deep-research roles fall back to orchestrator_llm (no generic `llm` field). Add source_router_llm to the example. - Adding a NEW template needs a one-line load_prompt wiring in the agent (prompts.md Step 3); soften "without changing agent code". Note prompts.md does not document every template's variables (source_router/writer/ source_registry) -- the .j2 files are authoritative. both: - Validation smoke must pass `--config_file <your config>` (a bare start_cli.sh runs the fixed default config); scope pytest to the agent's test dir. Validation: validate_skills.py (8 OK), pytest tests/test_agent_skills.py (4 passed), pre-commit (detect-secrets, validate-skills, markdown-link-check) on the changed files all pass. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com> * docs(skills): list the two new skills in the maintainer skill tables Now that #281 has merged, enumerate aiq-customize-prompts-models and aiq-maintain-ci alongside the other four maintainer skills in the .agents/skills/README.md and docs/source/integration/agent-skills.md examples tables, and add their .claude/skills symlinks to the documented symlink block. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com> * docs(skills): warn against hardcoding queries/domains in prompts Address review feedback on aiq-customize-prompts-models: add guidance that prompt templates must stay task-agnostic and not hard-code specific queries, domains, or source/tool names, since source/domain selection is data-driven via the data_source_registry and source_router.j2. Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com> --------- Signed-off-by: Zhongxuan Wang <daniewang@nvidia.com> Co-authored-by: Chantal D Gama Rose <cdgamarose@nvidia.com>
Overview
The maintainer skill set under
.agents/skills/(landed in #269 and #277) carrieda few documentation defects, found while auditing the skills against the live
AI-Q config schema and the sibling NeMo-Relay skill set. This PR fixes them.
Documentation-only — no skills are added or removed, and no product/runtime
code changes.
What changed:
aiq-add-data-sourceregistry example (highest-impact). The YAML example inreferences/registry-and-ui.mddid not matchDataSourceEntry/DataSourceRegistryConfigor any working config: it used thedata_source_registryinstance name (real configs use
data_sources), included a non-existentcategoryfield, and expressedtoolsas_type:mappings instead of theschema's
list[FunctionRef](plain function-instance-name strings). Corrected tomatch the schema and
configs/config_web_frag.yml. Also added the missinguv run ruff format --checkto the validation block (its ownreferences/validation.mdand the sibling
aiq-add-toolalready include it).registry-and-ui.mdrouted UI work to anon-existent
aiq-ui-changeskill; replaced with a genericfrontends/ui/note.</content>artifacts removed from three files(
aiq-prepare-pr/SKILL.md,aiq-prepare-pr/references/pr-checklist.md,aiq-release-qa/references/validation-matrix.md).aiq-release-qastated only a handful of npmscripts "exist" in
frontends/ui/package.json, which defines ~16; reworded torecommend the canonical checks without asserting exhaustiveness.
docs/source/integration/agent-skills.mdand.agents/skills/README.mdlisted onlyaiq-add-data-sourceas a maintainerexample; updated both to list all four maintainer skills and all four
.claude/skillsmaintainer symlinks.Validation
All commands run from the repo root; output below is verbatim.
scripts/validate_skills.py+tests/test_agent_skills.pygates already cover these skill files and pass.)git commit -sor an equivalent sign-off.Where should reviewers start?
.agents/skills/aiq-add-data-source/references/registry-and-ui.md— the registryYAML example is the highest-impact fix; compare it against
DataSourceEntryinsrc/aiq_agent/common/data_source_registry.pyand thedata_sources:block inconfigs/config_web_frag.yml. The rest are small, self-evident cleanups.Related Issues
🤖 Generated with Claude Code
Summary by CodeRabbit