Skip to content

perf(security): wording pass on import-from-md, import-from-scan, the model skills and the stats dashboard - #1464

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:perf/security-wording-rest
Sep 28, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:perf/security-wording-rest

Conversation

@potiuk

@potiuk potiuk commented Sep 28, 2026

Copy link
Copy Markdown
Member

Security-family wording pass (#1344): the optimize-skill rewrite pass, applied with the style rules the maintainer set while rewriting import-from-pr, import and triage paragraph by paragraph. Those rules are one sentence per line, restated rationale cut, pointers to the source instead of copies, and short paragraphs and contract tables left alone. The maintainer pre-approved applying them to the remaining skills. Headings, golden-rule headlines, code blocks, generated blocks and eval fixture strings are unchanged.

Summary

skill SKILL.md lines tokens
import-from-md 665 → 566 7,369 → 6,678
import-from-scan 408 → 373 5,534 → 5,494
model-verify 424 → 413 5,572 → 5,462
model-prepare 372 → 365 4,574 → 4,526
model-update 345 → 339 4,703 → 4,652
tracker-stats-dashboard 322 → 292 3,718 → 3,546

import-from-md is still over 500 lines. The rest of it is the body heredoc, the tables and the generated pre-flight block. The model skills were already tight, so only the verbose paragraphs changed.

Follow-up not done here: import-from-md Step 2 (and import's duplicate-search.md) still runs TITLE_KEYWORD=$(tr -cd …) followed by gh search issues in one compound command, which stays sandboxed under the secure setup. The step-2 eval asserts that exact command shape, so the fix has to change the eval fixture along with the skill.

Test plan

  • Hooks on commit, including the token stamp; skill-and-tool-validate
  • Every eval whose extracted section changed, before (main) and after, outside the sandbox:
    • from-md step-4 3/3 and step-6 2/2 on both sides.
    • from-md step-2 was 2/2 before. After, it was 1/2 on the first run; the flipped case then passed 3/3 on both sides, so it was noise.

Part of #1344.

Generated-by: Claude Code (Opus 5.5)

🤖 Generated with Claude Code

… model skills and the stats dashboard

The optimize-skill rewrite pass, applied with the style rules the
maintainer set in the earlier import and triage passes: one sentence
per line, restated rationale cut, pointers to the source instead of
copies, short paragraphs and contract tables left alone.

import-from-md 665 -> 566 lines (its body heredoc, tables and generated
pre-flight block are the rest), import-from-scan 408 -> 373,
model-verify 424 -> 413, model-prepare 372 -> 365, model-update
345 -> 339, tracker-stats-dashboard 322 -> 292. Headings, golden-rule
headlines, code blocks, generated blocks and eval fixture strings are
unchanged.

Generated-by: Claude Code (Opus 5.5)
@potiuk potiuk added the family:security security-* skills label Sep 28, 2026
@potiuk
potiuk merged commit ba92d1e into apache:main Sep 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

family:security security-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant