fix: prettier fixes

This commit is contained in:
Brian Madison
2025-08-17 07:51:46 -05:00
parent 04c485b72e
commit 9de873777a
95 changed files with 2789 additions and 1834 deletions

View File

@@ -1,15 +1,25 @@
# Book Cover Design Assets
# ============================================================
# This canvas file contains:
# 1. Agent definition (cover-designer)
# 2. Three tasks
# 3. One template
# 4. One checklist
# ------------------------------------------------------------
# ------------------------------------------------------------
# agents/cover-designer.md
# ------------------------------------------------------------
```yaml
agent:
name: Iris Vega
@@ -50,81 +60,103 @@ dependencies:
```
# ------------------------------------------------------------
# tasks/generate-cover-brief.md
# ------------------------------------------------------------
---
task:
id: generate-cover-brief
name: Generate Cover Brief
description: Interactive questionnaire that captures all creative and technical parameters for the cover.
persona_default: cover-designer
steps:
- Ask for title, subtitle, author name, series info.
- Ask for genre, target audience, comparable titles.
- Ask for trim size (e.g., 6"x9"), page count, paper color.
- Ask for mood keywords, primary imagery, color palette.
- Ask what should appear on back cover (blurb, reviews, author bio, ISBN location).
- Fill cover-design-brief-tmpl with collected info.
output: cover-brief.md
...
# ------------------------------------------------------------
---
task:
id: generate-cover-brief
name: Generate Cover Brief
description: Interactive questionnaire that captures all creative and technical parameters for the cover.
persona_default: cover-designer
steps:
- Ask for title, subtitle, author name, series info.
- Ask for genre, target audience, comparable titles.
- Ask for trim size (e.g., 6"x9"), page count, paper color.
- Ask for mood keywords, primary imagery, color palette.
- Ask what should appear on back cover (blurb, reviews, author bio, ISBN location).
- Fill cover-design-brief-tmpl with collected info.
output: cover-brief.md
...
# ------------------------------------------------------------
# tasks/generate-cover-prompts.md
# ------------------------------------------------------------
---
task:
id: generate-cover-prompts
name: Generate Cover Prompts
description: Produce AI image generator prompts for front cover artwork plus typography guidance.
persona_default: cover-designer
inputs:
- cover-brief.md
steps:
- Extract mood, genre, imagery from brief.
- Draft 35 alternative stable diffusion / DALL·E prompts (include style, lens, color keywords).
- Specify safe negative prompts.
- Provide font pairing suggestions (Google Fonts) matching genre.
- Output prompts and typography guidance to cover-prompts.md.
output: cover-prompts.md
...
# ------------------------------------------------------------
---
task:
id: generate-cover-prompts
name: Generate Cover Prompts
description: Produce AI image generator prompts for front cover artwork plus typography guidance.
persona_default: cover-designer
inputs:
- cover-brief.md
steps:
- Extract mood, genre, imagery from brief.
- Draft 35 alternative stable diffusion / DALL·E prompts (include style, lens, color keywords).
- Specify safe negative prompts.
- Provide font pairing suggestions (Google Fonts) matching genre.
- Output prompts and typography guidance to cover-prompts.md.
output: cover-prompts.md
...
# ------------------------------------------------------------
# tasks/assemble-kdp-package.md
# ------------------------------------------------------------
---
task:
id: assemble-kdp-package
name: Assemble KDP Cover Package
description: Compile final instructions, assets list, and compliance checklist for Amazon KDP upload.
persona_default: cover-designer
inputs:
- cover-brief.md
- cover-prompts.md
steps:
- Calculate fullwrap cover dimensions (front, spine, back) using trim size & page count.
- List required bleed and margin values.
- Provide layout diagram (ASCII or Mermaid) labeling zones.
- Insert ISBN placeholder or usersupplied barcode location.
- Populate backcover content sections (blurb, reviews, author bio).
- Export combined PDF instructions (design-package.md) with link placeholders for final JPEG/PNG.
- Execute kdp-cover-ready-checklist; flag any unmet items.
output: design-package.md
...
# ------------------------------------------------------------
# templates/cover-design-brief-tmpl.yaml
---
task:
id: assemble-kdp-package
name: Assemble KDP Cover Package
description: Compile final instructions, assets list, and compliance checklist for Amazon KDP upload.
persona_default: cover-designer
inputs:
- cover-brief.md
- cover-prompts.md
steps:
- Calculate fullwrap cover dimensions (front, spine, back) using trim size & page count.
- List required bleed and margin values.
- Provide layout diagram (ASCII or Mermaid) labeling zones.
- Insert ISBN placeholder or usersupplied barcode location.
- Populate backcover content sections (blurb, reviews, author bio).
- Export combined PDF instructions (design-package.md) with link placeholders for final JPEG/PNG.
- Execute kdp-cover-ready-checklist; flag any unmet items.
output: design-package.md
...
# ------------------------------------------------------------
# templates/cover-design-brief-tmpl.yaml
# ------------------------------------------------------------
---
template:
id: cover-design-brief-tmpl
name: Cover Design Brief
description: Structured form capturing creative + technical details for cover design.
whenToUse: During generate-cover-brief task.
exampleOutput: cover-brief.md
id: cover-design-brief-tmpl
name: Cover Design Brief
description: Structured form capturing creative + technical details for cover design.
whenToUse: During generate-cover-brief task.
exampleOutput: cover-brief.md
---
# Cover Design Brief {{title}}
## Book Metadata
- **Title:** {{title}}
- **Subtitle:** {{subtitle}}
- **Author:** {{author}}
@@ -133,21 +165,24 @@ template:
- **Target Audience:** {{audience}}
## Technical Specs
| Item | Value |
|------|-------|
| Trim Size | {{trim_size}} |
| Page Count | {{page_count}} |
| Paper Color | {{paper_color}} |
| Print Type | {{print_type}} |
| Matte/Glossy | {{finish}} |
| Item | Value |
| ------------ | --------------- |
| Trim Size | {{trim_size}} |
| Page Count | {{page_count}} |
| Paper Color | {{paper_color}} |
| Print Type | {{print_type}} |
| Matte/Glossy | {{finish}} |
## Creative Direction
- **Mood / Tone Keywords:** {{mood_keywords}}
- **Primary Imagery:** {{imagery}}
- **Color Palette:** {{colors}}
- **Font Style Preferences:** {{fonts}}
## Back Cover Content
- **Blurb:** {{blurb}}
- **Review Snippets:** {{reviews}}
- **Author Bio:** {{author_bio}}
@@ -157,20 +192,25 @@ template:
...
# ------------------------------------------------------------
# checklists/kdp-cover-ready-checklist.md
# ------------------------------------------------------------
---
checklist:
id: kdp-cover-ready-checklist
name: KDP Cover Ready Checklist
description: Ensure final cover meets Amazon KDP print specs.
id: kdp-cover-ready-checklist
name: KDP Cover Ready Checklist
description: Ensure final cover meets Amazon KDP print specs.
items:
- "[ ] Correct trim size & bleed margins applied"
- "[ ] 300 DPI images"
- "[ ] CMYK color profile for print PDF"
- "[ ] Spine text ≥ 0.0625" away from edges"
- "[ ] Barcode zone clear of critical art"
- "[ ] No transparent layers"
- "[ ] File size < 40MB PDF"
- "[ ] Front & back text legible at thumbnail size"
...
- "[ ] Correct trim size & bleed margins applied"
- "[ ] 300 DPI images"
- "[ ] CMYK color profile for print PDF"
- "[ ] Spine text ≥ 0.0625" away from edges"
- "[ ] Barcode zone clear of critical art"
- "[ ] No transparent layers"
- "[ ] File size < 40MB PDF"
- "[ ] Front & back text legible at thumbnail size"
...