Skip to content
Back to skills

Regulatory Diff

ASecurity

Compare Indonesian statutory and platform ruleset transitions across effective date windows (e.g. PP 55/2022 vs PP 20/2026 or BPJS 2025 vs 2026).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 7, 2026
ai-agentsrustbash

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add adamriofc/indonesian-business-agent-skills --skill regulatory-diff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regulatory Diff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Regulatory Diff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adamriofc-regulatory-diff/badge)](https://www.skillsdirectory.com/skills/adamriofc-regulatory-diff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: regulatory-diff
description: "Compare Indonesian statutory and platform ruleset transitions across effective date windows (e.g. PP 55/2022 vs PP 20/2026 or BPJS 2025 vs 2026)."
argument-hint: <domain_umkm_bpjs_pph21_marketplace> <old_ruleset_id> <new_ruleset_id>
risk_level: MEDIUM
rule_type: statutory
quality_tier: tested
allowed-tools: bash
capability:
  purpose: [tax_calculation, statutory_compliance]
  not_for: [tax_legal_opinion, autonomous_filing]
  requires: [<domain_umkm_bpjs_pph21_marketplace> <old_ruleset_id> <new_ruleset_id>]
  produces: [taxAmount, effectiveRatePercent, statutoryReference, safeToUse]
  consumes: [hr.payroll_cost, context.asOfDate]
  deterministic: true
  cross_domain_relevance:
    hr: high
    finance: high
    legal: medium
---

# Regulatory & Ruleset Diff Engine

Compares versioned Single-Source-of-Truth (SSOT) rulesets across temporal transition windows to generate auditable diffs.

## Supported Domains & Ruleset Transition History
* **`umkm`**: Compare `UMKM-2022` (PP 55/2022) ➔ `UMKM-2026` (PP 20/2026, effective 2026-04-22).
* **`bpjs`**: Compare `BPJS-2025` ➔ `BPJS-2026` (effective 2026-03-01 wage cap changes).
* **`pph21`**: Compare `PPH21-2024` TER tables & Article 17 brackets.
* **`marketplace`**: Compare platform fee policy versions (`MKPL-FEE-2024`).

## Hybrid Execution Model
Pass parameters to `engines/regulatory-diff.js`:
* `compareRulesets(domain, oldRulesetId, newRulesetId)`
* Returns structured diff including:
  - **`effectiveTransitionDate`**: Date the amendment or new regulation took force.
  - **`removedEntities` / `addedEntities`**: Eligibility changes (e.g. PT/CV removal under PP 20/2026).
  - **`totalChanges`**: Number of modified statutory parameters.
  - **`lifecycle_status`**: Status transitions (`ARCHIVED` ➔ `RELEASED` / `SUPERSEDED`).

## Trust Envelope & Provenance
* Outputs link directly to official gazette sources cited in `PROVENANCE.md`.
* Verified against cryptographic ruleset hashes in `engines/rules/integrity.js`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.