Skip to content
Back to skills

Core

ASecurity

Rates eight dimensions (requirements, architecture, implementation, tests, security, tech debt, docs, lifecycle) GREEN, YELLOW or RED with command evidence. Use when asked whether the project is complete and consistent, before a checkpoint, and before a production deploy.

  • 24 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 14, 2026
ai-agentsgobashgitapisecuritydocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill core --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Core?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Core
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-core-961130bf/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-core-961130bf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: integrity-check
description: Rates eight dimensions (requirements, architecture, implementation, tests, security, tech debt, docs, lifecycle) GREEN, YELLOW or RED with command evidence. Use when asked whether the project is complete and consistent, before a checkpoint, and before a production deploy.
triggers: [integrity, verify all, are we done, is it complete, end-to-end check, check everything, full verification]
tags: [core]
core: true
context_cost: high
---
# Integrity Check Skill

## Goal
Verify the ENTIRE project is consistent and correct from requirements to delivery. Catch regressions, drift, and gaps across 8 dimensions. Only orch-judge or human may sign off as "INTEGRITY VERIFIED."

## 8 Dimensions of Integrity

### Dimension 1 — Requirements Integrity
- Does spec.md (or SPEC_TEMPLATE.md) cover ALL EARS requirements from PRD.md?
- Run spec-analyze.skill to check alignment
- Check: no requirements without tests
- Result: GREEN (all covered) | YELLOW (minor gaps) | RED (requirements missing)

### Dimension 2 — Architecture Integrity
- Run agentic-linter.skill: zero architecture boundary violations
- Run `npx madge@8.0.0 --circular src/` or `vendor/bin/deptrac`: zero circular dependencies
- Check: all architectural decisions have ADRs in `docs/architecture/decisions/`
- Result: GREEN / YELLOW / RED

### Dimension 3 — Implementation Integrity
- All tasks in project/TASKS.md have status: DONE
- No tasks with status TODO, IN_PROGRESS, or BLOCKED
- Every feature from PRD.md has corresponding code
- Result: GREEN / YELLOW / RED

### Dimension 4 — Test Integrity
```bash
[test command]          # Run all tests — MUST be 100% green
[coverage command]      # Coverage MUST be >= 99%
```
- Zero failing tests (not even flaky ones currently failing)
- Zero skipped tests without documented reason
- Integration tests exist for all API endpoints
- Result: GREEN / YELLOW / RED

### Dimension 5 — Security Integrity
```bash
[security_scan command]  # dependency audit — zero critical/high CVEs
```
- SECURITY_CHECKLIST.md fully completed (not partially)
- Threat model exists for all security-sensitive features
- No secrets detected by gitleaks
- OWASP Top 10 items checked
- Result: GREEN / YELLOW / RED

### Dimension 6 — Tech Debt Integrity
- No uncatalogued TODO/FIXME/HACK markers (all have task tickets)
- Cyclomatic complexity <= 10 for all modified files
- No dead code in production branches
- TECH_DEBT_TEMPLATE.md entries are current
- Result: GREEN / YELLOW / RED

### Dimension 7 — Documentation Integrity
- All public APIs have docstrings/JSDoc
- README reflects current state (not aspirational)
- `docs/api/openapi.yaml` is in sync with actual implementation (if exists)
- C4 diagrams reflect current architecture (if docs/architecture/ exists)
- Result: GREEN / YELLOW / RED

### Dimension 8 — SDLC Integrity
- SDLC_TRACKER.md phase matches actual state of the project
- PROJECT_STATE.md current phase is accurate
- All SESSION_SNAPSHOT files exist for completed phases
- AUDIT_LOG.md has entries for all major decisions
- Memory checksums: compare the latest snapshot's `## Memory Checksums` block with the current files (the compare step is in `session-resume.skill`); the first lines of `AUDIT_LOG.md` must be unchanged
- Result: GREEN / YELLOW / RED

## Steps

