Agentic arch check conventions
Skill hndhr/software-dev-agentic/.claude/skills/agentic-arch-check-conventions
Audit a set of agent or skill files against software-dev-agentic conventions and docs/evaluation/01-token-optimization.md fixes. Returns structured findings per file.From its SKILL.md
npx -y skills add hndhr/software-dev-agentic --skill agentic-arch-check-conventionsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
7.6 KB, as published. Nobody here has run it
Audit the provided files against the conventions below. Return findings grouped by file.
Agent Checklist
For each .md agent file:
Frontmatter (required fields)
-
namepresent -
descriptionpresent and specific enough for routing -
modelpresent —haikufor mechanical workers (domain, data, test),sonnetfor strategists and reasoning-heavy workers -
toolspresent
Strategists (files with agents: frontmatter field)
-
agents:field lists only workers it actually spawns - Body passes only file path lists between phases — never file contents
- No Phase 2 codebase reads on behalf of workers
Workers (files without agents: frontmatter field)
-
## Search Rulessection present with Grep-before-Read rule - Catalog file (
<name>-catalog.md) reads usesymbol-query— no "Read ... completely" - Thin reference docs (
plan-format.md,findings-format.md, etc.) may beReadin full at a fixed path - Any
Reference:line that lists multiple files also mentionsreference/index.mdas the discovery fallback (Fix F)
Core agents (files under cipherpol-aegis/lib/*/agents/) — Platform-Agnosticism
- Body contains no hardcoded platform-specific file paths — no
src/domain/,src/data/,src/presentation/,Talenta/Module/,lib/,app/ - Body contains no platform framework references used as rules — no
React,Next.js,RxSwift,UIKit,BLoC,axios,next-safe-action - Body contains no platform language-specific syntax used as rules — no
'use client','use server',readonly(TypeScript),BehaviorRelay - Platform-specific knowledge is delegated to a skill (
related_skillsfield), not embedded inline
How to check: Grep the file for any of the above patterns. A match in the body (outside of a related_skills reference or a comment acknowledging the skill) is a Critical violation.
Why:
cipherpol-aegis/lib/agents are consumed by all platforms via symlink. Platform-specific rules embedded in a core worker silently mislead workers on other platforms (iOS, Flutter) that call the same agent.
Body structure (all agents)
-
## Inputsection present — declares required parameters with aMISSING INPUT:guard -
## Outputsection present — declares the structured result the agent returns - Knowledge slot present —
## Knowledgeor## Search Protocolsection exists - Reasoning slot present — at least one of
## Reasoning,## Workflow,## Execution Order, or## Mode:section exists
How to check: Grep the file for ^## Input$, ^## Output$, ^## Knowledge, ^## Search Protocol, ^## Reasoning, ^## Workflow, ^## Execution Order, ^## Mode:. A slot with zero matches is a violation.
Severity: Warning for missing ## Input or ## Output. Info for missing Knowledge or Reasoning slot (may be intentional for pure-write agents with no reference reads or branching logic).
All agents
- Filename follows
<persona>-[descriptive]-<role>.mdconvention — role always last, persona prefix required, any role label allowed - If in a persona subdir (
developer/,debugger/,tracker/,auditor/,qa/), the persona assignment is correct
Skill Checklist
For each SKILL.md skill file:
Frontmatter (required fields)
-
namepresent -
descriptionpresent -
user-invocable: falsepresent (or omitted only for user-facing skills)
Reference doc reads
- Catalog file (
<name>-catalog.md) reads usesymbol-query—Grepfor the symbol first, never "Read ... completely" - Thin reference docs (
plan-format.md,findings-format.md, etc.) may beReadin full at a fixed path - All referenced file paths match actual filenames in
cipherpol-aegis/ai-platforms/<platform>/reference/orcipherpol-aegis/lib/*/reference/
Templates (any template.md file inside a skill directory)
- No explanatory/instructional comments that duplicate what
SKILL.mdalready says (Fix G) - Comments that remain are code generation hints — they tell Claude what value to put here, not how the skill works
How to check: Read the template file; flag any comment that explains the skill's purpose or usage rather than guiding value substitution.
Naming
- Skill directory name follows
<layer>-<action>-<target>convention - Layer prefix matches the agent that calls it (
domain-,data-,pres-,test-,debug-,review-)
Contract Reference Schema Check
For each cipherpol-aegis/ai-platforms/<platform>/reference/contract/ directory being audited, verify all 8 files contain their required canonical heading keywords. Required keywords are defined in docs/contract/builder-auditor-schema.md.
How to check: For each file, Grep for pattern ^## .*<keyword> within that file. A keyword must appear as a substring of a ## heading — ### or deeper does not satisfy the requirement.
| File | Required keywords |
|---|---|
domain.md | Entities, Repository, Use Cases, Domain Errors |
data.md | DTOs, Mappers, Data Sources, Repository Impl |
presentation.md | State, Shared Component Paths |
navigation.md | Route Constants OR Navigator OR Coordinator (at least one) |
di.md | DI Principles |
testing.md | Test Pyramid, Repository Tests, Mapper Tests |
error-handling.md | Error Flow, Error Types, Error Mapping, Error UI |
utilities.md | StorageService, DateService, Logger, Null Safety |
Severity: Critical — a missing required keyword means core agents cannot reliably Grep for that concept on this platform, breaking cross-platform portability.
Prompt Clarity Check
For each agent file, flag instructions that are likely to cause bad decisions at runtime:
- No instruction says "create the X" without specifying interface vs implementation
- No step spans two CLEAN layers without an explicit stop condition
- No two rules in the same file contradict each other
- Failure paths are specified — agent knows what to do when a precondition fails
How to check: Read the agent body and look for vague scope, missing boundaries, or contradicting rules.
For deeper analysis: When a perf-worker report scores D1, D2, D3, or D7 below 7, run
prompt-debug-workerwith the report + the agent file. The static checks here catch structural issues;prompt-debug-workercatches reasoning failures.
Severity: Warning for any prompt clarity finding.
Severity Levels
- Critical — missing required frontmatter field, broken reference path, "Read completely" violation on catalog files, platform-specific content in a
cipherpol-aegis/lib/*/agents/file - Warning — wrong model for worker type, missing Search Rules, missing
reference/index.mddiscovery hint on multi-file Reference lines, explanatory comments in template files, missing## Inputor## Outputbody section - Info — naming convention deviation, description could be more specific, missing Knowledge or Reasoning body section slot
Output Format
Return raw findings — do not format into a report. arch-generate-report handles formatting.
FILE: <path>
[CRITICAL] <rule> — <specific violation>
[WARNING] <rule> — <specific violation>
[INFO] <rule> — <specific violation>
PASS: <path> (no findings)