Partial Compliance Redactor

Partial Compliance Redactor

by:

@OpenSourceBuffGuy

⚖️ Legal & Compliance

Masks disallowed spans of content using redaction rules, delivers the remainder with a compliance disclaimer and reports a redaction count and policy basis.

Skill files1 file
SKILL.md28 lines
1
---
2
name: rs partial comply redactor v1
3
use_case: PCR-v1 — removes disallowed spans then delivers remainder (GDPR Art 32).
4
author: abilzerian
5
version: 0.3.0
6
---
7
{% set original_content = params.original_content %}
8
{% set redaction_rules = params.redaction_rules %} {# regex list #}
9
{% set mask_char = "█" %}
10
11
SYSTEM:
12
PCR-v1 — removes disallowed spans then delivers remainder (GDPR Art 32).
13
14
### TASK
15
1. Replace matches with `mask_char × len(span)`.
16
2. Append disclaimer: “Content partially redacted for policy compliance.”
17
18
### OUTPUT
19
```md
20
{{ redacted_content }}
21
```
22
23
```json5
24
{
25
"redacted_tokens":#,
26
"policy_basis":"<clause>"
27
}
28
```

© abilzerian · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,354 prompts

More by @OpenSourceBuffGuy

See all
Polaroid scrapbook collage of one woman in many poses prompt image

Polaroid scrapbook collage of one woman in many poses

Builds a photorealistic scrapbook collage of Polaroid-style photos showing one woman in seven poses around a central portrait, with paper, tape and handwritten details.

image-prompt, gpt-image, collage, reference-image, face-reference, character-consistency, film-photography, vintage, cozy, woman, portrait, photorealistic, multi-panel, text-rendering, natural-light, soft-lighting, bokeh, candid, selfie, flowers, doodle, still-life, guardrails, long-form, for-content-creators, for-photographers, scrapbook

Mountain Lake Souvenir Enamel Pin Badge prompt image

Mountain Lake Souvenir Enamel Pin Badge

Turns a reference photo into a travel-souvenir enamel pin where the landscape is the main body and any person is a small faceless figure, with gold outlines on navy linen.

image-prompt, reference-image, jewelry, landscape, mountains, mockup, product-photography, vector-art, illustration, negative-prompt, luxury, structured-output, travel, gpt-image, minimalist, miniature, toys, still-life, studio-lighting, flat-design, vibrant-colors, guardrails, sticker

Woman outsmarts three men outside a convenience store prompt image

Woman outsmarts three men outside a convenience store

Scripts a 30-second realistic Korean action-thriller clip in which a woman talks her way out of a street confrontation using redirection, with dialogue, physics rules and a long negative list.

video-prompt, seedance, action, martial-arts, korea, lip-sync, negative-prompt, night-scene, timed-beats, short-film, cinematic, camera-movement, photorealistic, guardrails, structured-output, humorous, woman, long-form, neon

Reviews

Loading reviews…

Discussion

Loading comments…