Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Author and validate a Process Narrative Specification (PNS) from a PIR and stakeholder register. Use this skill when you have a completed Process Intake Record from process-intake-and-scope and need to produce a structured narrative document that anchors ISO 9001 §4.4.1 process-box semantics, BABOK Core Concept Model, RACI matrix, SIPOC table, business rules, decision points, KPIs, and controls. The PNS is the authoritative handoff input for visual-process-modeling, sop-and-work-instruction-gene
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 65% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 88% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 99% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 257% | 0% |
OverKill Hill P³ · overkillhill.com · github.com/OKHP3
Transform a validated PIR and stakeholder register into a Process Narrative Specification (PNS) — the structured document that anchors process semantics for human review and downstream diagram generation.
The PNS is the single source of truth between process discovery and visual modeling. It documents what the process does, who does it, how it is governed, how it is measured, and what can go wrong.
completeness_score ≥ 70 and ready_for_narrative: truevisual-process-modelingprocess-intake-and-scope firstvisual-process-modelingprocess-intake-and-scopetrigger, inputs[] (each with name, source), outputs[] (each with name, consumer), criteria, resources, responsibilities, risks.
Ordered activities. Each: id, description (single imperative per IEEE 29148), actor_role_id, inputs[], outputs[], systems[], preconditions, postconditions.
Minimum 3 activities for full quality score.
roles]: { role_id, role_name }. raci_matrix]: one per activity — activity_id, responsible[] (≥1), accountable (exactly 1), consulted[], informed[].
{ id, description, source, applies_to, rationale }. source is mandatory. applies_to references an activity_id or "all".
{ id, description, activity_id, criteria, outcomes[] }. Each entry must have ≥2 outcomes. Each outcome: { label, next_activity }.
{ id, description, trigger, handling, owner_role_id, escalation_path }. handling is mandatory and non-empty.
{ id, name, formula, data_source, target, frequency }. Both formula and data_source are mandatory.
{ system_name, role, integration_type, activities_supported[] }.
{ id, type, description, standard_ref, activities_covered[], waiver }. Empty triggers a V7 warning.
{ id, question, owner_role_id, target_resolution_date }. Record gaps — do not invent content.
Minimum 4 of 6 fields populated (≥20 chars each): change, need, solution, stakeholders, value, context.
{ version, date, author_role, summary }. Required for document change traceability.
{ pns_quality_score, ready_for_publication, ready_for_bpmn_modeling }. Populated by scripts/score-pns-quality.mjs. Do not author manually.
| Rule | Severity | Description | |---|---|---| | V1 | error | Required top-level fields present; status valid; ≥4 babok_core_concepts; all 13 section keys present | | V2 | error | Every activity has non-empty description + actor_role_id; every business rule has non-empty source | | V3 | error | Every RACI entry has exactly one Accountable and at least one Responsible; every activity has a RACI entry | | V4 | warning | Activity descriptions containing semicolons, >200 chars, or starting with subordinate conjunctions | | V5 | error | Every KPI must have non-empty formula and data_source | | V6 | error | Every decision_point must have ≥2 outcomes; every exception_path must have non-empty handling | | V7 | warning | controls_and_compliance is empty; activities not covered by any control |
Run: node scripts/validate-pns.mjs <pns.yaml>
Weighted 0–100. Publication threshold: ≥75.
| Section | Max pts | |---|---| | process_box | 15 | | activity_sequence | 15 | | roles_and_raci | 10 | | business_rules | 10 | | decision_points | 10 | | exception_paths | 10 | | kpis | 10 | | systems_and_integrations | 5 | | controls_and_compliance | 5 | | babok_core_concepts | 5 | | apqc_pcf_mapping | 5 | | Total | 100 |
Run: node scripts/score-pns-quality.mjs <pns.yaml>
Execute in order:
pir.yaml and stakeholder-register.yamlscripts/validate-pns.mjs; fix all errors before continuingscripts/score-pns-quality.mjs; ensure score ≥75 before handoffWhen validation passes and score ≥ 75, pass pns.yaml to:
visual-process-modeling — for BPMN diagram generationsop-and-work-instruction-generation — for SOP documentsraci-and-governance-matrix-generation — for standalone RACI matrixsipoc-generation — for SIPOC tableLoad on demand:
references/pns-schema.md — complete field-level documentation for all 13 sections, 9-state PNS lifecycle, and traceability rulesscripts/validate-pns.mjs — V1–V7 validationscripts/score-pns-quality.mjs — weighted quality scoreassets/fixtures/pns-example.yaml — canonical PNS fixture for purchase-approval processBuilt by Jamie Hill · OverKill Hill P³ Published at github.com/OKHP3 Part of the OKHP3/skillz Agent Skill library. MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.
Other measured skills in the registry, with their headline benchmark lift.