بنقرة واحدة
pii-sanitizer
Sanitize PII and sensitive data from STP documents
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Sanitize PII and sensitive data from STP documents
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Classify PR review comments on STP/STD documents into auto-fixable vs needs-human categories. Maps free-text feedback to QualityFlow domain rules for automated fix routing.
Resolve Jira ID to project configuration and load project context
Generate comprehensive v2.1-ENHANCED STD YAML with pattern metadata, variables, test structure from ALL STP scenarios (single file)
Orchestrate STP → STD pipeline (generates comprehensive STD YAML only)
Generate test stubs with PSE docstrings from STD YAML — language and framework driven by project config
Detect test conventions from a codebase to drive test generation without tier config
| name | pii-sanitizer |
| description | Sanitize PII and sensitive data from STP documents |
| model | claude-opus-4-6 |
Phase: Post-Processing User-Invocable: true
Sanitize Personally Identifiable Information (PII) and sensitive data from STP documents.
/pii-sanitizerdocument: |
# STP content with potentially sensitive data
VM 'acme-corp-prod-db-01' on node 'k8s-worker-acme-3.acme.internal'
failed migration. IP: 10.42.15.87, User: jsmith@acme.com
PVC: pvc-acme-database-prod, Namespace: acme-production
sanitized_document: |
# STP content with sanitized data
VM 'database-vm' on node 'worker-node-1'
failed migration. IP: 192.0.2.10, User: testuser@example.com
PVC: pvc-example, Namespace: test-namespace
sanitization_summary:
ips_replaced: 3
hostnames_replaced: 5
emails_replaced: 2
customer_names_replaced: 4
vendor_names_replaced: 1
credentials_found: 0
total_replacements: 15
Read {project_context.config_dir}/pii_exceptions.yaml for project-specific PII exceptions (e.g., allowed vendor/product names). The sanitization rules below are generic and apply to all projects.
| Original | Replacement |
|---|---|
| Customer names | <customer>, Example Corp, ACME Inc |
| Account IDs | <account-id> |
| Organization names | <organization> |
| Original | Replacement |
|---|---|
| Usernames | testuser, admin-user, <username> |
| Email addresses | user@example.com, admin@example.org |
| Employee IDs | <user-id> |
NEVER include credentials in output:
<password><api-key><token><certificate><secret>| Original | Replacement Range |
|---|---|
| IP addresses | RFC 5737: 192.0.2.x, 198.51.100.x, 203.0.113.x |
| MAC addresses | 00:00:5E:00:53:xx |
| Hostnames | <hostname>, worker-node-1, master-node-1 |
| FQDNs | example.com, example.org, example.net |
| Original | Replacement |
|---|---|
| VM names | test-vm, fedora-vm, windows-vm |
| Pod names | pod-example |
| Namespace names | test-namespace, example-namespace |
| PVC names | test-pvc, pvc-example |
| Storage classes | storageclass-example |
| NIC/Bridge names | nic-example, br-example |
| Cluster names | cluster-example |
| Node names | node-example, worker-node-1 |
| Original | Replacement |
|---|---|
/home/jsmith/... | /home/<user>/... |
/data/acme/... | /data/<customer>/... |
| Original | Replacement |
|---|---|
| Specific UUIDs | <uuid>, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
Never use specific vendor names (except allowed names from project config and open source projects).
| Vendor Category | Replace With |
|---|---|
| Virtualization (VMware, Hyper-V) | Virtualization Infrastructure Vendor |
| Network (Cisco, Juniper) | Network Infrastructure Vendor |
| Storage (NetApp, Dell EMC) | Storage Infrastructure Vendor |
| Cloud (AWS, Azure, GCP) | Cloud Infrastructure Provider |
| Hardware (Dell, HP) | Hardware Vendor |
| GPU (NVIDIA, AMD GPU) | GPU Vendor |
| NIC (Mellanox, Broadcom) | NIC Vendor |
| Backup (Veeam, Commvault) | Backup/DR Vendor |
Exceptions (allowed):
{project_context.config_dir}/pii_exceptions.yaml for project-specific allowed
vendor/product names (e.g., vendor products, open source projects the team works with)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}*.company.com, *.internalworker-node-1.example.comworker, master, compute[^@\s]+@[^@\s]+\.[^@\s]+user@example.com, admin@example.orgadmin@... → admin@example.comBefore:
The migration of VM 'customer-prod-db-01' from node
'k8s-worker-1.acme-corp.internal' (IP: 10.42.15.87) to
'k8s-worker-2.acme-corp.internal' (IP: 10.42.15.88) failed.
User jsmith@acme-corp.com reported the issue. Using NetApp
Trident for storage provisioning.
After:
The migration of VM 'database-vm' from node
'worker-node-1.example.com' (IP: 192.0.2.1) to
'worker-node-2.example.com' (IP: 192.0.2.2) failed.
User testuser@example.com reported the issue. Using Storage
Provider for storage provisioning.
Before returning sanitized document:
If uncertain whether data is sensitive: sanitize it.
It is better to use generic names than risk exposing sensitive information.