Skip to content

fix(skills): improve PR verification and link bundled skills - #121

Open
scotluns wants to merge 1 commit into
mainfrom
feat/maintainer-bundle-skills
Open

scotluns wants to merge 1 commit into
mainfrom
feat/maintainer-bundle-skills

Conversation

@scotluns

Copy link
Copy Markdown
Collaborator

Why

PR descriptions should tell reviewers how to exercise the changed behavior, rather than substitute a list of checks the author ran. Maintainers should also use the same skill sources that SkLC distributes, so improvements are exercised in our own development workflow.

What Changed

  • Strengthen the bundled PR-description skill with setup, actions, observable outcomes, intended-consumer checks, and deliberate failure cases. Preserve distinct triggers and consumer paths while linking shared setup. Separate completed checks from reviewer instructions, align the quick reference, and remove the contradictory old example.
  • Add committed relative directory symlinks for all four bundled skills under .agents/skills/, pointing to their canonical products/skill-bundle/ directories.
  • Refresh the four original scanner/adjudication report pairs using assessment-kit with nemotron-3.5-super-vl for scanning and adjudication.

How To Verify

  1. Check out this branch in a fresh clone. Run git ls-files --stage .agents/skills/ and confirm the four bundle entries use mode 120000. Run readlink on each: targets should be ../../products/skill-bundle/<skill-name>. Open each linked SKILL.md and confirm it resolves to the canonical product source.
  2. Start a fresh agent session in that checkout and confirm all four workspace skills are discoverable. Ask it to use the workspace PR-description skill to draft a title and body for the existing site-identity diff (git diff 9287230^1 9287230), without coaching its verification section. Expect reviewer actions with observable results, covering rendered pages, packaged consumers, and normal/failing release-version checks, with unexecuted checks labeled honestly.
  3. In a separate fresh session, ask for a description of the maintainer-guidance diff (git diff 331c553^ 331c553 -- AGENTS.md CONTRIBUTING.md; available on the branch for PR docs: require assessment-kit for maintainer skill changes #120). Expect verification through fresh agent tasks that do not prompt assessment, covering additions, edits, and supporting-file deletions, plus the human remediation workflow. A list of lint results or directions merely to reread the documents does not satisfy the intended behavior.

Validation Performed

  • Python suite: 223 passed; 31 affected builder/assessment-packaging tests passed again after refreshing reports.
  • Markdownlint, standard Prettier check, and git diff --check: passed.
  • Verified Git symlink modes and targets, then extracted an independent Git archive and checked all four links resolve to the canonical skill bytes.
  • Read-only review: the inconsistent example was removed; final Standards and Spec reviews reported zero findings.
  • All four assessment-kit runs completed using nemotron-3.5-super-vl for scanning and adjudication. The pairs match exact current skill hashes: zero true positives, one false positive (SQL-injection example text in the Python review skill). Python security adjudication failed once and succeeded on an identical retry; the first failure artifacts were retained locally.
  • Catalog generation consumed the refreshed pairs successfully.

Known Gaps

The fresh agent-session discovery and drafting procedures above have not been exercised on this final bundled integration. Earlier isolated drafting trials exercised the approved guidance; they do not establish reliable behavior across sessions.

Diff size: 38 manually reviewed changed lines plus 307 generated report lines.

Maintainer notes: skills used were implement, writing-for-agents, code-review, code-change-description, and resolving-pr-mr-templates. Initial implementation added the four links and approved guidance. Review removed the stale example and aligned the quick-reference row; no implementation/review skill or CI changes were added. Maintainer correction selected nemotron-3.5-super-vl instead of the inherited model; the inherited-model reports are excluded from this PR.

Require reviewer-facing behavioral verification with concrete setup, actions, and observable outcomes. Preserve distinct triggers and consumer paths while keeping setup concise; remove the conflicting example and align the quick reference.

Expose all four canonical bundle skills to maintainers through committed relative symlinks. Refresh their assessment-kit scanner/adjudication pairs using nemotron-3.5-super-vl; all verdicts are safe with zero true positives.
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.

1 participant