policydb-compose

Compose PolicyDB emails with tokenized templates and context-aware recipient resolution.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/wanderinglantern/policydb --skill policydb-compose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policydb-compose
Source: https://github.com/wanderinglantern/policydb/tree/main/.claude/skills/policydb-compose
Command: npx skills add https://github.com/wanderinglantern/policydb --skill policydb-compose

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes PolicyDB email composition by providing a right-side slideover panel, token-based rendering for placeholders, recipient resolution, and template management across policy, client, and RFI contexts, enabling consistent, faster communications.

Core Features & Use Cases

  • Tokenized rendering: Replaces {{token}} placeholders with string values from policydb context builders and guards against empty values.
  • Context-aware recipient resolution: Resolves To/CC lists across issue/policy/project scopes with role badges.
  • Template CRUD: Create, edit, duplicate, and delete templates for policy and client contexts, with token pills in editors.
  • Slideover UI: Provides a right-side panel accessible from multiple pages to compose emails from context.
  • Dispatch options: Dispatch via Outlook draft creation, or fall back to mailto/link; optional HTML formatting for policy tables.

Quick Start

Open the PolicyDB compose panel and start drafting an email using any configured template.

Frequently Asked Questions about policydb-compose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PolicyDB email composition with tokenized templates?

Tokenized email templates for PolicyDB replace {{token}} placeholders with context-specific values, resolving recipients and rendering policy tables directly within a right-side slideover panel for automated email composition.

How do I create and manage email templates for policy and client contexts in PolicyDB?

You can create, edit, duplicate, and delete templates for policy and client contexts using built-in CRUD routes, with visual token pills in the editor to manage placeholders and maintain consistent communications.

Does PolicyDB email composition support Outlook draft creation?

Yes, PolicyDB email composition supports Outlook draft creation as a primary dispatch option, while also providing copy-to-clipboard and mailto link fallbacks for sending rendered tokenized emails.

How does recipient resolution work across issue, policy, and project scopes?

Recipient resolution automatically determines To and CC lists across issue, policy, and project scopes by using context builders, displaying role badges so you can verify recipients before dispatching the email.

Can I render inline policy tables with HTML formatting in PolicyDB emails?

Yes, you can render inline policy tables with optional HTML formatting when composing PolicyDB emails, integrating structured policy data directly into the tokenized template output.