MCPInstall

audit-sampling-methods

Guides privacy audit sampling methodology including statistical and non-statistical sampling, sample size determination, stratification techniques, attribute sampling for compliance testing, confidence level selection, tolerable deviation rates, and extrapolation of results to the population. Keywords: audit sampling, statistical sampling, attribute testing, sample size, confidence level, stratified sampling, privacy audit.

Installs
46
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill audit-sampling-methods
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads audit-sampling-methods automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Privacy Audit Sampling Methods

Overview

Audit sampling is the application of audit procedures to less than 100% of items within a population to form a conclusion about the entire population. In privacy auditing, sampling is used to test compliance of processing activities, DSAR responses, consent records, vendor contracts, and other privacy controls without examining every individual record.

ISA 530 (International Standard on Auditing — Audit Sampling) and IIA Practice Advisory 2320-3 (Audit Sampling) provide the authoritative frameworks. For privacy audits, sampling must account for the heightened regulatory scrutiny of personal data processing and the potential for significant harm from individual non-compliant records.

Sampling Approaches

ApproachDescriptionWhen to Use
Statistical SamplingUses probability theory to select samples and evaluate results; allows quantification of sampling riskWhen audit conclusions must be defensible to regulators; large populations; need to extrapolate results
Non-Statistical (Judgemental) SamplingAuditor uses professional judgement to select itemsSmall populations; targeted testing of known risk areas; supplementary to statistical sampling

Statistical Sampling Methods

Attribute Sampling

Used to estimate the rate of deviation (non-compliance) in a population.

ParameterDescriptionTypical Privacy Audit Values
Population SizeTotal items in the auditable populatione.g., 1,000 DSARs, 500 vendor contracts
Confidence LevelProbability that sample results reflect the population90% (standard); 95% (regulatory-facing)
Tolerable Deviation RateMaximum acceptable non-compliance rate5% (standard); 2% (critical controls)
Expected Deviation RateEstimated actual non-compliance rateBased on prior audits or risk assessment
Sample SizeNumber of items to testCalculated from above parameters

Sample Size Reference Table (Attribute Sampling)

Population90% Confidence / 5% Tolerable95% Confidence / 5% Tolerable95% Confidence / 2% Tolerable
100384564
2504250100
5004454131
1,0004557154
5,0004659176
10,000+4659181

Stratified Sampling

Divides the population into subgroups (strata) and samples proportionally or disproportionately from each.

Stratification FactorExample StrataRationale
Business UnitEU, US, APACDifferent regulatory requirements per jurisdiction
Data SensitivityStandard, sensitive, special categoryHigher-risk data categories warrant more testing
Processing PurposeMarketing, HR, customer serviceDifferent compliance requirements per purpose
Time PeriodQ1, Q2, Q3, Q4Detect seasonal patterns or deterioration
Vendor TierTier 1 (high volume), Tier 2, Tier 3Focus sampling on highest-risk vendors

Non-Statistical Sampling Methods

MethodDescriptionApplication
Haphazard SelectionItems selected without structured method but avoiding biasQuick preliminary testing
Block SelectionAll items in a specific period or locationTesting a specific time window (e.g., all DSARs in March)
Judgemental SelectionAuditor selects items based on risk factorsTargeting high-value items, known exceptions, or anomalies

Privacy-Specific Sampling Considerations

ConsiderationGuidance
Individual harm thresholdEven a single non-compliant record can cause significant harm; auditors must not dismiss isolated findings
Regulatory expectationsSupervisory authorities may expect higher confidence levels for critical controls (breach notification, consent)
Special category dataApply lower tolerable deviation rates (2%) for processing involving special category data under Article 9
Automated processingFor fully automated processes, increase sample to verify algorithmic consistency across edge cases
Cross-border transfersStratify by destination country to verify adequacy/safeguard mechanism for each transfer route

Evaluating Sample Results

ScenarioSample Deviation RateConclusion
Rate below tolerable deviatione.g., 2% observed vs 5% tolerablePopulation likely compliant; no material finding
Rate equals tolerable deviatione.g., 5% observed vs 5% tolerableBorderline; consider expanding sample or raising as medium finding
Rate exceeds tolerable deviatione.g., 12% observed vs 5% tolerableMaterial non-compliance; formal finding required
Zero deviations found0% observedStrong evidence of compliance (but does not guarantee 100%)

Extrapolation

When sample results show deviations, the auditor must project findings to the full population:

ElementCalculation
Point estimate(Deviations found / Sample size) × Population size
Upper deviation limitCalculated using statistical tables at the selected confidence level
Projected monetary impactPoint estimate × average impact per deviation

FAQ

What does the audit-sampling-methods skill do?

Guides privacy audit sampling methodology including statistical and non-statistical sampling, sample size determination, stratification techniques, attribute sampling for compliance testing, confidence level selection, tolerable deviation rates, and extrapolation of results to the population. Keywords: audit sampling, statistical sampling, attribute testing, sample size, confidence level, stratified sampling, privacy audit.

How do I install audit-sampling-methods?

Run npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill audit-sampling-methods in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/audit-sampling-methods/ (personal) or .claude/skills/audit-sampling-methods/ (project).

Which AI agents can use audit-sampling-methods?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is audit-sampling-methods safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains audit-sampling-methods?

It is published by mukul975 in mukul975/privacy-data-protection-skills. It has 46 recorded installs.

More from mukul975/privacy-data-protection-skills

View all →

brazil-lgpd

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

61 installs

analytics-cookie-consent

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

Data & Databases56 installs

audit-report-writing

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

Docs & Writing50 installs

conducting-gdpr-dpia

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

48 installs

gdpr-compliance-audit

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

Security48 installs

backup-retention-erasure

mukul975/privacy-data-protection-skills

Open the skill to read its SKILL.md instructions.

47 installs

Popular security skills

View category →

azure-compliance

microsoft/azure-skills

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

OfficialSecurity567K installs

minimal-run-and-audit

lllllllama/rigorpilot-skills

Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.

Security477.4K installs

seo-audit

coreyhaines31/marketingskills

When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.

Security238.7K installs

firebase-security-rules-auditor

firebase/agent-skills

Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.

OfficialSecurity139.1K installs

audit

pbakaus/impeccable

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.

Security81.9K installs

competitors

coreyhaines31/marketingskills

When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.

Security79.3K installs