一键导入
calzone
Compress verbose plans, specifications, and documentation into ultra-compact ASCII-safe pseudocode with zero fidelity loss
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compress verbose plans, specifications, and documentation into ultra-compact ASCII-safe pseudocode with zero fidelity loss
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Four-dimensional epistemic processing framework for precise knowledge categorization and honest uncertainty handling. Use when Claude needs to navigate epistemic uncertainty with precision, distinguish between "I don't know" vs "I can't know" vs "I can't verify" vs "I can't articulate", handle questions at the limits of knowledge gracefully, assess cognitive state and avoid reactive pattern-matching, process complex problems requiring systematic knowledge mapping, or provide epistemically honest responses about verification limits, authorization constraints, or articulability gaps.
Consequence-aware agency framework preventing reckless planning and actions. Use when executing agentic tasks that modify state, access resources, or could have downstream effects. Triggers on file operations, code execution, API calls, database modifications, or any multi-step autonomous workflow. Provides pre-action consequence checking, intent verification, and escalation protocols.
Create complex, detailed SVG graphics through tiled grid decomposition. Use when generating characters, scenes, objects, illustrations, or any detailed vector artwork. Decomposes images into grid tiles, designs each tile independently with layered shapes, then assembles into cohesive output. Triggers on requests for detailed SVG art, character design, complex illustrations, scene composition, or when standard single-pass SVG approaches produce insufficient detail.
Structured interview methodology for collecting comprehensive information through dynamic, context-aware questioning with progressive artifact updates
creating TINS-compliant README files, generating implementations from TINS READMEs, and validating TINS documentation
Stage-based planning methodology for breaking complex development plans into manageable phase and substage documents with detailed step-by-step instructions and code examples
| name | calzone |
| description | Compress verbose plans, specifications, and documentation into ultra-compact ASCII-safe pseudocode with zero fidelity loss |
| license | MIT |
Fold verbose plans into highly distilled ASCII-safe pseudocode with zero fidelity loss.
Transform verbose documentation into structured pseudocode that:
→ Leads to, results in, transforms to
← Derives from, depends on
⊕ Add, include, combine
⊗ Remove, exclude, subtract
∧ AND condition
∨ OR condition
¬ NOT, negation
≡ Equivalent to, same as
∴ Therefore, conclusion
∵ Because, reason
↔ Bidirectional relationship
⇒ Implies, requires
△ Change, delta, modification
◆ Critical item, milestone
○ Optional item
● Required item
[?] Conditional, needs decision
[!] Warning, important note
[@] Reference to external item
[#] Numbered identifier
§ Section marker
¶ Paragraph/block marker
├ Branch item
└ Terminal branch item
│ Continuation
▸ Sub-item, nested element
» Further nested element
[✓] Complete
[○] In progress
[□] Not started
[×] Blocked
[~] Partially complete
[?] Needs clarification
When folding a plan:
Verbose:
First, fetch user data from database.
Then, validate permissions.
After that, load UI components.
Finally, render the page.
Folded:
1. fetch_user_data(db)
2. validate_perms(user)
3. load_ui_components(perms)
4. render_page() → user
Verbose:
The system must implement user authentication, which includes:
- Email/password login functionality
- OAuth integration with Google and GitHub
- Two-factor authentication support
- SMS-based verification
- App-based TOTP codes
Folded:
●AUTH_SYS
├email_pwd_login
├oauth_integration
│ ├google
│ └github
└2fa_support
├sms_verify
└totp_app
Verbose:
Module A depends on Module B and Module C.
Module B requires the Database Connection utility.
Module C is optional but enhances performance.
Database Connection must be initialized first.
Folded:
ModA ← (ModB ∧ ModC)
ModB ⇒ DBConn
ModC [○] perf_enhance
DBConn → INIT_FIRST ⇒ [all_modules]
Verbose:
Order starts in "pending" state.
When payment received, transitions to "processing".
After processing completes, moves to "completed".
If payment fails, goes to "failed" and can retry.
If user cancels, goes to "cancelled" (final).
Folded:
order_state_machine:
pending → [payment_rcvd] → processing
→ [payment_fail] → failed → [retry] → pending
→ [user_cancel] → cancelled [FINAL]
processing → [complete] → completed [FINAL]
Verbose:
Process payment with the given amount and method.
If successful, return transaction ID.
If insufficient funds, notify user and suggest alternatives.
If network error, retry 3 times or queue for later.
If invalid method, log error and return error code.
Folded:
process_payment(amount, method):
TRY:
validate_amount(amount) [!amount>0]
charge_method(method, amount)
∴ [✓] txn_id
CATCH:
InsufficientFunds → notify_user ∧ suggest_alt
NetworkErr → retry(3x) ∨ queue_later
InvalidMethod → [×] log_err ∧ return_err_code
Preserve critical context without verbosity:
calc_discount(base, user_tier):
# tier: bronze=5%, silver=10%, gold=15%, platinum=20%
discount_rate ← tier_map[user_tier]
∴ base * (1 - discount_rate)
Link related sections efficiently:
§1 User_Auth [@see §4.2 for security_policy]
§2 Data_Model [@refs §1 for user_entity]
§3 API_Layer [@consumes §2]
fetch_data():
◆ timeout: 5s [!]
◆ retry: 3x w/ exp_backoff
◆ cache: 15min TTL
Ideal for:
Avoid for:
Before delivering a folded plan, verify:
When user provides verbose documentation:
When user provides folded pseudocode:
For plans >30,000 characters, split into logical sections:
CALZONE_PART_1.md # Foundation (§1-§5)
CALZONE_PART_2.md # Implementation (§6-§10)
CALZONE_PART_3.md # Deployment (§11-§15)
# Include manifest at top of first file
Manifest:
§1-5 → CALZONE_PART_1.md
§6-10 → CALZONE_PART_2.md
§11-15→ CALZONE_PART_3.md
# E-Commerce Checkout System
## Phase 1: Foundation
Build a checkout system handling cart management, price calculations,
and tax computations. Support multiple payment methods: credit cards,
PayPal, and Apple Pay.
Cart should persist across sessions using local storage, with database
backup when users logged in. Show real-time inventory status.
## Phase 2: Payment Processing
Integrate Stripe for credit card processing. Implement error handling
for declined cards, network timeouts, invalid card data. Add retry
mechanism with exponential backoff for transient failures.
## Phase 3: Order Management
After successful payment, create order record with unique ID. Send
confirmation emails via SendGrid. Update inventory atomically to
prevent overselling. Generate PDF invoices using templates.
§1 CHECKOUT_SYS
¶ Foundation
●cart_mgmt ⊕ price_calc ⊕ tax_compute
payment_methods: [credit_card, paypal, apple_pay]
●cart_persistence:
primary: localStorage
backup: db ← [user_logged_in]
inventory_status: real_time_check
¶ Payment_Processing
stripe_integration:
handle_errors:
├declined_card → notify_user
├network_timeout → retry(3x, exp_backoff)
└invalid_data → validation_err
¶ Order_Management
payment_success →:
1. create_order(db) → unique_order_id
2. send_email(sendgrid, confirmation)
3. update_inventory(atomic) [!prevent_oversell]
4. gen_invoice(pdf, template)
Always deliver folded plans as markdown artifacts with:
Remember: The goal is enhanced clarity through systematic distillation, not just compression.