Add AI skills#19
Conversation
Suggestions to raise the AI-agents config qualityThese are enhancements beyond the review findings above. None block PR #19; they harden the P1 — Make the framework self-validating in CIThe checks I ran by hand for this review (frontmatter parses, links and anchors resolve, 100-char
This turns "verified once during review" into "true on every commit." Keep it Markdown-only so it P2 — Guard the routing list against orphaned skills
P2 — Enforce one source of truth to prevent factual driftThe skills correctly avoid hard-coding most versions (they say "read from
Per the repo's own rule ("Link to the owning skill instead of duplicating its guidance"), designate P3 — Add
|
There was a problem hiding this comment.
Findings from a review of the agent framework. Links, anchors, frontmatter names, table alignment, the 100-char rule, and every policy-vs-code claim I checked all hold. One Should-fix (a routing coverage gap) and nits below; broader quality suggestions are in a separate top-level comment.
Oleg-Melnik
left a comment
There was a problem hiding this comment.
@Vladyslav-Kuksiuk Please see my comments.
Oleg-Melnik
left a comment
There was a problem hiding this comment.
Follow-up nits on the new agent-config validator and CI job. All non-blocking (the earlier Should-fix and other nits are resolved on this head; verdict remains APPROVE).
| run: python -m unittest discover -s scripts/tests -p "test_*.py" | ||
|
|
||
| - name: Validate Agent Configuration | ||
| run: python scripts/check_agent_config.py |
There was a problem hiding this comment.
Nit — command/interpreter inconsistency. This step runs python, but the validator's own failure hint says python3 (scripts/check_agent_config.py:671) and AGENTS.md also instructs python3. On some distros python is Python 2 or absent, so the CI command and the documented local command can resolve to different interpreters. Also, no minimum Python version is stated anywhere while CI pins 3.14; the code runs on ~3.9+ (thanks to from __future__ import annotations), so a one-line "requires Python 3.9+" note in AGENTS.md — plus aligning this step to python3 — would make the three invocations agree.
| import unittest | ||
| from pathlib import Path | ||
|
|
||
| from scripts.check_agent_config import validate_repository |
There was a problem hiding this comment.
Nit — discovery is working-directory-dependent. from scripts.check_agent_config import ... only resolves when unittest is run from the repository root (which AGENTS.md and the CI job both do, so this is fine today). Running the suite from another directory fails at import. Passing -t . to unittest discover (or adding a scripts/tests/__init__.py / conftest-style path setup) would make the suite location-independent and less fragile to future CI changes.
| from scripts.check_agent_config import validate_repository | ||
|
|
||
|
|
||
| class AgentConfigValidatorTest(unittest.TestCase): |
There was a problem hiding this comment.
Nit — a few implemented rules are unverified. The validator enforces behaviors that no test exercises: the missing-required-file diagnostics (_validate_required_paths), the unsupported-frontmatter-key rejection (frontmatter key ... is not supported), and the key-ordering rules (frontmatter name must be the first entry / description must immediately follow the name). The existing cases are thorough; adding a subTest or two for these closes the gap so a future refactor can't silently drop them.
Oleg-Melnik
left a comment
There was a problem hiding this comment.
@Vladyslav-Kuksiuk LGTM with minor comments.
This PR provides AI skills.
Resolves this issue.