From safetysure-audit-criteria
Generate a WHS audit criteria checklist for any Australian jurisdiction and industry. Typically routed to by the request-router skill for audit preparation work, or invoked directly by name (e.g. "build an audit checklist", "generate audit criteria", "create a checklist for [industry]"). Also trigger on /criteria or /audit-criteria commands. The skill asks the user about jurisdiction and industry, conducts extensive online research (SafeWork Australia incident data, codes of practice, industry guidance), asks targeted follow-up questions about the specific workplace, and produces a completed audit criteria checklist as a .docx file ready for field use. Always use this skill rather than attempting to build a checklist from memory alone.
npx claudepluginhub teddychenfeiyang-png/safetysure-plugins --plugin safetysure-audit-criteriaThis skill uses the workspace's default tool permissions.
Build a legally grounded, industry-specific WHS audit criteria checklist through a
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Build a legally grounded, industry-specific WHS audit criteria checklist through a structured intake conversation, followed by research, then structured document generation. The output is a .docx audit checklist that the auditor takes to site — blank columns for rating, observations, and recommendations that they complete during the audit.
The criteria must reflect the real legislative obligations, not generic guidance. The research phase is what separates a good checklist from a superficial one: you need to understand what actually goes wrong in this industry and what the law requires.
Ask these questions conversationally, not as a form dump. If the user has already provided some answers in the conversation, extract them and only ask for what's missing.
Required information:
Jurisdiction — Which state or territory does this audit relate to? Present as a brief list: Queensland (Qld), New South Wales (NSW), Victoria (Vic), Western Australia (WA), South Australia (SA), Tasmania (Tas), Australian Capital Territory (ACT), Northern Territory (NT), or Commonwealth (Cth).
Industry / sector — What is the primary industry or workplace type? (e.g., warehousing and storage, construction, manufacturing, retail, healthcare, aged care, hospitality, transport and logistics, mining, agriculture, etc.)
Workplace specifics — Ask a focused set of follow-up questions based on the industry. See Phase 2 below for when to ask these; ask only the ones that are relevant to the sector nominated.
Once you have jurisdiction and industry, proceed immediately to Phase 2 research — do not wait for the workplace specifics. You can ask for workplace specifics while research is completing.
This is the most important phase. The quality of the criteria depends entirely on what you find here. Do not skip or rush it.
Read the relevant reference file for the nominated jurisdiction:
references/jurisdiction-frameworks.md — covers the primary Act, Regulation,
and key Codes of Practice for each Australian jurisdiction.Identify which codes of practice are directly applicable to the industry and workplace. You will cite these throughout the criteria.
Search online for SafeWork Australia's work-related injury and disease statistics for the nominated industry. Key sources to find and review:
What you're looking for: what are the leading causes of serious injury, illness, or death in this industry? What hazard categories appear repeatedly in investigations? This shapes which themes get the most criteria and where the emphasis falls.
Search queries to run (adapt to the actual industry):
SafeWork Australia [industry] work-related injuries statistics site:safeworkaustralia.gov.au[State] workplace incidents [industry] 2023 2024 site:[regulator].gov.au[Industry] WHS hazard alert [state] fatality investigationSearch for guidance documents, codes, and standards specific to the combination of jurisdiction + industry:
Based on what you found in 2.2 and 2.3, ask the user targeted questions about the specific workplace. These should be informed by the research — ask about the hazard categories that are statistically significant for the industry. Examples for warehousing:
Calibrate these questions to the industry. For construction, ask about high-risk construction work, scaffolding, and excavation. For healthcare, ask about biological hazards and patient handling. Use the research to decide what matters.
Organise criteria into 5–8 themes appropriate for the industry. Themes should reflect the actual risk profile revealed by the research, not a generic template. Common themes include (adapt as appropriate):
The Nitto Kohki (warehousing) audit used five themes as a guide. For a complex site you might use eight. For a simple office you might use four. Use judgement.
Each criterion must have:
Write criteria as auditable statements — something you can observe, verify, or ask about. Avoid vague criteria like "Is WHS managed well?" Prefer specific criteria like "Safety data sheets (SDS) are available at the point of use for all hazardous chemicals on site."
Aim for 10–20 criteria per theme, calibrated to the risk significance of that theme. High-risk themes (e.g., traffic management in warehousing) warrant more criteria than lower-risk themes.
Go deep. The Nitto Kohki checklist had 103 items across five themes. A good criteria set for a complex industrial workplace should have 80–120 items total. For a simpler workplace (small office, retail) 40–60 may suffice. Use the research findings to decide where to apply depth — if racking collapse and forklift incidents are the leading causes of serious injury in warehousing, the traffic and plant themes should have more criteria, not fewer.
Reference Australian Standards where they create practical obligations (e.g., test and tag per AS/NZS 3760, racking inspections per AS 4084, RPE per AS/NZS 1715).
Generate the checklist as a .docx file using python-docx.
Cover block:
WHS Compliance Audit — [Industry] Sector
[Client Name if known, otherwise "[Client Name]"]
Jurisdiction: [State]
Prepared by: Safetysure Pty Ltd
Date: [current date]
Status: DRAFT — FOR REVIEW
Classification key table:
C = Conformance | OFI = Opportunity for Improvement |
OBS = Observation | NC = Non-Conformance
For each theme:
Theme header row (merged, dark blue #1F3564, white bold text)
Column header row: Ref | Criterion | Legislative Basis | Rating | Observations | Recommendations
One row per criterion
| Column | Width |
|---|---|
| Ref | 1.2 cm |
| Criterion | 6.5 cm |
| Legislative Basis | 4.5 cm |
| Rating | 1.8 cm |
| Observations | 4.5 cm |
| Recommendations | 4.5 cm |
Save to the workspace folder with a descriptive filename:
WHS Audit Criteria — [Industry] ([Jurisdiction]) — [YYYYMMDD].docx
Tell the user what was generated, how many themes, total criteria count, and the key research findings that shaped the emphasis of the checklist.
After delivering the checklist, briefly tell the user:
Before saving, check: