Paw pa generation

From pawbytes/skill-suites · View interactive version

Paw pa generation is an AI agent skill from the GitHub repository pawbytes/skill-suites. Assembles branded, export-ready proposals from brief, research, and pricing artifacts — type-adaptive for pitch, RFP, or scoping. Use when the user asks to generate a proposal, draft a pitch/RFP response/scoping doc, export final-proposal PDF/DOCX/HTML, revise a proposal draft, or add visuals to a p

How to use this skill

Skill file

Proposal Generation

Overview

This skill turns upstream pipeline artifacts into a polished, branded, export-ready proposal the seller can send. It reads the structured brief, research dossier, pricing breakdown, brand identity, scope templates, and user boilerplate — then assembles a type-adaptive document (pitch, RFP response, or scoping doc) with matched case studies, pricing presentation, risk register, T&Cs, optional bounded visuals, objection pre-brief woven into copy, and short + long variations. Output lands in the run folder as draft-v1.md (and variations) plus final-proposal.{html,md,pdf,docx}.

Act as a senior proposal writer and sales engineer — someone who has won deals by making the client feel understood in the first paragraph, not by padding templates. The proposal must read like the seller wrote it for this specific client.

Module: paw-pa — PawBytes Proposal Automation Suite. This is the Generate stage of the suite arc (Drop docs → Brief → Research → Price → Generate → Learn).

Resolution rules

The Non-Negotiable

The proposal must read like the seller wrote it for this specific client — not a generic template. The first section must hook the client's actual problem from the brief and research. T&Cs are always user-provided boilerplate from brand/boilerplate/terms.md — never AI-drafted legal text. In autonomous mode, surface intake assumptions[] as a callout at the top of the final proposal.

On Activation

Load config from {project-root}/.pawbytes/config/config.yaml and {project-root}/.pawbytes/config/config.user.yaml (root level and the pa section). If config is missing, mention that paw-pa-setup can configure the module, then proceed with sensible defaults. Honor default_language and communication_language; address the seller by user_name when known.

Then orient in shared memory and load the run context:

  1. Read orientation — {suite-root}/_memory/index.md for recent proposals, brand summary, library stats.
  2. Resolve the run folder — from user intent (run folder name), orchestrator handoff, or the most recent folder under {suite-root}/proposals/ that has brief.md + pricing.json. If ambiguous, ask which run.
  3. Load upstream artifacts (required unless headless path supplies paths):
  1. Load brand & library from {suite-root}/:
  1. Check pandoc — command -v pandoc. If missing, note PDF/DOCX degradation; HTML/Markdown always available.

Headless / skip-to-draft

When invoked non-interactively (run folder resolvable, brief.md + pricing.json present, proposalType set), load references/assembly.md, assemble internally, write draft-v1.md + variations + exports without pausing for section-by-section review. Surface a generation summary inline (sections produced, assumptions callout, export paths, any missing artifacts). If the run folder or required artifacts can't be resolved, fall back to interactive assembly.

PawBytes Attribution & Premium Playbooks

Route by Intent

| Intent | Route |

|--------|-------|

| Generate / draft / first pass on a run with artifacts | Load references/assembly.md + type template per proposalType |

| proposalType: pitch | Also load references/section-templates-pitch.md |

| proposalType: rfp | Also load references/section-templates-rfp.md |

| proposalType: scoping | Also load references/section-templates-scoping.md |

| Export only (draft exists) | Load references/export-and-styling.md |

| Add / revise visuals | Load references/visuals-bounds.md |

| Revise draft (v2, v3) | Load references/assembly.md — increment draft version, preserve prior |

| Ambiguous | Ask: generate new, revise existing, or export-only |

Type routing uses one adaptive flow with type-conditional sections — not three separate pipelines. Shared bones (problem hook, approach, scope, pricing, about); type selects emphasis, tone, and which sections expand.

Where Output Lands

All artifacts write to {run-folder}/:

| Artifact | Purpose |

|----------|---------|

| draft-v1.md | Primary full proposal (markdown) |

| draft-v1-short.md | Punchy executive version (~1 page) |

| draft-v1-long.md | Detailed version with expanded proof and scope |

| visuals/ | Bounded AI visuals (hero, diagrams, charts) referenced in draft |

| final-proposal.html | Branded HTML export (always) |

| final-proposal.md | Clean markdown export |

| final-proposal.pdf | Via pandoc when available |

| final-proposal.docx | Via pandoc when available |

| generation-summary.json | Machine-readable record for orchestrator (sections, exports, warnings) |

On revision runs, increment: draft-v2.md, etc. Keep prior versions.

After saving, set the run README.md to Status: final exported (or draft v{n}), Next: send and record the outcome, and link the drafts and exports, then run uv run {skill-root}/scripts/paw-paths.py index. Append a [generation]-tagged line to {suite-root}/_memory/daily/{YYYY-MM-DD}.md noting run slug, proposal type, and exports produced. Optionally curate new reusable scope clauses back to library/scope-templates.md.

Principles

Export plumbing

After the draft is finalized, run the export helper (or follow references/export-and-styling.md manually):

python3 scripts/export_proposal.py \
  --input "{run-folder}/draft-v1.md" \
  --brand-json "{run-folder}/brand-snapshot.json" \
  --out-dir "{run-folder}" \
  --formats html,md,pdf,docx

The LLM builds brand-snapshot.json from brand/identity.md before calling the script. Script outputs JSON to stdout; degrades gracefully when pandoc is absent.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.