You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2026/07/05 13:04:44 UTC

[PR] feat(tools/skill-and-tool-validator): add SOFT SKILL.md line-limit check [magpie]

justinmclean opened a new pull request, #756:
URL: https://github.com/apache/magpie/pull/756

   ## Summary
   
   Adds check #20 to the skill-and-tool-validator: a SOFT advisory that flags
   any `SKILL.md` entrypoint exceeding `SKILL_LINE_LIMIT` (500 lines), per
   PRINCIPLES.md §14.
   
   ## Why
   
   Oversized SKILL.md entrypoints should move reference material into sibling
   markdown files linked one level deep. This check keeps new oversized
   entrypoints from being merged unnoticed, while staying advisory so existing
   over-limit skills can be migrated deliberately rather than blocking unrelated
   work.
   
   ## Behaviour
   
   - Category `skill-line-limit`, registered as SOFT: surfaces as a stderr
     advisory and does not fail the run unless `--strict` is passed.
   - Only applies to files named `SKILL.md`.
   - Message points to PRINCIPLES.md §14 and names the actual line count.
   - Currently flags 19 pre-existing over-limit skills as advisories.
   
   ## Type of change
   
   - [ ] Skill change (`.claude/skills/<name>/`) — eval fixtures updated below
   - [X] Tool / bridge contract (`tools/<system>/*.md`)
   - [ ] Python package (`tools/*/` with `pyproject.toml`)
   - [ ] Groovy reference impl
   - [ ] Cross-cutting (RFC, AGENTS.md, sandbox, privacy-LLM)
   - [ ] Documentation (`docs/`, `README.md`, `CONTRIBUTING.md`)
   - [ ] Project template (`projects/_template/`)
   - [ ] CI / dev loop (`prek`, workflows, validators)
   - [ ] Other:
   
   ## Test plan
   
   - [X ] `prek run --all-files` passes
   - [ ] For Python packages touched: `uv run pytest` / `ruff check` / `mypy` passes
   - [ ] For Groovy bridges touched: command-line invocation tested end-to-end
   - [ ] For skill changes: eval suite passes for the affected skill
         (`PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/`)
   - [ ] For skill *behaviour* changes: a new or updated eval fixture is included in this PR
         (a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
   - [ ] Other:
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(tools/skill-and-tool-validator): add SOFT SKILL.md line-limit check [magpie]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #756:
URL: https://github.com/apache/magpie/pull/756


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org