用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/HossamDaoud83/CPS-Plugins-Official --skill doc-gen命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Initialise a new film production from an idea — refresh live pricing, run the intake interview including budget and quality tier, produce a costed plan, and scaffold only after approval. Trigger - /film-setup, once at the start of a new film.
Re-measure every model's live credit cost and rewrite the cost matrix. MANDATORY at the start of every new film project, before quoting or planning. Trigger - /pricing-refresh, or automatically as the first step of film-setup.
Cut, grade, title and master the film locally with ffmpeg — zero credits. Trigger - /assembly, after all clips render and before qc-gate.
正在显示 SKILL.md
基于 SOC 职业分类
| name | doc-gen |
| description | Generate professional DOCX, XLSX, PDF, PPTX documents with CPS branding |
Generate professional, branded documents in multiple formats (Word, Excel, PDF, PowerPoint) with consistent CPS branding.
/doc-genWhen /doc-gen is invoked:
Ask or determine:
Read branding from: assets/cps-branding.json
{
"colors": {
"primary": "#1B4F72",
"secondary": "#2874A6",
"accent": "#F39C12",
"text": "#2C3E50",
"background": "#FFFFFF",
"critical": "#CC0000",
"high": "#FF8C00",
"complete": "#228B22",
"alt_row": "#F8FBFD"
},
"fonts": {
"heading": "Arial Black",
"body": "Arial",
"body_size": 11
},
"logo":
┌─────────────────────────────────────────────────────────────────────────────┐
│ [LOGO] │ LINE │ CORE PATH STRATEGIES | CONFIDENTIAL │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ [DOCUMENT TITLE] │
│ [Subtitle/Client Name] │
│ [Date] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ EXECUTIVE SUMMARY │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Key findings and recommendations in 3-5 bullet points] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ 1. INTRODUCTION │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Background, objectives, scope] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ 2. METHODOLOGY │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Approach, data sources, frameworks used] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ 3. FINDINGS │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Detailed analysis and observations] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ 4. RECOMMENDATIONS │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Prioritized recommendations with rationale] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ 5. NEXT STEPS │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Action items, owners, timelines] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ APPENDICES │
│ ─────────────────────────────────────────────────────────────────────────── │
│ [Supporting data, detailed tables, references] │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ [Document Title] Page X of Y │
└─────────────────────────────────────────────────────────────────────────────┘
Sections: Title Page, Executive Summary, TOC, Body, Appendices Header: Logo (0.77") | Vertical Line | "CORE PATH STRATEGIES | [CONFIDENTIALITY]" Footer: Document Title | Page X of Y
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ [CPS LOGO - Full Width Header] │
│ ═══════════════════════════════════════════════════════════════════════ │
│ │
│ [Date] │
│ │
│ [Recipient Name] │
│ [Title] │
│ [Organization] │
│ [Address Line 1] │
│ [Address Line 2] │
│ │
│ Subject: [Subject Line] │
│ │
│ Dear [Salutation], │
│ │
│ [Opening paragraph - Purpose of letter] │
│ │
│ [Body paragraphs - Details, requests, information] │
│ │
│ [Closing paragraph - Next steps, call to action] │
│ │
│ Sincerely, │
│ │
│ [Signature Block] │
│ [Name] │
│ [Title] │
│ Core Path Strategies │
│ │
│ ═══════════════════════════════════════════════════════════════════════ │
│ Core Path Strategies | www.core-path.org | info@core-path.org │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
Slide 1: Title Slide
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ [CPS LOGO] │
│ │
│ │
│ [PRESENTATION TITLE] │
│ ───────────────────── │
│ [Subtitle] │
│ │
│ │
│ [Client Name] │
│ [Date] │
│ │
│ ═══════════════════════════════════════════════════════════════════════ │
│ CONFIDENTIAL │
└─────────────────────────────────────────────────────────────────────────────┘
Slide 2+: Content Slides
┌─────────────────────────────────────────────────────────────────────────────┐
│ [CPS LOGO - small, top right] │
│ │
│ [SLIDE TITLE] │
│ ═══════════════════════════════════════════════════════════════════════ │
│ │
│ • [Bullet point 1] │
│ • [Bullet point 2] │
│ • [Bullet point 3] │
│ │
│ ┌───────────────────────────────────────────────────────────────────────┐ │
│ │ [Chart / Table / Diagram Area] │ │
│ │ │ │
│ └───────────────────────────────────────────────────────────────────────┘ │
│ │
│ ───────────────────────────────────────────────────────────────────────── │
│ [Footer: Client Name | Date | Page #] │
└─────────────────────────────────────────────────────────────────────────────┘
Final Slide: Thank You / Contact
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ [CPS LOGO - Large, centered] │
│ │
│ Thank You │
│ ────────── │
│ │
│ [Contact Name] │
│ [Email] │
│ [Phone] │
│ │
│ www.core-path.org │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
Sheet Structure:
Sheet 1: Executive Summary
├── Title Block (merged cells, CPS branding)
├── Key Metrics Table
├── Summary Charts Area
└── Notes/Assumptions
Sheet 2: Detailed Data
├── Column Headers (blue background, white text)
├── Data Rows (alternating: white/#F8FBFD)
├── Totals Row (bold, border top)
└── Footer Notes
Sheet 3: Analysis
├── Pivot Tables
├── Charts
└── Trend Analysis
Sheet 4: Appendix
├── Reference Data
├── Assumptions
└── Data Sources
Formatting Standards:
| Element | Format |
|---|---|
| Header Row | Background: #1B4F72, Font: White, Bold, 12pt |
| Data Rows | Alternating: White / #F8FBFD |
| Totals | Bold, Border Top, Background: #E8F4FD |
| Currency | $#,##0.00 |
| Percentage | 0.00% |
| Dates | YYYY-MM-DD |
| Numbers | #,##0 (with thousands separator) |
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ [CPS LOGO] [AGREEMENT TITLE] [Client Logo] │
│ │
│ ═══════════════════════════════════════════════════════════════════════ │
│ │
│ This [Agreement Type] ("Agreement") is entered into as of [Date] │
│ ("Effective Date") by and between: │
│ │
│ CORE PATH STRATEGIES ("CPS") │
│ [Address] │
│ │
│ AND │
│ │
│ [CLIENT NAME] ("Client") │
│ [Address] │
│ │
│ ───────────────────────────────────────────────────────────────────────── │
│ │
│ 1. SCOPE OF SERVICES │
│ 2. DELIVERABLES │
│ 3. TIMELINE │
│ 4. FEES AND PAYMENT │
│ 5. CONFIDENTIALITY │
│ 6. INTELLECTUAL PROPERTY │
│ 7. LIMITATION OF LIABILITY │
│ 8. TERMINATION │
│ 9. GOVERNING LAW │
│ 10. SIGNATURES │
│ │
│ ───────────────────────────────────────────────────────────────────────── │
│ │
│ AGREED AND ACCEPTED: │
│ │
│ CORE PATH STRATEGIES [CLIENT NAME] │
│ │
│ _________________________ _________________________ │
│ Signature Signature │
│ │
│ _________________________ _________________________ │
│ Name Name │
│ │
│ _________________________ _________________________ │
│ Title Title │
│ │
│ _________________________ _________________________ │
│ Date Date │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
// Using docx library (conceptual)
const doc = new Document({
sections: [{
properties: {},
headers: {
default: new Header({
children: [
new Paragraph({
children: [
new ImageRun({ data: logoBuffer, transformation: { width: 77, height: 77 } }),
new TextRun({ text: " | CORE PATH STRATEGIES | CONFIDENTIAL", font: "Arial", size: 20 })
]
})
]
})
},
footers: {
default: new Footer({
children: [
new Paragraph({
children: [
new TextRun({ text: documentTitle }),
new TextRun({ text: "Page " }),
new SimpleField({ instruction: "PAGE" }),
new TextRun({ : }),
({ : })
]
})
]
})
},
: [
({
: title,
: .,
: .
}),
]
}]
});
// Using exceljs library (conceptual)
const workbook = new ExcelJS.Workbook();
const sheet = workbook.addWorksheet('Summary');
// Header row styling
sheet.getRow(1).eachCell(cell => {
cell.fill = { type: 'pattern', pattern: 'solid', fgColor: { argb: 'FF1B4F72' } };
cell.font = { color: { argb: 'FFFFFFFF' }, bold: true, size: 12 };
cell.alignment = { horizontal: 'center', vertical: 'middle' };
});
// Alternating row colors
for (let i = 2; i <= lastRow; i++) {
if (i % 2 === 0) {
sheet.getRow(i).eachCell(cell => {
cell.fill = { type: 'pattern', pattern: 'solid', fgColor: { argb: 'FFF8FBFD' } };
});
}
}
// Using pdfkit library (conceptual)
const doc = new PDFDocument({ margin: 50 });
// Header
doc.image('assets/logos/cps-logo-full.png', 50, 45, { width: 55 });
doc.fontSize(10)
.text('CORE PATH STRATEGIES | CONFIDENTIAL', 120, 50);
doc.moveTo(50, 80).lineTo(550, 80).stroke('#1B4F72');
// Title
doc.fontSize(24)
.font('Helvetica-Bold')
.fillColor('#1B4F72')
.text(title, { align: 'center' });
// Using pptxgenjs library (conceptual)
const pptx = new PptxGenJS();
// Title Slide
let slide = pptx.addSlide();
slide.addImage({ path: 'assets/logos/cps-logo-full.png', x: 0.5, y: 0.5, w: 1.5, h: 1.5 });
slide.addText(title, { x: 1, y: 2.5, w: 8, h: 1, fontSize: 36, bold: true, color: '1B4F72' });
slide.addText(subtitle, { x: 1, y: 3.5, w: 8, h: 0.5, fontSize: 18, color: '2C3E50' });
// Content Slide
slide = pptx.addSlide();
slide.addText(sectionTitle, { x: 0.5, y: 0.5, w: 9, h: , : , : , : });
slide.(bullets, { : , : , : , : , : , : });
[CLIENT]_[DOCTYPE]_[DESCRIPTION]_[DATE].[ext]
Examples:
- CPS_Report_Digital_Maturity_Assessment_2026-02-02.docx
- CPS_Proposal_AI_Governance_2026-02-02.pdf
- CPS_Analysis_Financial_Model_2026-02-02.xlsx
- CPS_Presentation_Strategy_Review_2026-02-02.pptx
05_Deliverables_Final/[DOCTYPE]/[FILENAME]
═══════════════════════════════════════════════════════════════════════════════
DOCUMENT GENERATED SUCCESSFULLY
═══════════════════════════════════════════════════════════════════════════════
Document: [Title]
Format: [DOCX | XLSX | PDF | PPTX]
Template: [Executive Report | Letter | Presentation | Workbook | Contract]
Pages/Slides: [N]
Size: [X KB/MB]
Language: [English | Arabic | Bilingual]
Branding: CPS Standard Applied
Output Path: 05_Deliverables_Final/[folder]/[filename]
═══════════════════════════════════════════════════════════════════════════════
| Document Type | Formats | Template | Use Case |
|---|---|---|---|
| Executive Report | DOCX, PDF | exec-report | Analysis findings, recommendations |
| Formal Letter | DOCX, PDF | letter | Client communications, requests |
| Presentation | PPTX | presentation | Client meetings, workshops |
| Data Workbook | XLSX | workbook | Financial models, data analysis |
| Proposal | DOCX, PDF | proposal | New engagement proposals |
| Contract | DOCX, PDF | contract | Engagement agreements |
| Status Report | DOCX, PDF | status-report | Weekly/monthly updates |
| Risk Register | XLSX | risk-register | Risk tracking |
| Project Plan | XLSX | project-plan | Timeline, milestones |
| Language | Code | RTL | Font |
|---|---|---|---|
| English | en | No | Arial |
| Arabic | ar | Yes | Arial Unicode MS |
| Bilingual | en-ar | Mixed | Arial / Arial Unicode MS |
| Skill | Integration |
|---|---|
/cps-budget | Export budget estimate as formatted report |
/dashboard | Export dashboard as PDF/PPTX |
/proposal | Uses doc-gen for proposal document creation |
/risk-assessment | Export risk register as XLSX |
/status-report | Uses doc-gen for status report creation |
| Error | Resolution |
|---|---|
| Logo not found | Use text-only header |
| Font not available | Fall back to system fonts |
| Template missing | Use default template |
| Invalid data | Show validation errors |
Skill Version: 1.0 Last Updated: 2026-02-02