skills/papi-sdlc-task-compliance-audit/SKILL.md
Create or work with compliance audit tasks to verify implementations match specifications. [PAPI SDLC]
npx skillsauth add stainsby/papi papi-sdlc-task-compliance-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This compliance audit verifies that, within the provided scope (e.g., a release):
CRITICAL: No component specification can be considered 'completed' until a compliance audit has been conducted and passed.
This needs the PAPI long task skill.
This audit examines artefacts (specs, code, links, related docs and config). It does NOT execute tests, demos, or any normal dev/release pipeline step. Whether the test suite currently passes is a dev/release workflow concern, not a compliance concern.
Test code may be consulted as an investigative aid when it helps clarify what the implementation does or what its public contract looks like. It is not a compliance target in its own right. If a component spec mandates particular tests or coverage as a non-functional constraint, that constraint is checked by the standard non-functional constraints step — by examining for existence and linkage, not by execution.
Before the two phases, the audit MUST run a lightweight structural pre-pass:
papi-sdlc-component-specification
component-specification-template.md. Record any structural drift
(missing sections, renamed fields, stale guidance, undocumented
additions) as findings with a disposition: update document /
update template / accept with note. This pass separates
"format outdated" from "content wrong" before Phase A goes deeper.A compliance audit MUST then run in two directions and reconcile the results:
Running only Phase A is a CRITICAL FAILURE: it lets dead or undocumented code persist indefinitely. Both phases must be evidenced in the report.
Every Phase B orphan candidate MUST be brought to the user for a disposition decision before the audit closes. Do NOT auto-classify. Record the decision and rationale against each candidate in the report.
Reading these skills is REQUIRED to understand and execute this skill:
papi-sdlc-validate-capabilities-dagpapi-tasks-understandpapi-templates-understandassets) if appropriate.assets/compliance-audit-task-template.mddevelopment
Plan and perform user-acceptance testing for user stories - exercise each story end-to-end through the real user interface in the appropriate role, with evidence. [PAPI SDLC]
development
Create or work with charter audit tasks that check alignment between the project's Charter and its user stories — both top-down and bottom-up. [PAPI SDLC]
development
Create, understand, or work with the project charter. [PAPI SDLC]
development
Manage a task with many repeated steps, or a long running task with many steps, so that it is tracked and resumable over more than one session if needed.