[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71HPP5R0X1N16NFYR2ETXZ9":3,"skill-same:01M71HPP5R0X1N16NFYR2ETXZ9":234},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M71HPP5R0X1N16NFYR2ETXZ9","kami",null,"Typeset professional documents: resumes, one-pagers, white papers, letters, portfolios, slide decks. Warm parchment, ink-blue accent, serif-led hierarchy. CN uses TsangerJinKai02, EN uses Charter, JA uses YuMincho (best-effort). Triggers on \"做 PDF \u002F 排版 \u002F 一页纸 \u002F 白皮书 \u002F 作品集 \u002F 简历 \u002F PPT \u002F slides\", or \"build me a resume \u002F make a one-pager \u002F design a slide deck \u002F turn this into a PDF \u002F make this presentable\".","xuanxuan1983\u002Fhermes-skills-backup","xuanxuan1983","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F151701653?v=4","01M71HCZNB5H19QJ6YBF98W2WH","01M71HCZP14T0921BD0TC9EPD3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"简历","effort","slides","one-pager","parchment","make","serif","白皮书","me","hierarchy","typeset","documents","design","slide decks","professional","papers","ink","pptx","PDF","2026-11-10 10:12:30",false,"---\nname: kami\ndescription: 'Typeset professional documents: resumes, one-pagers, white papers, letters, portfolios, slide decks. Warm parchment, ink-blue accent, serif-led hierarchy. CN uses TsangerJinKai02, EN uses Charter, JA uses YuMincho (best-effort). Triggers on \"做 PDF \u002F 排版 \u002F 一页纸 \u002F 白皮书 \u002F 作品集 \u002F 简历 \u002F PPT \u002F slides\", or \"build me a resume \u002F make a one-pager \u002F design a slide deck \u002F turn this into a PDF \u002F make this presentable\".'\n---\n\n# kami · 紙\n\n**紙 · かみ** - the paper your deliverables land on.\n\nGood content deserves good paper. One design language across eight document types: warm parchment canvas, ink-blue accent, serif-led hierarchy, tight editorial rhythm.\n\nPart of `Kaku · Waza · Kami` - Kaku writes code, Waza drills habits, **Kami delivers documents**.\n\n## Step 0 · Load brand profile (if exists)\n\nCheck `~\u002F.config\u002Fkami\u002Fbrand.md` (preferred) or `~\u002F.kami\u002Fbrand.md` (legacy fallback). If found, read `references\u002Fbrand-profile.md` for the full four-layer application spec (placeholder substitution, session defaults, visual customization, habit notes) and its six guardrails. If no profile exists, continue without interruption.\n\nKey rule: explicit prompt > editorial judgment > habit notes > frontmatter defaults > built-in defaults. Profile fills gaps silently; it never overrides the current conversation.\n\n---\n\n## Step 1 · Decide the language\n\n**Match the user's language.** Chinese -> `*.html` \u002F `slides-weasy.html`. English -> `*-en.html` \u002F `slides-weasy-en.html`. Japanese -> CJK path (`.html` \u002F `slides-weasy.html`) as best-effort, JP Mincho first, visual QA before shipping. Reference docs are shared English specs.\n\nWhen ambiguous (e.g. a one-word command like \"resume\"), ask a one-liner rather than guess.\n\n| User language | HTML templates | Slides (PDF default) | Slides (PPTX fallback) |\n|---|---|---|---|\n| Chinese (primary) | `*.html` | `slides-weasy.html` | `slides.py` |\n| English | `*-en.html` | `slides-weasy-en.html` | `slides-en.py` |\n| Japanese (best-effort) | `*.html` | `slides-weasy.html` | `slides.py` |\n| Other languages (best-effort) | choose CJK or EN path by script coverage, then verify manually | choose `slides-weasy.html` or `slides-weasy-en.html`, then verify manually | use `slides.py` \u002F `slides-en.py` only if PPTX is required |\n\n> Default to the WeasyPrint HTML path; fall back to PPTX (`slides*.py`) only when the user explicitly needs an editable deck.\n\nAlways use `CHEATSHEET.md` and `references\u002F*.md` for design, writing, production, and diagram guidance.\n\n## Step 1.5 · Intent extraction (silent checklist)\n\nBefore choosing a template, verify these four dimensions are clear. Do not ask unless 2+ are missing and cannot be inferred from context.\n\n| Dimension | What to extract | Example |\n|---|---|---|\n| **Purpose** | Why this document exists | Persuade investor vs. align internal team vs. close a candidate |\n| **Audience** | Who reads it, what they already know | Technical CTO (skip basics) vs. non-technical board (explain terms) |\n| **Constraint** | Hard limits on length, format, tone, or delivery | \"One page max\", \"formal English\", \"print-ready A4\" |\n| **Success** | What outcome counts as success | They schedule a meeting \u002F they approve the budget \u002F they understand the architecture |\n\nRules:\n- If the conversation already answered a dimension, skip it silently.\n- If a dimension can be inferred from the document type (e.g. resume purpose is always \"get an interview\"), skip it.\n- If 2+ dimensions are genuinely unclear, ask in a single compact question (max 2 sub-questions).\n- Never ask all four as a checklist. This is a background verification, not a form.\n\n---\n\n## Step 2 · Pick the document type\n\n| User says | Document | CN template | EN template |\n|---|---|---|---|\n| \"one-pager \u002F 方案 \u002F 执行摘要 \u002F exec summary\" | One-Pager | `one-pager.html` | `one-pager-en.html` |\n| \"white paper \u002F 白皮书 \u002F 长文 \u002F 年度总结 \u002F technical report\" | Long Doc | `long-doc.html` | `long-doc-en.html` |\n| \"formal letter \u002F 信件 \u002F 辞职信 \u002F 推荐信 \u002F memo\" | Letter | `letter.html` | `letter-en.html` |\n| \"portfolio \u002F 作品集 \u002F case studies\" | Portfolio | `portfolio.html` | `portfolio-en.html` |\n| \"resume \u002F CV \u002F 简历 \u002F 履歴書\" | Resume | `resume.html` | `resume-en.html` |\n| \"slides \u002F PPT \u002F deck \u002F 演示\" | Slides | `slides-weasy.html` | `slides-weasy-en.html` |\n| \"个股研报 \u002F equity report \u002F 估值分析 \u002F investment memo \u002F 股票分析\" | Equity Report | `equity-report.html` | `equity-report-en.html` |\n| \"更新日志 \u002F changelog \u002F release notes \u002F 版本记录\" | Changelog | `changelog.html` | `changelog-en.html` |\n\n> **Changelog vs. release notes**: The changelog template above is for styled document output. GitHub release notes are a separate deliverable; use `\u002Fwrite` with Release Note Template Mode.\n\n> Slides: default to `slides-weasy.html` \u002F `slides-weasy-en.html` (WeasyPrint HTML → PDF). Use `slides.py` \u002F `slides-en.py` only when the user explicitly requires an editable PPTX file.\n\n> Deck recipe: read design.md Section 8 before drafting slides.\n\nIf unsure, ask a one-liner about the scenario rather than guess.\n\n### Diagrams (primitives, not a separate template type)\n\nWhen the user asks for **a diagram inside** a long-doc \u002F portfolio \u002F slide (not a standalone document), route to `assets\u002Fdiagrams\u002F` rather than a template:\n\n| User says | Diagram | Template |\n|---|---|---|\n| \"架构图 \u002F architecture \u002F 系统图 \u002F components diagram\" | Architecture | `assets\u002Fdiagrams\u002Farchitecture.html` |\n| \"流程图 \u002F flowchart \u002F 决策流 \u002F branching logic\" | Flowchart | `assets\u002Fdiagrams\u002Fflowchart.html` |\n| \"象限图 \u002F quadrant \u002F 优先级矩阵 \u002F 2×2 matrix\" | Quadrant | `assets\u002Fdiagrams\u002Fquadrant.html` |\n| \"柱状图 \u002F bar chart \u002F 分类对比 \u002F grouped bars\" | Bar Chart | `assets\u002Fdiagrams\u002Fbar-chart.html` |\n| \"折线图 \u002F line chart \u002F 趋势 \u002F 股价 \u002F time series\" | Line Chart | `assets\u002Fdiagrams\u002Fline-chart.html` |\n| \"环形图 \u002F donut \u002F pie \u002F 占比 \u002F 分布结构\" | Donut Chart | `assets\u002Fdiagrams\u002Fdonut-chart.html` |\n| \"状态机 \u002F state machine \u002F 状态图 \u002F lifecycle\" | State Machine | `assets\u002Fdiagrams\u002Fstate-machine.html` |\n| \"时间线 \u002F timeline \u002F 里程碑 \u002F milestones \u002F roadmap\" | Timeline | `assets\u002Fdiagrams\u002Ftimeline.html` |\n| \"泳道图 \u002F swimlane \u002F 跨角色流程 \u002F cross-team flow\" | Swimlane | `assets\u002Fdiagrams\u002Fswimlane.html` |\n| \"树状图 \u002F tree \u002F hierarchy \u002F 层级 \u002F 组织架构\" | Tree | `assets\u002Fdiagrams\u002Ftree.html` |\n| \"分层图 \u002F layer stack \u002F 分层架构 \u002F OSI \u002F stack\" | Layer Stack | `assets\u002Fdiagrams\u002Flayer-stack.html` |\n| \"维恩图 \u002F venn \u002F 交集 \u002F overlap \u002F 集合关系\" | Venn | `assets\u002Fdiagrams\u002Fvenn.html` |\n| \"K 线 \u002F candlestick \u002F OHLC \u002F 股价走势 \u002F price history\" | Candlestick | `assets\u002Fdiagrams\u002Fcandlestick.html` |\n| \"瀑布图 \u002F waterfall \u002F 收入桥 \u002F revenue bridge \u002F decomposition\" | Waterfall | `assets\u002Fdiagrams\u002Fwaterfall.html` |\n\nRead `references\u002Fdiagrams.md` before drawing - it has the selection guide, kami token map, and the AI-slop anti-pattern table. Extract the `\u003Csvg>` block from the template and drop it into a `\u003Cfigure>` inside long-doc \u002F portfolio.\n\nBefore drawing, always ask: **would a well-written paragraph teach the reader less than this diagram?** If no, don't draw.\n\n**Auto-select charts from data.** When content contains numerical data, choose the chart type and embed it without waiting for the user to specify. Decision tree (first match wins):\n\n| Data shape | Chart |\n|---|---|\n| Has open\u002Fhigh\u002Flow\u002Fclose fields, or per-day price | Candlestick |\n| Has + and - contributions that sum to a total (bridge, waterfall, P&L) | Waterfall |\n| One series, values sum to ~100%, items ≤ 6 | Donut |\n| One series, values sum to ~100%, items ≥ 7 | Horizontal bar |\n| Two or more series across time (months, quarters, years) | Line |\n| One series across time, large count changes dominate (not rate) | Bar |\n| Multiple categories, same time snapshot, 2+ series | Grouped bar |\n| 2×2 strategic or priority positioning | Quadrant |\n| Hierarchical data with depth ≥ 2 | Tree |\n| Process with decision branches | Flowchart |\n| Cross-team or cross-role process with ≥ 3 actors | Swimlane |\n| Set overlaps or shared attributes between 2-3 groups | Venn |\n| Category comparison, single series, no time axis | Bar |\n\nWhen data fits multiple types, prefer the one that shows variance most clearly. Always embed inside a `\u003Cfigure>` with a caption that states the insight, not just the data range.\n\n## Step 2.1 · Source and material pass\n\nRun this before distilling or filling content when the document depends on facts or materials outside the user's draft. Skip it only for personal drafts where the user already supplied everything needed.\n\n### Source check\n\nTrigger when the document mentions a specific company, product, person, release date, version, funding round, metric, market fact, technical spec, or any current fact likely to change.\n\n- Use primary sources before writing: user-provided material, official site, docs, filings, press release, app store page, or repo release\n- Keep a short note of source names and dates for facts that drive the document\n- If sources conflict or a fact cannot be checked quickly, ask the user instead of choosing silently\n- Avoid current-sounding claims such as \"latest\", \"recent\", \"new\", version numbers, launch dates, or financial figures unless they are checked\n\n### Material check\n\nTrigger when the document is about a company, product, project, venue, or personal brand.\n\nConfirm the materials that make the subject recognizable before layout:\n\n| Need | Required when | Accept |\n|---|---|---|\n| Logo | Any branded document | User file or official SVG\u002FPNG |\n| Product image | Physical product \u002F venue \u002F object | Official image, user image, or marked gap |\n| UI screenshot | App \u002F SaaS \u002F website \u002F tool | Current screenshot, official product image, or user capture |\n| Brand colors | Branded one-pager \u002F portfolio \u002F deck | Official value, extracted asset value, or keep kami ink-blue |\n| Fonts | Only if brand typography matters | Official font, close system fallback, or kami default |\n\nIf a required item is missing, use a compact gap table and ask once. Do not replace missing material with generic imagery, approximate logo drawings, or invented values.\n\n### Materials status block\n\nAfter the material check, output a structured status block before continuing. This is a one-shot transparency display, not a question:\n\n```\nMaterials status:\n- Logo: OK assets\u002Fclient-logo.svg\n- Brand colors: OK #1B365D mapped to --brand\n- Product screenshot: MISSING (proceeding with kami default placeholder)\n- UI screenshot: not required for this doc type\n```\n\nUse `OK`, `MISSING`, or `not required`. If a required item is missing and no user input arrived, ask once with the gap table; otherwise continue silently.\n\n## Step 2.5 · Distill raw content (if applicable)\n\n**Auto-detect whether to distill.** Do not ask the user; judge from the input:\n\n| Skip distill (fill directly) | Run distill |\n|---|---|\n| Content has explicit section labels matching template structure | Raw prose without section structure |\n| Metrics already quantified with units in place | Numbers scattered or implied, not extracted |\n| User wrote \"use this as-is\" \u002F \"直接用这个\" \u002F \"原封不动\" | User pasted multi-source dump (chat \u002F email thread \u002F multiple docs) |\n| Content count matches template (e.g. 4 metrics for 4 metric cards) | Content count mismatches template (too many or too few items) |\n| One coherent voice with consistent claims | Conflicting claims or duplicate facts across sources |\n\nWhen in doubt, run distill. Distill is cheap; rebuilding a misaligned doc is not.\n\nWhen the user hands over **raw material** (meeting notes, brain dump, existing doc in different format, chat transcript, scattered points):\n\n1. **Extract**: pull out every factual claim, number, date, name, source, material reference, and action item\n2. **Classify**: map each extract to the target template's sections (see `references\u002Fwriting.md` for section structure per doc type)\n3. **Gap-check**: list what the template needs but the raw content doesn't have - include missing facts, missing proof, and missing materials\n4. **Ask once**: share the gap table with the user. Do not guess to fill gaps.\n\nExample gap-check:\n\n| Template needs | Found | Missing |\n|---|---|---|\n| 4 metric cards | \"8 years\", \"50-person team\" | 2 more quantifiable results |\n| 3-5 core projects | 2 mentioned | at least 1 more with outcome |\n| Materials | logo file provided | product screenshot source |\n\nThen proceed to Step 2.6 (slides) or the layout note (all other doc types) with structured, distilled content.\n\n## Step 2.6 · Deck pre-flight (slides only)\n\nSkip this step for every doc type except slides.\n\n### Path selection\n\nDefault to the WeasyPrint HTML path. Switch to pptx only if the user explicitly requires an editable PPTX file.\n\n| Path | Template | When |\n|---|---|---|\n| WeasyPrint HTML → PDF (default) | `slides-weasy.html` \u002F `slides-weasy-en.html` | All cases unless PPTX is required |\n| python-pptx → PPTX (fallback) | `slides.py` \u002F `slides-en.py` | User explicitly requires editable PPTX |\n\n### Page size\n\nDefault is `280mm 158mm`. Ask only if the user has mentioned length or density constraints.\n\n| Size | When |\n|---|---|\n| `280mm 158mm` | Default; fits most decks |\n| `297mm 167mm` | User wants a bit more room |\n| `338mm 190mm` | Heavy content slide or many data points per page |\n\n### Content pre-flight\n\nBefore drafting any slide, confirm these points with the user. Ask all at once, skip any already answered:\n\n| # | Question |\n|---|---|\n| 1 | **Audience + venue** - who is in the room, and is it live keynote, investor 1:1, or async share link? |\n| 2 | **Length target** - presentation time or slide count? (15 min: ~10 slides \u002F 30 min: ~20 slides \u002F 45 min: ~25-30 slides) |\n| 3 | **Source material** - what content is already ready: outline, doc, notes, data? |\n| 4 | **Images** - are screenshots, charts, logos, or product images available, or are gaps expected? |\n| 5 | **Hard constraints** - brand colors, required logo, PPTX required, any slides that must exist? |\n| 6 | **Format confirmation** - slides deck, or a one-pager that looks like a deck? |\n\n### Content rules for slides\n\n- No section divider slides: use `.eyebrow` for section numbering, not a dedicated blue-background page\n- No CJK parentheses: replace `（...）` with `·` or `,`\n- Each bullet fits one line: trim until it does\n- 2×2 layouts: use `table.t2x2`, not CSS Grid\n- Pinned conclusions: use `.co` at `position: absolute; bottom: 12mm`\n\n## Step 2.7 · Layout note (transparent, non-blocking)\n\nBefore loading specs and filling the template, write a short editor-style note stating the layout intent: template choice, length target, narrative arc, embedded diagrams, material status, and output formats. Match the document's language. Keep it under 80 words, written as prose, not a status panel. Continue immediately after; do not wait.\n\nExample (CN):\n\n> 排版意图：Equity Report 中文版，2 页 A4。先立论与目标价，进入估值 (DCF 与可比公司)，落于催化剂与风险。中段嵌一张营收趋势折线和 FY26 收入桥瀑布。Logo 已就位，产品图暂缺，header 改走纯文字。输出 HTML 与 PDF。\n\nExample (EN):\n\n> Layout intent: Equity Report (EN), two pages A4. Open with thesis and price target, run through valuation (DCF and comparables), close on catalysts and risks. A revenue line chart and an FY26 waterfall sit mid-doc. Logo is in hand; product image is absent, so the header stays text-only. Output: HTML and PDF.\n\nThe note is for transparency, not approval. If the user pushes back, adjust; otherwise proceed to Step 3.\n\n---\n\n## Step 3 · Load the right amount of spec\n\nPick the tier that matches the task. Default to the lowest tier that covers the work.\n\n| Tier | When | Read |\n|---|---|---|\n| **Content-only** | Updating text, swapping bullets, translating an existing doc. CSS stays untouched. | `CHEATSHEET.md` only |\n| **Layout tweak** | Adjusting spacing, moving sections, changing font size within spec. CSS touched. | `CHEATSHEET.md` + template (tokens already inline) |\n| **New document** | Building from scratch or from raw content. | Full design spec + writing spec + template |\n| **Resume content** | Resume-specific bullet structure, project framing, scope-result-outcome rules. | `resume-writing.md` + template |\n| **Sources \u002F materials** | Company, product, market, launch, funding, specs, or branded subject. | `writing.md` source rules + user\u002Fsource material |\n| **Deck (>20 slides)** | Long presentation needing Part Divider, Code Cards, section headers. | Full design spec + Deck Recipe (design.md section 8) |\n| **Troubleshoot** | Rendering bug, font issue, page overflow. | `production.md` (+ design spec if CSS is the cause) |\n| **Anti-patterns** | Reviewing AI-generated drafts before shipping. | `anti-patterns.md` (six-category checklist) |\n| **Diagram** | Embedding SVG in a doc. | `diagrams.md` only (has its own token map) |\n\nYou can always escalate mid-task if the work turns out to need more than the initial tier.\n\nThe full spec files for reference:\n- Design: `references\u002Fdesign.md`\n- Writing (general): `references\u002Fwriting.md`\n- Writing (resume-specific): `references\u002Fresume-writing.md`\n- Production: `references\u002Fproduction.md`\n- Diagrams: `references\u002Fdiagrams.md`\n- Anti-patterns: `references\u002Fanti-patterns.md`\n\n## Step 4 · Fill content into the template\n\n- Copy the template into your working directory; don't write HTML from scratch\n- **CSS stays untouched**, only edit the body\n- Content follows `writing.md`: data over adjectives, distinctive phrasing over industry clichés\n- Avoid patterns listed in `references\u002Fanti-patterns.md`: emptiness, fabrication, mimicry, excess, source gaps, tone contamination\n- **Before filling, read the quality bar for your document type** in `writing.md` section \"Quality bars by document type\". Structure is necessary but not sufficient: a resume bullet needs Action + Scope + Result + Business Outcome; an equity report needs variant perception + quantified catalysts; slides need assertion-evidence titles. Meeting the quality bar is as important as filling every placeholder.\n\n### Do not generate\n\nThese are the most common AI document failures. Cross-reference `references\u002Fanti-patterns.md` for the full list.\n\n- Do not leave placeholder text in the final document (\"Lorem ipsum\", \"[Insert here]\", \"TBD\")\n- Do not invent metrics, financial data, or statistics; mark gaps with `[DATA NEEDED: description]`\n- Do not use stock-image descriptions as image placeholders (\"A diverse team collaborating in a modern office\")\n- Do not pad content to fill template slots (a resume with 3 real projects does not need 5 fabricated ones)\n- Do not write a paragraph that merely restates its own heading in sentence form\n\n### Fill PDF metadata (WeasyPrint reads these into the PDF)\n\nEvery template has meta placeholders in `\u003Chead>`. Fill all four before building:\n\n| Placeholder (CN) | Placeholder (EN) | Rule |\n|---|---|---|\n| `{{作者}}` | `{{AUTHOR}}` | Resume\u002Fletter\u002Fportfolio: use the person's name from the doc. All others: leave as-is (build script infers from git config or env) |\n| `{{摘要}}` | `{{DESCRIPTION}}` | Extract one sentence (≤150 chars) from the first 2 paragraphs |\n| `{{关键词}}` | `{{KEYWORDS}}` | 3-5 keywords from the title + section headings, comma-separated |\n| `{{文档标题}}` \u002F `{{信件主题}}` etc. | `{{DOC_TITLE}}` \u002F `{{LETTER_SUBJECT}}` etc. | Infer from the H1 or `.header .title` text |\n\n`\u003Cmeta name=\"generator\" content=\"Kami\">` is already fixed in the template; do not change it.\n\n**Author inference**: `build.py` automatically sets PDF `\u002FAuthor` metadata from:\n1. `git config user.name` (primary)\n2. `KAMI_AUTHOR` environment variable (fallback)\n3. `\"Kami\"` (final fallback)\n\nFor personal documents (resume\u002Fletter\u002Fportfolio), the HTML `\u003Cmeta name=\"author\">` should match the person's name in the content. For non-personal documents (one-pager\u002Flong-doc), leave the placeholder as-is and let the build script infer it.\n\n## Step 4.5 · Auto-select output format\n\nDo not ask the user which format to export. Decide from context:\n\n| Signal | Output | Why |\n|---|---|---|\n| Any document request | HTML + PDF | PDF is the default deliverable, HTML is the source |\n| Slides \u002F PPT \u002F deck | HTML + PDF + PPTX | Presentations need a projectable format |\n| \"分享\" \u002F \"发朋友圈\" \u002F \"share\" \u002F \"post\" \u002F \"preview\" | + PNG | Social platforms and messaging need images |\n| \"嵌入\" \u002F \"插图\" \u002F \"embed in another doc\" | PNG only | Used as material inside other documents |\n| User explicitly says a format | Follow the user | Explicit request overrides auto-selection |\n\nPDF always ships. PPTX follows slides. PNG follows sharing context. The user should never need to think about formats.\n\n## Step 5 · Build & verify\n\n```bash\npython3 scripts\u002Fbuild.py --verify           # build all templates + page count + font check + slides\npython3 scripts\u002Fbuild.py --verify resume-en # single target full verification\npython3 scripts\u002Fbuild.py --verify slides    # single slide deck verification\npython3 scripts\u002Fbuild.py --check-placeholders path\u002Fto\u002Ffilled.html\npython3 scripts\u002Fbuild.py --check-density              # page whitespace scanner (skips cover)\npython3 scripts\u002Fbuild.py --check            # CSS rule violations only (fast, no build)\n```\n\nSource templates intentionally keep `{{...}}` fields. Run placeholder checks on completed documents, not on the template library.\n\nVisual anomalies (tag double rectangle, font fallback, page break issues) -> `production.md` Part 4.\n\n## Fonts\n\n**Chinese**\n- Main serif: TsangerJinKai02-W04.ttf (400 weight) + TsangerJinKai02-W05.ttf (500 weight, real bold)\n- Templates use dual @font-face declarations: W04 for body text, W05 for headings\n- Both files are commercial fonts. Keep them available in the repository for local preview and CDN fallback, but do not bundle them inside Claude Desktop skill ZIPs\n- Fallback chain baked into templates: Source Han Serif SC -> Noto Serif CJK SC -> Songti SC -> STSong -> Georgia\n\n**Japanese (best-effort)**\n- Uses CJK template path, no dedicated `-ja` templates yet\n- JP Mincho-first stack: YuMincho -> Hiragino Mincho ProN -> Noto Serif CJK JP -> Source Han Serif JP -> TsangerJinKai02 -> serif\n- Visually verify line breaks, punctuation rhythm, and emphasis weight before shipping\n\n**English**\n- Single serif: Charter (system-bundled, macOS\u002FiOS), used for both headlines and body\n- No separate sans: `--sans: var(--serif)`, one font per page\n- Fallback: Georgia (cross-platform) \u002F Palatino \u002F Times New Roman\n\nFont files next to HTML with relative `@font-face` paths is the most stable setup. `scripts\u002Fpackage-skill.sh` excludes TsangerJinKai TTFs from the Claude Desktop ZIP.\n\n**Font auto-recovery (Claude Desktop)**\n\nBefore building Chinese documents, ensure fonts are present. The script tries multiple CDN sources with retry and size validation:\n\n```bash\nbash scripts\u002Fensure-fonts.sh\n```\n\nRun once before building. If all sources fail, the script suggests installing Source Han Serif SC as fallback.\n\n## Feedback protocol\n\nWhen the user gives **vague visual feedback** (\"looks off\", \"太挤了\", \"not elegant\"), do not guess. Ask back with current values:\n\n| User says | Ask about |\n|---|---|\n| \"太挤了\" \u002F \"too cramped\" | Which element? Line-height (current: X)? Padding (current: Y)? Page margin? |\n| \"太松了\" \u002F \"too loose\" | Same direction, reversed |\n| \"颜色不对\" \u002F \"color feels wrong\" | Which element? Brand blue overused? A gray reading too cool? |\n| \"不够好看\" \u002F \"not polished\" | Font rendering? Alignment? Whitespace distribution? Hierarchy unclear? |\n| \"看着不专业\" \u002F \"unprofessional\" | Content wording? Or layout (alignment, consistency)? |\n\nTemplate response: \"X is currently set to Y. Would you like (a) [specific alternative within spec] or (b) [another option]?\"\n\nNever say \"I'll adjust the spacing\" without naming the exact property and its new value.\n\n---\n\n## When not to use this skill\n\n- User explicitly wants Material \u002F Fluent \u002F Tailwind default - different design language\n- Need dark \u002F cyberpunk \u002F futurist aesthetic (this is deliberately anti-future)\n- Need saturated multi-color (this has one accent)\n- Need cartoon \u002F animation \u002F illustration style (this is editorial)\n- Web dynamic app UI (this is for print \u002F static documents)\n\n---\n\nNext: **apply Step 3's tier table to decide what to read**, then copy the matching template and start filling.\n","# kami · 紙\n\n**紙 · かみ** - the paper your deliverables land on.\n\nGood content deserves good paper. One design language across eight document types: warm parchment canvas, ink-blue accent, serif-led hierarchy, tight editorial rhythm.\n\nPart of `Kaku · Waza · Kami` - Kaku writes code, Waza drills habits, **Kami delivers documents**.\n\n## Step 0 · Load brand profile (if exists)\n\nCheck `~\u002F.config\u002Fkami\u002Fbrand.md` (preferred) or `~\u002F.kami\u002Fbrand.md` (legacy fallback). If found, read `references\u002Fbrand-profile.md` for the full four-layer application spec (placeholder substitution, session defaults, visual customization, habit notes) and its six guardrails. If no profile exists, continue without interruption.\n\nKey rule: explicit prompt > editorial judgment > habit notes > frontmatter defaults > built-in defaults. Profile fills gaps silently; it never overrides the current conversation.\n\n---\n\n## Step 1 · Decide the language\n\n**Match the user's language.** Chinese -> `*.html` \u002F `slides-weasy.html`. English -> `*-en.html` \u002F `slides-weasy-en.html`. Japanese -> CJK path (`.html` \u002F `slides-weasy.html`) as best-effort, JP Mincho first, visual QA before shipping. Reference docs are shared English specs.\n\nWhen ambiguous (e.g. a one-word command like \"resume\"), ask a one-liner rather than guess.\n\n| User language | HTML templates | Slides (PDF default) | Slides (PPTX fallback) |\n|---|---|---|---|\n| Chinese (primary) | `*.html` | `slides-weasy.html` | `slides.py` |\n| English | `*-en.html` | `slides-weasy-en.html` | `slides-en.py` |\n| Japanese (best-effort) | `*.html` | `slides-weasy.html` | `slides.py` |\n| Other languages (best-effort) | choose CJK or EN path by script coverage, then verify manually | choose `slides-weasy.html` or `slides-weasy-en.html`, then verify manually | use `slides.py` \u002F `slides-en.py` only if PPTX is required |\n\n> Default to the WeasyPrint HTML path; fall back to PPTX (`slides*.py`) only when the user explicitly needs an editable deck.\n\nAlways use `CHEATSHEET.md` and `references\u002F*.md` for design, writing, production, and diagram guidance.\n\n## Step 1.5 · Intent extraction (silent checklist)\n\nBefore choosing a template, verify these four dimensions are clear. Do not ask unless 2+ are missing and cannot be inferred from context.\n\n| Dimension | What to extract | Example |\n|---|---|---|\n| **Purpose** | Why this document exists | Persuade investor vs. align internal team vs. close a candidate |\n| **Audience** | Who reads it, what they already know | Technical CTO (skip basics) vs. non-technical board (explain terms) |\n| **Constraint** | Hard limits on length, format, tone, or delivery | \"One page max\", \"formal English\", \"print-ready A4\" |\n| **Success** | What outcome counts as success | They schedule a meeting \u002F they approve the budget \u002F they understand the architecture |\n\nRules:\n- If the conversation already answered a dimension, skip it silently.\n- If a dimension can be inferred from the document type (e.g. resume purpose is always \"get an interview\"), skip it.\n- If 2+ dimensions are genuinely unclear, ask in a single compact question (max 2 sub-questions).\n- Never ask all four as a checklist. This is a background verification, not a form.\n\n---\n\n## Step 2 · Pick the document type\n\n| User says | Document | CN template | EN template |\n|---|---|---|---|\n| \"one-pager \u002F 方案 \u002F 执行摘要 \u002F exec summary\" | One-Pager | `one-pager.html` | `one-pager-en.html` |\n| \"white paper \u002F 白皮书 \u002F 长文 \u002F 年度总结 \u002F technical report\" | Long Doc | `long-doc.html` | `long-doc-en.html` |\n| \"formal letter \u002F 信件 \u002F 辞职信 \u002F 推荐信 \u002F memo\" | Letter | `letter.html` | `letter-en.html` |\n| \"portfolio \u002F 作品集 \u002F case studies\" | Portfolio | `portfolio.html` | `portfolio-en.html` |\n| \"resume \u002F CV \u002F 简历 \u002F 履歴書\" | Resume | `resume.html` | `resume-en.html` |\n| \"slides \u002F PPT \u002F deck \u002F 演示\" | Slides | `slides-weasy.html` | `slides-weasy-en.html` |\n| \"个股研报 \u002F equity report \u002F 估值分析 \u002F investment memo \u002F 股票分析\" | Equity Report | `equity-report.html` | `equity-report-en.html` |\n| \"更新日志 \u002F changelog \u002F release notes \u002F 版本记录\" | Changelog | `changelog.html` | `changelog-en.html` |\n\n> **Changelog vs. release notes**: The changelog template above is for styled document output. GitHub release notes are a separate deliverable; use `\u002Fwrite` with Release Note Template Mode.\n\n> Slides: default to `slides-weasy.html` \u002F `slides-weasy-en.html` (WeasyPrint HTML → PDF). Use `slides.py` \u002F `slides-en.py` only when the user explicitly requires an editable PPTX file.\n\n> Deck recipe: read design.md Section 8 before drafting slides.\n\nIf unsure, ask a one-liner about the scenario rather than guess.\n\n### Diagrams (primitives, not a separate template type)\n\nWhen the user asks for **a diagram inside** a long-doc \u002F portfolio \u002F slide (not a standalone document), route to `assets\u002Fdiagrams\u002F` rather than a template:\n\n| User says | Diagram | Template |\n|---|---|---|\n| \"架构图 \u002F architecture \u002F 系统图 \u002F components diagram\" | Architecture | `assets\u002Fdiagrams\u002Farchitecture.html` |\n| \"流程图 \u002F flowchart \u002F 决策流 \u002F branching logic\" | Flowchart | `assets\u002Fdiagrams\u002Fflowchart.html` |\n| \"象限图 \u002F quadrant \u002F 优先级矩阵 \u002F 2×2 matrix\" | Quadrant | `assets\u002Fdiagrams\u002Fquadrant.html` |\n| \"柱状图 \u002F bar chart \u002F 分类对比 \u002F grouped bars\" | Bar Chart | `assets\u002Fdiagrams\u002Fbar-chart.html` |\n| \"折线图 \u002F line chart \u002F 趋势 \u002F 股价 \u002F time series\" | Line Chart | `assets\u002Fdiagrams\u002Fline-chart.html` |\n| \"环形图 \u002F donut \u002F pie \u002F 占比 \u002F 分布结构\" | Donut Chart | `assets\u002Fdiagrams\u002Fdonut-chart.html` |\n| \"状态机 \u002F state machine \u002F 状态图 \u002F lifecycle\" | State Machine | `assets\u002Fdiagrams\u002Fstate-machine.html` |\n| \"时间线 \u002F timeline \u002F 里程碑 \u002F milestones \u002F roadmap\" | Timeline | `assets\u002Fdiagrams\u002Ftimeline.html` |\n| \"泳道图 \u002F swimlane \u002F 跨角色流程 \u002F cross-team flow\" | Swimlane | `assets\u002Fdiagrams\u002Fswimlane.html` |\n| \"树状图 \u002F tree \u002F hierarchy \u002F 层级 \u002F 组织架构\" | Tree | `assets\u002Fdiagrams\u002Ftree.html` |\n| \"分层图 \u002F layer stack \u002F 分层架构 \u002F OSI \u002F stack\" | Layer Stack | `assets\u002Fdiagrams\u002Flayer-stack.html` |\n| \"维恩图 \u002F venn \u002F 交集 \u002F overlap \u002F 集合关系\" | Venn | `assets\u002Fdiagrams\u002Fvenn.html` |\n| \"K 线 \u002F candlestick \u002F OHLC \u002F 股价走势 \u002F price history\" | Candlestick | `assets\u002Fdiagrams\u002Fcandlestick.html` |\n| \"瀑布图 \u002F waterfall \u002F 收入桥 \u002F revenue bridge \u002F decomposition\" | Waterfall | `assets\u002Fdiagrams\u002Fwaterfall.html` |\n\nRead `references\u002Fdiagrams.md` before drawing - it has the selection guide, kami token map, and the AI-slop anti-pattern table. Extract the `\u003Csvg>` block from the template and drop it into a `\u003Cfigure>` inside long-doc \u002F portfolio.\n\nBefore drawing, always ask: **would a well-written paragraph teach the reader less than this diagram?** If no, don't draw.\n\n**Auto-select charts from data.** When content contains numerical data, choose the chart type and embed it without waiting for the user to specify. Decision tree (first match wins):\n\n| Data shape | Chart |\n|---|---|\n| Has open\u002Fhigh\u002Flow\u002Fclose fields, or per-day price | Candlestick |\n| Has + and - contributions that sum to a total (bridge, waterfall, P&L) | Waterfall |\n| One series, values sum to ~100%, items ≤ 6 | Donut |\n| One series, values sum to ~100%, items ≥ 7 | Horizontal bar |\n| Two or more series across time (months, quarters, years) | Line |\n| One series across time, large count changes dominate (not rate) | Bar |\n| Multiple categories, same time snapshot, 2+ series | Grouped bar |\n| 2×2 strategic or priority positioning | Quadrant |\n| Hierarchical data with depth ≥ 2 | Tree |\n| Process with decision branches | Flowchart |\n| Cross-team or cross-role process with ≥ 3 actors | Swimlane |\n| Set overlaps or shared attributes between 2-3 groups | Venn |\n| Category comparison, single series, no time axis | Bar |\n\nWhen data fits multiple types, prefer the one that shows variance most clearly. Always embed inside a `\u003Cfigure>` with a caption that states the insight, not just the data range.\n\n## Step 2.1 · Source and material pass\n\nRun this before distilling or filling content when the document depends on facts or materials outside the user's draft. Skip it only for personal drafts where the user already supplied everything needed.\n\n### Source check\n\nTrigger when the document mentions a specific company, product, person, release date, version, funding round, metric, market fact, technical spec, or any current fact likely to change.\n\n- Use primary sources before writing: user-provided material, official site, docs, filings, press release, app store page, or repo release\n- Keep a short note of source names and dates for facts that drive the document\n- If sources conflict or a fact cannot be checked quickly, ask the user instead of choosing silently\n- Avoid current-sounding claims such as \"latest\", \"recent\", \"new\", version numbers, launch dates, or financial figures unless they are checked\n\n### Material check\n\nTrigger when the document is about a company, product, project, venue, or personal brand.\n\nConfirm the materials that make the subject recognizable before layout:\n\n| Need | Required when | Accept |\n|---|---|---|\n| Logo | Any branded document | User file or official SVG\u002FPNG |\n| Product image | Physical product \u002F venue \u002F object | Official image, user image, or marked gap |\n| UI screenshot | App \u002F SaaS \u002F website \u002F tool | Current screenshot, official product image, or user capture |\n| Brand colors | Branded one-pager \u002F portfolio \u002F deck | Official value, extracted asset value, or keep kami ink-blue |\n| Fonts | Only if brand typography matters | Official font, close system fallback, or kami default |\n\nIf a required item is missing, use a compact gap table and ask once. Do not replace missing material with generic imagery, approximate logo drawings, or invented values.\n\n### Materials status block\n\nAfter the material check, output a structured status block before continuing. This is a one-shot transparency display, not a question:\n\n```\nMaterials status:\n- Logo: OK assets\u002Fclient-logo.svg\n- Brand colors: OK #1B365D mapped to --brand\n- Product screenshot: MISSING (proceeding with kami default placeholder)\n- UI screenshot: not required for this doc type\n```\n\nUse `OK`, `MISSING`, or `not required`. If a required item is missing and no user input arrived, ask once with the gap table; otherwise continue silently.\n\n## Step 2.5 · Distill raw content (if applicable)\n\n**Auto-detect whether to distill.** Do not ask the user; judge from the input:\n\n| Skip distill (fill directly) | Run distill |\n|---|---|\n| Content has explicit section labels matching template structure | Raw prose without section structure |\n| Metrics already quantified with units in place | Numbers scattered or implied, not extracted |\n| User wrote \"use this as-is\" \u002F \"直接用这个\" \u002F \"原封不动\" | User pasted multi-source dump (chat \u002F email thread \u002F multiple docs) |\n| Content count matches template (e.g. 4 metrics for 4 metric cards) | Content count mismatches template (too many or too few items) |\n| One coherent voice with consistent claims | Conflicting claims or duplicate facts across sources |\n\nWhen in doubt, run distill. Distill is cheap; rebuilding a misaligned doc is not.\n\nWhen the user hands over **raw material** (meeting notes, brain dump, existing doc in different format, chat transcript, scattered points):\n\n1. **Extract**: pull out every factual claim, number, date, name, source, material reference, and action item\n2. **Classify**: map each extract to the target template's sections (see `references\u002Fwriting.md` for section structure per doc type)\n3. **Gap-check**: list what the template needs but the raw content doesn't have - include missing facts, missing proof, and missing materials\n4. **Ask once**: share the gap table with the user. Do not guess to fill gaps.\n\nExample gap-check:\n\n| Template needs | Found | Missing |\n|---|---|---|\n| 4 metric cards | \"8 years\", \"50-person team\" | 2 more quantifiable results |\n| 3-5 core projects | 2 mentioned | at least 1 more with outcome |\n| Materials | logo file provided | product screenshot source |\n\nThen proceed to Step 2.6 (slides) or the layout note (all other doc types) with structured, distilled content.\n\n## Step 2.6 · Deck pre-flight (slides only)\n\nSkip this step for every doc type except slides.\n\n### Path selection\n\nDefault to the WeasyPrint HTML path. Switch to pptx only if the user explicitly requires an editable PPTX file.\n\n| Path | Template | When |\n|---|---|---|\n| WeasyPrint HTML → PDF (default) | `slides-weasy.html` \u002F `slides-weasy-en.html` | All cases unless PPTX is required |\n| python-pptx → PPTX (fallback) | `slides.py` \u002F `slides-en.py` | User explicitly requires editable PPTX |\n\n### Page size\n\nDefault is `280mm 158mm`. Ask only if the user has mentioned length or density constraints.\n\n| Size | When |\n|---|---|\n| `280mm 158mm` | Default; fits most decks |\n| `297mm 167mm` | User wants a bit more room |\n| `338mm 190mm` | Heavy content slide or many data points per page |\n\n### Content pre-flight\n\nBefore drafting any slide, confirm these points with the user. Ask all at once, skip any already answered:\n\n| # | Question |\n|---|---|\n| 1 | **Audience + venue** - who is in the room, and is it live keynote, investor 1:1, or async share link? |\n| 2 | **Length target** - presentation time or slide count? (15 min: ~10 slides \u002F 30 min: ~20 slides \u002F 45 min: ~25-30 slides) |\n| 3 | **Source material** - what content is already ready: outline, doc, notes, data? |\n| 4 | **Images** - are screenshots, charts, logos, or product images available, or are gaps expected? |\n| 5 | **Hard constraints** - brand colors, required logo, PPTX required, any slides that must exist? |\n| 6 | **Format confirmation** - slides deck, or a one-pager that looks like a deck? |\n\n### Content rules for slides\n\n- No section divider slides: use `.eyebrow` for section numbering, not a dedicated blue-background page\n- No CJK parentheses: replace `（...）` with `·` or `,`\n- Each bullet fits one line: trim until it does\n- 2×2 layouts: use `table.t2x2`, not CSS Grid\n- Pinned conclusions: use `.co` at `position: absolute; bottom: 12mm`\n\n## Step 2.7 · Layout note (transparent, non-blocking)\n\nBefore loading specs and filling the template, write a short editor-style note stating the layout intent: template choice, length target, narrative arc, embedded diagrams, material status, and output formats. Match the document's language. Keep it under 80 words, written as prose, not a status panel. Continue immediately after; do not wait.\n\nExample (CN):\n\n> 排版意图：Equity Report 中文版，2 页 A4。先立论与目标价，进入估值 (DCF 与可比公司)，落于催化剂与风险。中段嵌一张营收趋势折线和 FY26 收入桥瀑布。Logo 已就位，产品图暂缺，header 改走纯文字。输出 HTML 与 PDF。\n\nExample (EN):\n\n> Layout intent: Equity Report (EN), two pages A4. Open with thesis and price target, run through valuation (DCF and comparables), close on catalysts and risks. A revenue line chart and an FY26 waterfall sit mid-doc. Logo is in hand; product image is absent, so the header stays text-only. Output: HTML and PDF.\n\nThe note is for transparency, not approval. If the user pushes back, adjust; otherwise proceed to Step 3.\n\n---\n\n## Step 3 · Load the right amount of spec\n\nPick the tier that matches the task. Default to the lowest tier that covers the work.\n\n| Tier | When | Read |\n|---|---|---|\n| **Content-only** | Updating text, swapping bullets, translating an existing doc. CSS stays untouched. | `CHEATSHEET.md` only |\n| **Layout tweak** | Adjusting spacing, moving sections, changing font size within spec. CSS touched. | `CHEATSHEET.md` + template (tokens already inline) |\n| **New document** | Building from scratch or from raw content. | Full design spec + writing spec + template |\n| **Resume content** | Resume-specific bullet structure, project framing, scope-result-outcome rules. | `resume-writing.md` + template |\n| **Sources \u002F materials** | Company, product, market, launch, funding, specs, or branded subject. | `writing.md` source rules + user\u002Fsource material |\n| **Deck (>20 slides)** | Long presentation needing Part Divider, Code Cards, section headers. | Full design spec + Deck Recipe (design.md section 8) |\n| **Troubleshoot** | Rendering bug, font issue, page overflow. | `production.md` (+ design spec if CSS is the cause) |\n| **Anti-patterns** | Reviewing AI-generated drafts before shipping. | `anti-patterns.md` (six-category checklist) |\n| **Diagram** | Embedding SVG in a doc. | `diagrams.md` only (has its own token map) |\n\nYou can always escalate mid-task if the work turns out to need more than the initial tier.\n\nThe full spec files for reference:\n- Design: `references\u002Fdesign.md`\n- Writing (general): `references\u002Fwriting.md`\n- Writing (resume-specific): `references\u002Fresume-writing.md`\n- Production: `references\u002Fproduction.md`\n- Diagrams: `references\u002Fdiagrams.md`\n- Anti-patterns: `references\u002Fanti-patterns.md`\n\n## Step 4 · Fill content into the template\n\n- Copy the template into your working directory; don't write HTML from scratch\n- **CSS stays untouched**, only edit the body\n- Content follows `writing.md`: data over adjectives, distinctive phrasing over industry clichés\n- Avoid patterns listed in `references\u002Fanti-patterns.md`: emptiness, fabrication, mimicry, excess, source gaps, tone contamination\n- **Before filling, read the quality bar for your document type** in `writing.md` section \"Quality bars by document type\". Structure is necessary but not sufficient: a resume bullet needs Action + Scope + Result + Business Outcome; an equity report needs variant perception + quantified catalysts; slides need assertion-evidence titles. Meeting the quality bar is as important as filling every placeholder.\n\n### Do not generate\n\nThese are the most common AI document failures. Cross-reference `references\u002Fanti-patterns.md` for the full list.\n\n- Do not leave placeholder text in the final document (\"Lorem ipsum\", \"[Insert here]\", \"TBD\")\n- Do not invent metrics, financial data, or statistics; mark gaps with `[DATA NEEDED: description]`\n- Do not use stock-image descriptions as image placeholders (\"A diverse team collaborating in a modern office\")\n- Do not pad content to fill template slots (a resume with 3 real projects does not need 5 fabricated ones)\n- Do not write a paragraph that merely restates its own heading in sentence form\n\n### Fill PDF metadata (WeasyPrint reads these into the PDF)\n\nEvery template has meta placeholders in `\u003Chead>`. Fill all four before building:\n\n| Placeholder (CN) | Placeholder (EN) | Rule |\n|---|---|---|\n| `{{作者}}` | `{{AUTHOR}}` | Resume\u002Fletter\u002Fportfolio: use the person's name from the doc. All others: leave as-is (build script infers from git config or env) |\n| `{{摘要}}` | `{{DESCRIPTION}}` | Extract one sentence (≤150 chars) from the first 2 paragraphs |\n| `{{关键词}}` | `{{KEYWORDS}}` | 3-5 keywords from the title + section headings, comma-separated |\n| `{{文档标题}}` \u002F `{{信件主题}}` etc. | `{{DOC_TITLE}}` \u002F `{{LETTER_SUBJECT}}` etc. | Infer from the H1 or `.header .title` text |\n\n`\u003Cmeta name=\"generator\" content=\"Kami\">` is already fixed in the template; do not change it.\n\n**Author inference**: `build.py` automatically sets PDF `\u002FAuthor` metadata from:\n1. `git config user.name` (primary)\n2. `KAMI_AUTHOR` environment variable (fallback)\n3. `\"Kami\"` (final fallback)\n\nFor personal documents (resume\u002Fletter\u002Fportfolio), the HTML `\u003Cmeta name=\"author\">` should match the person's name in the content. For non-personal documents (one-pager\u002Flong-doc), leave the placeholder as-is and let the build script infer it.\n\n## Step 4.5 · Auto-select output format\n\nDo not ask the user which format to export. Decide from context:\n\n| Signal | Output | Why |\n|---|---|---|\n| Any document request | HTML + PDF | PDF is the default deliverable, HTML is the source |\n| Slides \u002F PPT \u002F deck | HTML + PDF + PPTX | Presentations need a projectable format |\n| \"分享\" \u002F \"发朋友圈\" \u002F \"share\" \u002F \"post\" \u002F \"preview\" | + PNG | Social platforms and messaging need images |\n| \"嵌入\" \u002F \"插图\" \u002F \"embed in another doc\" | PNG only | Used as material inside other documents |\n| User explicitly says a format | Follow the user | Explicit request overrides auto-selection |\n\nPDF always ships. PPTX follows slides. PNG follows sharing context. The user should never need to think about formats.\n\n## Step 5 · Build & verify\n\n```bash\npython3 scripts\u002Fbuild.py --verify           # build all templates + page count + font check + slides\npython3 scripts\u002Fbuild.py --verify resume-en # single target full verification\npython3 scripts\u002Fbuild.py --verify slides    # single slide deck verification\npython3 scripts\u002Fbuild.py --check-placeholders path\u002Fto\u002Ffilled.html\npython3 scripts\u002Fbuild.py --check-density              # page whitespace scanner (skips cover)\npython3 scripts\u002Fbuild.py --check            # CSS rule violations only (fast, no build)\n```\n\nSource templates intentionally keep `{{...}}` fields. Run placeholder checks on completed documents, not on the template library.\n\nVisual anomalies (tag double rectangle, font fallback, page break issues) -> `production.md` Part 4.\n\n## Fonts\n\n**Chinese**\n- Main serif: TsangerJinKai02-W04.ttf (400 weight) + TsangerJinKai02-W05.ttf (500 weight, real bold)\n- Templates use dual @font-face declarations: W04 for body text, W05 for headings\n- Both files are commercial fonts. Keep them available in the repository for local preview and CDN fallback, but do not bundle them inside Claude Desktop skill ZIPs\n- Fallback chain baked into templates: Source Han Serif SC -> Noto Serif CJK SC -> Songti SC -> STSong -> Georgia\n\n**Japanese (best-effort)**\n- Uses CJK template path, no dedicated `-ja` templates yet\n- JP Mincho-first stack: YuMincho -> Hiragino Mincho ProN -> Noto Serif CJK JP -> Source Han Serif JP -> TsangerJinKai02 -> serif\n- Visually verify line breaks, punctuation rhythm, and emphasis weight before shipping\n\n**English**\n- Single serif: Charter (system-bundled, macOS\u002FiOS), used for both headlines and body\n- No separate sans: `--sans: var(--serif)`, one font per page\n- Fallback: Georgia (cross-platform) \u002F Palatino \u002F Times New Roman\n\nFont files next to HTML with relative `@font-face` paths is the most stable setup. `scripts\u002Fpackage-skill.sh` excludes TsangerJinKai TTFs from the Claude Desktop ZIP.\n\n**Font auto-recovery (Claude Desktop)**\n\nBefore building Chinese documents, ensure fonts are present. The script tries multiple CDN sources with retry and size validation:\n\n```bash\nbash scripts\u002Fensure-fonts.sh\n```\n\nRun once before building. If all sources fail, the script suggests installing Source Han Serif SC as fallback.\n\n## Feedback protocol\n\nWhen the user gives **vague visual feedback** (\"looks off\", \"太挤了\", \"not elegant\"), do not guess. Ask back with current values:\n\n| User says | Ask about |\n|---|---|\n| \"太挤了\" \u002F \"too cramped\" | Which element? Line-height (current: X)? Padding (current: Y)? Page margin? |\n| \"太松了\" \u002F \"too loose\" | Same direction, reversed |\n| \"颜色不对\" \u002F \"color feels wrong\" | Which element? Brand blue overused? A gray reading too cool? |\n| \"不够好看\" \u002F \"not polished\" | Font rendering? Alignment? Whitespace distribution? Hierarchy unclear? |\n| \"看着不专业\" \u002F \"unprofessional\" | Content wording? Or layout (alignment, consistency)? |\n\nTemplate response: \"X is currently set to Y. Would you like (a) [specific alternative within spec] or (b) [another option]?\"\n\nNever say \"I'll adjust the spacing\" without naming the exact property and its new value.\n\n---\n\n## When not to use this skill\n\n- User explicitly wants Material \u002F Fluent \u002F Tailwind default - different design language\n- Need dark \u002F cyberpunk \u002F futurist aesthetic (this is deliberately anti-future)\n- Need saturated multi-color (this has one accent)\n- Need cartoon \u002F animation \u002F illustration style (this is editorial)\n- Web dynamic app UI (this is for print \u002F static documents)\n\n---\n\nNext: **apply Step 3's tier table to decide what to read**, then copy the matching template and start filling.\n",{"name":5,"description":7},"main","17ee50c38aefa9426a89d7e8ee167fdc4c184fb7","agent-skills\u002Fkami",0,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983","2026-05-24 00:14:48",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add xuanxuan1983\u002Fhermes-skills-backup --skill kami",{"tool":56,"command":57},"bunx","bunx skills add xuanxuan1983\u002Fhermes-skills-backup --skill kami",{"tool":59,"command":60},"pnpm","pnpm dlx skills add xuanxuan1983\u002Fhermes-skills-backup --skill kami","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FSKILL.md",true,[64,70,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,226,230],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"AGENTS.md","REFERENCE","参考文档",9000,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FAGENTS.md",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"assets\u002Fdemos\u002Fdemo-agent-slides.html","ASSET","资产文件",22680,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-agent-slides.html",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002Fdemos\u002Fdemo-agent-slides.pdf",99001,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-agent-slides.pdf",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"assets\u002Fdemos\u002Fdemo-agent-slides.png",160076,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-agent-slides.png",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"assets\u002Fdemos\u002Fdemo-kaku.html",28546,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-kaku.html",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"assets\u002Fdemos\u002Fdemo-kaku.pdf",1120836,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-kaku.pdf",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"assets\u002Fdemos\u002Fdemo-kaku.png",88619,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-kaku.png",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"assets\u002Fdemos\u002Fdemo-musk-resume.html",24567,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-musk-resume.html",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"assets\u002Fdemos\u002Fdemo-musk-resume.pdf",344158,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-musk-resume.pdf",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"assets\u002Fdemos\u002Fdemo-musk-resume.png",427269,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-musk-resume.png",{"path":109,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":110,"sourceHtmlUrl":111},"assets\u002Fdemos\u002Fdemo-tesla.html",22843,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-tesla.html",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"assets\u002Fdemos\u002Fdemo-tesla.pdf",308955,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-tesla.pdf",{"path":117,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":118,"sourceHtmlUrl":119},"assets\u002Fdemos\u002Fdemo-tesla.png",320533,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fdemo-tesla.png",{"path":121,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":122,"sourceHtmlUrl":123},"assets\u002Fdemos\u002Fequity-report-en.png",377325,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdemos\u002Fequity-report-en.png",{"path":125,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":126,"sourceHtmlUrl":127},"assets\u002Fdiagrams\u002Farchitecture.html",9355,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Farchitecture.html",{"path":129,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":130,"sourceHtmlUrl":131},"assets\u002Fdiagrams\u002Fbar-chart.html",8501,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fbar-chart.html",{"path":133,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":134,"sourceHtmlUrl":135},"assets\u002Fdiagrams\u002Fcandlestick.html",10233,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fcandlestick.html",{"path":137,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":138,"sourceHtmlUrl":139},"assets\u002Fdiagrams\u002Fdonut-chart.html",7941,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fdonut-chart.html",{"path":141,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":142,"sourceHtmlUrl":143},"assets\u002Fdiagrams\u002Fflowchart.html",7863,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fflowchart.html",{"path":145,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":146,"sourceHtmlUrl":147},"assets\u002Fdiagrams\u002Flayer-stack.html",8113,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Flayer-stack.html",{"path":149,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":150,"sourceHtmlUrl":151},"assets\u002Fdiagrams\u002Fline-chart.html",10317,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fline-chart.html",{"path":153,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":154,"sourceHtmlUrl":155},"assets\u002Fdiagrams\u002Fquadrant.html",7855,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fquadrant.html",{"path":157,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":158,"sourceHtmlUrl":159},"assets\u002Fdiagrams\u002Fstate-machine.html",9711,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fstate-machine.html",{"path":161,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":162,"sourceHtmlUrl":163},"assets\u002Fdiagrams\u002Fswimlane.html",9026,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fswimlane.html",{"path":165,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":166,"sourceHtmlUrl":167},"assets\u002Fdiagrams\u002Ftimeline.html",7356,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Ftimeline.html",{"path":169,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":170,"sourceHtmlUrl":171},"assets\u002Fdiagrams\u002Ftree.html",10167,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Ftree.html",{"path":173,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":174,"sourceHtmlUrl":175},"assets\u002Fdiagrams\u002Fvenn.html",5777,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fvenn.html",{"path":177,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":178,"sourceHtmlUrl":179},"assets\u002Fdiagrams\u002Fwaterfall.html",9150,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fassets\u002Fdiagrams\u002Fwaterfall.html",{"path":181,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":182,"sourceHtmlUrl":183},"CHEATSHEET.md",15993,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FCHEATSHEET.md",{"path":185,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":186,"sourceHtmlUrl":187},"CLAUDE.md",272,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FCLAUDE.md",{"path":189,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":190,"sourceHtmlUrl":191},"index-en.html",485,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Findex-en.html",{"path":193,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":194,"sourceHtmlUrl":195},"index-ja.html",44388,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Findex-ja.html",{"path":197,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":198,"sourceHtmlUrl":199},"index-zh.html",42233,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Findex-zh.html",{"path":201,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":202,"sourceHtmlUrl":203},"index.html",41947,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Findex.html",{"path":205,"resourceType":205,"resourceTypeDesc":206,"sizeBytes":207,"sourceHtmlUrl":15},"LICENSE","许可证",1061,{"path":209,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":210,"sourceHtmlUrl":211},"llms.txt",1599,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fllms.txt",{"path":213,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":214,"sourceHtmlUrl":215},"README.md",9396,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002FREADME.md",{"path":217,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":218,"sourceHtmlUrl":219},"robots.txt",708,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Frobots.txt",{"path":221,"resourceType":222,"resourceTypeDesc":223,"sizeBytes":224,"sourceHtmlUrl":225},"sitemap.xml","OTHER","其他",879,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fsitemap.xml",{"path":227,"resourceType":222,"resourceTypeDesc":223,"sizeBytes":228,"sourceHtmlUrl":229},"styles.css",26759,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fstyles.css",{"path":231,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":232,"sourceHtmlUrl":233},"vercel.json",121,"https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fagent-skills\u002Fkami\u002Fvercel.json",[235,261,281,296,309,328],{"skillNo":236,"name":237,"nameZh":6,"description":238,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":239,"categories":240,"keywords":241,"publishedAt":38},"01M71JFHVW1W4XE013TY9ZYN9P","writing-plans","Use when you have a spec or requirements for a multi-step task. Creates comprehensive implementation plans with bite-sized tasks, exact file paths, and complete code examples.","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[242,243,244,245,246,247,31,248,249,250,251,252,253,254,255,256,257,258,259,260],"writing","writing plans","plans","test-driven","test-driven-development","superpowers","when","workflow","you","code","tasks","subagent","code-review","review","documentation","paths","planning","development","for",{"skillNo":262,"name":246,"nameZh":6,"description":263,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":264,"categories":265,"keywords":266,"publishedAt":38},"01M71JFF859RV0XGWS206X1TMB","Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle with test-first approach.","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[267,259,268,269,270,271,272,273,274,275,247,242,276,248,251,253,277,278,279,280],"test driven development","test","driven","test-first","green","cycle","red-green-refactor","testing","implementing","debugging","systematic","bugfix","refactor","systematic-debugging",{"skillNo":282,"name":280,"nameZh":6,"description":283,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":284,"categories":285,"keywords":286,"publishedAt":38},"01M71JFCA5S48PZ5M7DG31R8K5","Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[287,276,277,245,288,289,246,247,242,248,253,290,291,259,292,293,244,294,295,268],"systematic debugging","problem","problem-solving","phase","bug","fixes","root cause","use","root-cause",{"skillNo":297,"name":298,"nameZh":6,"description":299,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":300,"categories":301,"keywords":302,"publishedAt":38},"01M71JF9RQ092KM5ZXCBBT6FS1","subagent-driven-development","Use when executing implementation plans with independent tasks. Dispatches fresh delegate_task per task with two-stage review (spec compliance then code quality).","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[303,253,259,269,245,246,304,305,247,242,248,249,251,252,254,255,306,307,308,244],"subagent driven development","delegate","delegation","fresh","parallel","code quality",{"skillNo":310,"name":311,"nameZh":6,"description":312,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":313,"categories":314,"keywords":315,"publishedAt":38},"01M71JF76DA8ARZ4JRYR4VBRWM","requesting-code-review","Pre-commit verification pipeline — static security scan, baseline-aware quality gates, independent reviewer subagent, and auto-fix loop. Use after code changes and before committing, pushing, or opening a PR.","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Frequesting-code-review\u002FSKILL.md",[],[316,317,251,255,245,318,319,246,320,321,247,322,242,323,324,325,253,254,326,327],"code review","requesting code review","pipeline","static","fix","auto-fix","auto","loop","security scan","commit","reviewer","verification",{"skillNo":329,"name":330,"nameZh":6,"description":331,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":332,"categories":333,"keywords":334,"publishedAt":38},"01M71JF52HZT5VQXFVF9K2H76K","plan","Plan mode for Hermes — inspect context, write a markdown plan into the active workspace's `.hermes\u002Fplans\u002F` directory, and do not execute the work.","https:\u002F\u002Fgithub.com\u002Fxuanxuan1983\u002Fhermes-skills-backup\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fplan\u002FSKILL.md",[],[330,335,336,258,259,260,337,338,244,242,249,253,339,340,341,342,343,344,345,346],"plan-mode","do","inspect","mode","work","markdown","active","directory","workspace","plan mode","write","implementation"]