audit-integrity
$
npx mdskill add github/awesome-copilot/audit-integrityEnforce output quality and intellectual honesty in security analysis.
- Guarantees rigorous security reviews through mandatory self-critique loops.
- Integrates with any AppSec agent framework for cross-platform use.
- Decides actions via anti-rationalization guards and quality gates.
- Delivers results with clear scoring thresholds and memory governance.
SKILL.md
.github/skills/audit-integrityView on GitHub ↗
--- name: 'audit-integrity' description: 'Shared audit integrity framework for all AppSec agents — enforces output quality, intellectual honesty, and continuous improvement through anti-rationalization guards, self-critique loops, retry protocols, non-negotiable behaviors, self-reflection quality gates (1-10 scoring, ≥8 threshold), and a self-learning system with lesson/memory governance for security analysis agents.' compatibility: 'Cross-platform. Works with any language or framework analyzed by AppSec agents.' metadata: version: '1.0' --- # Audit Integrity Skill Enforces output quality, intellectual honesty, and continuous improvement across all AppSec agents. ## When to Use - Every security analysis, code review, threat model, or quality scan agent run - Applied automatically as a post-analysis quality gate - Applicable to any agent performing SAST, SCA, threat modeling, or code quality analysis ## Components This skill provides 7 reusable capabilities. Agents apply all 7 unless their scope excludes a specific component. | Component | Reference File | Purpose | |-----------|---------------|---------| | Clarification Protocol | [clarification-protocol.md](references/clarification-protocol.md) | Ask ≤2 targeted questions before analysis when scope is ambiguous | | Anti-Rationalization Guard | [anti-rationalization-guard.md](references/anti-rationalization-guard.md) | Table of prohibited rationalizations with mandatory responses | | Self-Critique Loop | [self-critique-loop.md](references/self-critique-loop.md) | Mandatory second-pass review after initial analysis | | Retry Protocol | [retry-protocol.md](references/retry-protocol.md) | Tool failure handling — retry once, then document | | Non-Negotiable Behaviors | [non-negotiable-behaviors.md](references/non-negotiable-behaviors.md) | Hard rules: never fabricate, always cite evidence, report gaps | | Self-Reflection Quality Gate | [self-reflection-quality-gate.md](references/self-reflection-quality-gate.md) | 1–10 scoring rubric with ≥8 threshold per category | | Self-Learning System | [self-learning-system.md](references/self-learning-system.md) | Lesson/Memory templates and governance rules | ## Execution Flow 1. **Before analysis**: Apply Clarification Protocol if scope is ambiguous 2. **During analysis**: Apply Anti-Rationalization Guard at every decision point 3. **After initial pass**: Execute Self-Critique Loop (mandatory second pass) 4. **On tool failure**: Apply Retry Protocol 5. **Before delivery**: Run Self-Reflection Quality Gate (all categories must score ≥8) 6. **After delivery**: Create Lessons/Memories for novel findings, false positives, or methodology gaps (see Self-Learning System) ## Agent-Specific Adaptation Each agent customizes the **Self-Critique Loop** checklist and **Self-Reflection Quality Gate** categories to match its domain. The reference files provide the base templates; agents extend them with domain-specific items. ### Example extensions per agent type - **SAST/SCA agents**: Add taint trace completeness and manifest coverage checks - **SonarQube-style agents**: Add rating sanity check (A–E consistency with findings) - **Threat modeling agents**: Add STRIDE category completeness per trust boundary - **Code review agents**: Add trust boundary audit with data flow tracing
More from github/awesome-copilot
- acquire-codebase-knowledgeUse this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.
- acreadiness-assessRun the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc readiness` and hands off rendering to the @ai-readiness-reporter custom agent. Supports policies (--policy) for org-specific scoring. Use when asked to assess, audit, or score the AI readiness of a repo.
- acreadiness-generate-instructionsGenerate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default, recommended for Copilot in VS Code) plus optional per-area .instructions.md files with applyTo globs for monorepos. Use after running /acreadiness-assess to close gaps in the AI Tooling pillar.
- acreadiness-policyHelp the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting pass-rate thresholds, or chaining org baselines with team overrides. Use when the user asks about strict mode, AI-only scoring, custom weights, CI gating, or wants org-wide standardisation.
- add-educational-comments'Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.'
- adobe-illustrator-scriptingWrite, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating or modifying scripts that manipulate documents, layers, paths, text frames, colors, symbols, artboards, or any Illustrator DOM objects. Covers the complete JavaScript object model, coordinate system, measurement units, export workflows, and scripting best practices.
- agent-governance|
- agent-owasp-compliance|
- agent-supply-chain|
- agentic-eval|