agentsclimarketplace

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

Install
npx -y skills add hndhr/software-dev-agentic --skill agentic-arch-check-conventions

Assembled 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)

  • name present
  • description present and specific enough for routing
  • model present — haiku for mechanical workers (domain, data, test), sonnet for strategists and reasoning-heavy workers
  • tools present

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 Rules section present with Grep-before-Read rule
  • Catalog file (<name>-catalog.md) reads use symbol-query — no "Read ... completely"
  • Thin reference docs (plan-format.md, findings-format.md, etc.) may be Read in full at a fixed path
  • Any Reference: line that lists multiple files also mentions reference/index.md as 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_skills field), 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)

  • ## Input section present — declares required parameters with a MISSING INPUT: guard
  • ## Output section present — declares the structured result the agent returns
  • Knowledge slot present — ## Knowledge or ## Search Protocol section 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>.md convention — 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)

  • name present
  • description present
  • user-invocable: false present (or omitted only for user-facing skills)

Reference doc reads

  • Catalog file (<name>-catalog.md) reads use symbol-query — Grep for the symbol first, never "Read ... completely"
  • Thin reference docs (plan-format.md, findings-format.md, etc.) may be Read in full at a fixed path
  • All referenced file paths match actual filenames in cipherpol-aegis/ai-platforms/<platform>/reference/ or cipherpol-aegis/lib/*/reference/

Templates (any template.md file inside a skill directory)

  • No explanatory/instructional comments that duplicate what SKILL.md already 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.

FileRequired keywords
domain.mdEntities, Repository, Use Cases, Domain Errors
data.mdDTOs, Mappers, Data Sources, Repository Impl
presentation.mdState, Shared Component Paths
navigation.mdRoute Constants OR Navigator OR Coordinator (at least one)
di.mdDI Principles
testing.mdTest Pyramid, Repository Tests, Mapper Tests
error-handling.mdError Flow, Error Types, Error Mapping, Error UI
utilities.mdStorageService, 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-worker with the report + the agent file. The static checks here catch structural issues; prompt-debug-worker catches 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.md discovery hint on multi-file Reference lines, explanatory comments in template files, missing ## Input or ## Output body 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)

Keep looking

Skills are one crate of 607,721. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.