check-compliance

check-compliance is a command for Claude Code from TheBeardedBearSAS/claude-craft. It costs 4 tokens per session (1,178 once invoked), scanned A, original, MIT.

A checker for whether an Angular project follows agreed coding rules and Angular development practices. Angular is a framework for building web applications.

In plain words
What is it for?
Use it to review Angular components, signals, change detection, control flow, forms, and documentation, then receive a report with problem severity and suggested fixes.
Why use it?
It finds inconsistent naming, file organization, imports, component setup, and other standards problems before they spread through the project.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it to review Angular components, signals, change detection, control flow, forms, and documentation, then receive a report with problem severity and suggested fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thebeardedbearsas/claude-craft/check-compliance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for check-compliance

README.md
[![agentmods](https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/check-compliance/github.svg)](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/check-compliance)
Your own site
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/check-compliance"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/check-compliance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-compliance

Your own site · 80×15
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/check-compliance"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/check-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00004 $0.01178
Opus 5 $0.00002 $0.00589
Sonnet 5 $0.00001 $0.00236
Haiku 4.5 $0.00000 $0.00118

Measured 10d ago against content hash 8927c839418c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

check-compliance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/angular/check-compliance.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Angular Standards Compliance Check

Verify that the Angular project follows established coding standards and best practices.

What This Command Does

  1. Standards Verification

    • Check coding conventions
    • Verify naming conventions
    • Validate file organization
    • Check import order
    • Verify documentation standards
  2. Angular-Specific Checks

    • Standalone components usage
    • Signals implementation
    • OnPush change detection
    • Modern control flow (@if, @for)
    • Typed forms
  3. Generated Report

    • Non-compliant files
    • Severity levels
    • Remediation recommendations
    • Compliance score (/100)

Compliance Areas

1. Component Standards

// ✅ Compliant
@Component({
  selector: 'app-user-profile',
  standalone: true,
  imports: [CommonModule],
  changeDetection: ChangeDetectionStrategy.OnPush,
  template: `...`
})
export class UserProfileComponent {}

// ❌ Non-compliant
@Component({
  selector: 'user-profile',     // Missing app- prefix
  // standalone: missing       // Not standalone
  // changeDetection: missing  // Not OnPush
})
export class UserProfile {}    // Missing Component suffix

2. Signal Usage

// ✅ Compliant - Using signals
export class CounterComponent {
  count = signal(0);
  doubleCount = computed(() => this.count() * 2);
}

// ❌ Non-compliant - Using observables for local state
export class CounterComponent {
  count$ = new BehaviorSubject(0);
}

3. Template Syntax

<!-- ✅ Compliant - Modern control flow -->
@if (loading()) {
  <app-spinner />
}

@for (item of items(); track item.id) {
  <app-item [data]="item" />
}

<!-- ❌ Non-compliant - Legacy syntax -->
<app-spinner *ngIf="loading"></app-spinner>
<app-item *ngFor="let item of items" [data]="item"></app-item>

4. Dependency Injection

// ✅ Compliant - inject() function
export class MyComponent {
  private readonly userService = inject(UserService);
}

// ⚠️ Warning - Constructor injection (valid but verbose)
export class MyComponent {
  constructor(private userService: UserService) {}
}

Read the full file on GitHub · 202 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 202 lines · 4 tokens per session scan A 8927c839418c

Subscribe to this mod's changes

check-compliance is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 7d ago), licensed MIT. It adds 4 tokens to every session and 1,178 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.