1. **Run all 8 dimension checks** (in order of priority)
   - Each dimension: run the relevant commands, read the relevant files
   - Rate each: GREEN / YELLOW / RED with specific evidence

2. **For each RED dimension**: list specific items that must be fixed

3. **For each YELLOW dimension**: list items to address before production

4. **Generate Integrity Report**
   ```markdown
   ## Integrity Report

   Date: [date]
   Project phase: [current SDLC phase]
   Run by: [agent/human]

   | Dimension | Status | Issues Found |
   |---|---|---|
   | 1. Requirements | GREEN | None |
   | 2. Architecture | RED | 2 circular deps in users module |
   | 3. Implementation | YELLOW | 1 task still IN_PROGRESS |
   | 4. Tests | GREEN | 247 passing, 99.2% coverage (>= 99% gate met) |
   | 5. Security | GREEN | SECURITY_CHECKLIST 100% |
   | 6. Tech Debt | YELLOW | 3 uncatalogued TODOs |
   | 7. Documentation | YELLOW | /api/users endpoint missing JSDoc |
   | 8. SDLC | GREEN | All snapshots current |

   ### OVERALL STATUS: RED (1 RED dimension = not release-ready)

   ### Blocking Issues (must fix before release)
   - [ARCH] Circular dependency: UserService <-> OrderService
     Fix: Extract IUserQueryPort interface

   ### Non-Blocking Issues (address before next sprint)
   - [IMPL] CreatePaymentTask still IN_PROGRESS
   - [DEBT] 3 TODO markers without task tickets
   - [DOCS] Missing JSDoc on 2 public functions

   ### INTEGRITY VERIFIED: NO
   Ready for production: NO
   Ready for staging: YES (if blocking issues fixed)
   ```

5. **Recommended actions** (priority ordered)
   - RED items: fix immediately (blocking)
   - YELLOW items: fix before next gate
   - GREEN items: monitor

6. **Sign-off** (only orch-judge persona or human may sign)
   - When all dimensions GREEN: "INTEGRITY VERIFIED — READY FOR [next gate]"

## Constraints
- NEVER mark integrity as verified if any dimension is RED
- NEVER skip dimensions — partial verification is not verification
- Security dimension RED = hard block on production deployment
- Run this check before every SDLC checkpoint and before any production deploy

## Output Format
8-dimension integrity report with GREEN/YELLOW/RED per dimension + OVERALL STATUS + prioritized action list.

## Limits and safety
- Run the commands yourself in this session (tests, coverage, linters, scanners); never copy a result from an agent's log.
- Write "INTEGRITY VERIFIED" only when every dimension is GREEN, and only as orch-judge or on the human's say. For the production step, the sign-off is a `HUMAN_APPROVED` row in `AUDIT_LOG.md`.
- Dimension 5 includes indirect dependencies (audit the lockfile). If CI provides a required check, use it so a RED security result blocks the release.
- Secret-scan output can contain the secrets: report file and line, mask the value.

Files in this skill

  • agent-analytics.skill.md5.2 KB
  • audit-trail.skill.md6.1 KB
  • clarify.skill.md6 KB
  • emerging-tech.skill.md3.2 KB
  • empirical-methods.skill.md6.9 KB
  • evals/clarify.eval.yaml1.4 KB
  • evals/integrity-check.eval.yaml981 B
  • evals/research.eval.yaml941 B
  • final-review.skill.md4.5 KB
  • integrity-check.skill.md6.6 KB
  • knowledge-connect.skill.md4.2 KB
  • knowledge-gap.skill.md5.8 KB
  • preflight.skill.md9 KB
  • research.skill.md5.9 KB
  • retrospective.skill.md5.5 KB
  • sdlc-checkpoint.skill.md7 KB
  • self-heal.skill.md8.5 KB
  • session-resume.skill.md6.7 KB
  • skills-registry.skill.md5.2 KB
  • state-portability.skill.md6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.