[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSRDNSKEKK1NTPWPN88DP2":3,"skill-same:01M7CSRDNSKEKK1NTPWPN88DP2":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7CSRDNSKEKK1NTPWPN88DP2","analiz-html-report",null,"Use when you write or revise the analiz deliverable - the ONE self-contained HTML report (spec and plan as sections) a human reviews passage by passage","makifbaysal\u002Ftasktrooper","makifbaysal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25031940?v=4","01M7CRG3ZCSYZSSEVDMW3DEYC8","Mehmet Akif Baysal","01M7CRG401FJ8YAXH5ER730XYV",122,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fsystem-architect\u002Fskills\u002Fanaliz-html-report\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: analiz-html-report\ncategory: architecture\ndescription: Use when you write or revise the analiz deliverable - the ONE self-contained HTML report (spec and plan as sections) a human reviews passage by passage\n---\n# Analiz HTML Report\n\n## Overview\n\nAn analiz task produces exactly ONE document: an analysis report written as a self-contained HTML page, attached with `add_task_document` and `format: \"html\"`, titled `analiz: \u003CYYYY-MM-DD> \u003Ctopic>`. The design (what spec-authoring describes) and the implementation plan (what implementation-plan-authoring describes) are SECTIONS of this report — never separate `spec: …` \u002F `plan: …` documents.\n\nThe human reads the report in the task drawer, selects passages and comments on them, then sends every comment back at once. That shapes how you write it:\n\n- **Every claim a reviewer might question is plain text** — a paragraph, a table cell, a list item. Text inside an SVG or an image cannot be selected and commented on, so a diagram illustrates a point the prose already makes; it never carries a decision alone.\n- **Every section and every plan step has a stable `id`** (`summary`, `context`, `design`, `plan`, `step-3`, …). A revision keeps them; the implementation tasks you create later can cite `#step-3`, and a reviewer's comments stay findable.\n- **Developers read it as text.** Implementation tasks derived from this analysis get the report's text rendition in their run context (headings, paragraphs, lists, table rows, code blocks — markup dropped). Structure it so that rendition reads well: real headings, real lists, real tables.\n- **Open questions are not part of this document.** A genuine product decision the code can't settle is recorded with `record_open_questions` (open-questions-protocol), never written here and never asked with `ask_user`. The system renders every open question as an answer box above this report automatically — the `risks` section below is risks only.\n\n## Required sections (in this order, with these ids)\n\n1. **`summary` — Summary.** What is being built and why, in 3–6 sentences, then one `callout decision` stating the chosen approach. A reviewer who reads only this knows what they are approving.\n2. **`context` — Context & current state.** What exists today, grounded in code you read: a table of real file paths and symbols (`internal\u002Fapplication\u002Ftask\u002Fservice.go` — `TaskService.ListByProject`) with what each does now. No path or symbol you did not see in this run.\n3. **`design` — Proposed design.** Components with exact interfaces (names, parameter and return types), data flow, error handling, what the user sees, and the 2–3 approaches you weighed with the one-line reason the chosen one won. A decision worth remembering (new dependency, datastore\u002Fschema shape, API\u002Fcontract pattern, auth\u002Fsecurity architecture, cross-repo integration) gets a `\u003Ch3 id=\"design-decision\">` decision record (spec-authoring); skip it for a bug fix or config change. A **Security & data** subsection names who may call each new interface, which inputs are attacker-controlled, and what data leaves the system. Out-of-scope items are listed explicitly.\n4. **`diagrams` — Diagrams** (only where they help: a request flow, a state machine, a component boundary). Inline `\u003Csvg>` with a `\u003Ctitle>` — its title is what the text rendition shows. Omit the section rather than draw a box that restates a sentence.\n5. **`plan` — Implementation plan.** Numbered steps (`\u003Col class=\"steps\">`, each `\u003Cli id=\"step-N\">`): files to create\u002Fmodify\u002Ftest with exact paths, the interfaces each step consumes and produces, and the TDD cycle with the actual test code and the command to run. No placeholders — \"add error handling\", \"similar to step 2\" and \"TBD\" are plan failures (implementation-plan-authoring).\n6. **`split` — Task split.** One row per project\u002Frepository: the repository, the layer, the one-line scope of its implementation task, the plan steps it owns, and its order (`blocked_by` \u002F `deploy_depends_on`). This is what the human is approving you to create.\n7. **`risks` — Risks.** Each risk with its mitigation. Open questions do not go here (or anywhere in the HTML) — record them with `record_open_questions` instead (open-questions-protocol); the system renders them above the report as answer boxes.\n\n## HTML rules\n\n- One complete document: `\u003C!DOCTYPE html>`, `\u003Chtml>`, `\u003Chead>` with `\u003Cmeta charset=\"utf-8\">` and an inline `\u003Cstyle>`, `\u003Cbody>`.\n- **No `\u003Cscript>`, no external fonts, stylesheets, scripts or images.** Everything the page needs is inline. The server sanitizes on save and removes scripts, iframes, objects\u002Fembeds, `\u003Clink>`, `\u003Cbase>`, forms and form controls, every `on*` attribute and `javascript:` URLs — anything that depends on them silently disappears.\n- Images only as `data:image\u002F…` URIs, and only when a screenshot is the evidence; prefer inline SVG.\n- Light and dark: colours are CSS variables with a `prefers-color-scheme: dark` override, as in the template. Never hard-code a text colour on a background you did not also set.\n- Size: derived tasks and the reviewer get the report's TEXT rendition cut at 24,000 bytes from the end — `plan` and `split` are the first to go. After attaching, call `list_task_documents` with this task, the `document_id` and `limit: 22000` (text, not raw): if the result carries `next_offset`, the report is too long — cut code bodies to signatures and test assertions (implementation-plan-authoring) and shorten `context`, then check again. HTML itself stays under ~150 KB (hard limit 1 MB) — summarize, cite files and symbols instead of pasting them, keep code blocks to the lines that matter.\n\n## Template\n\nStart from this and fill it in. Keep the class names — the styles already cover callouts, tables, code and step lists.\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n\u003Cmeta charset=\"utf-8\">\n\u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\u003Ctitle>analiz: 2026-09-26 CSV export\u003C\u002Ftitle>\n\u003Cstyle>\n:root{--bg:#fff;--fg:#1f2328;--muted:#59636e;--line:#d1d9e0;--panel:#f6f8fa;--accent:#0969da;--ok:#1a7f37;--warn:#9a6700;--risk:#cf222e;\n--sans:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n@media (prefers-color-scheme:dark){:root{--bg:#0d1117;--fg:#e6edf3;--muted:#9198a1;--line:#3d444d;--panel:#151b23;--accent:#4493f8;--ok:#3fb950;--warn:#d29922;--risk:#f85149}}\n*{box-sizing:border-box}\nbody{margin:0;background:var(--bg);color:var(--fg);font:15px\u002F1.6 var(--sans)}\nmain{max-width:920px;margin:0 auto;padding:32px 24px 64px}\nh1{font-size:26px;line-height:1.25;margin:0 0 4px}\nh2{font-size:20px;margin:40px 0 12px;padding-bottom:6px;border-bottom:1px solid var(--line)}\nh3{font-size:16px;margin:24px 0 8px}\na{color:var(--accent)}\n.meta{color:var(--muted);font-size:13px;margin-bottom:20px}\nnav.toc{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 16px;font-size:14px}\nnav.toc ol{margin:0;padding-left:20px}\ncode{font:13px\u002F1.5 var(--mono);background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:0 4px}\npre{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px 14px;overflow:auto}\npre code{border:0;padding:0;background:none}\ntable{width:100%;border-collapse:collapse;font-size:14px;margin:12px 0}\nth,td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:6px 8px}\nth{color:var(--muted);font-weight:600}\n.callout{border-left:4px solid var(--accent);background:var(--panel);border-radius:6px;padding:10px 14px;margin:14px 0}\n.callout.decision{border-left-color:var(--ok)}.callout.warn{border-left-color:var(--warn)}.callout.risk{border-left-color:var(--risk)}\nol.steps{list-style:none;padding:0;counter-reset:step}\nol.steps>li{counter-increment:step;position:relative;border:1px solid var(--line);border-radius:8px;padding:12px 14px 12px 50px;margin:12px 0}\nol.steps>li::before{content:counter(step);position:absolute;left:14px;top:12px;width:24px;height:24px;border-radius:50%;background:var(--accent);color:var(--bg);font:600 13px\u002F24px var(--sans);text-align:center}\nol.steps h3{margin-top:0}\n.tag{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:0 8px;font-size:12px;color:var(--muted)}\nfigure{margin:16px 0}figcaption{color:var(--muted);font-size:13px}\nsvg{max-width:100%;height:auto}\nsvg text{fill:var(--fg);font:12px var(--sans)}\nsvg .node{fill:var(--panel);stroke:var(--line)}\nsvg .edge{stroke:var(--muted);stroke-width:1.5;fill:none}\n\u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\u003Cmain>\n\u003Cheader id=\"top\">\n  \u003Ch1>CSV export of a project's tasks\u003C\u002Fh1>\n  \u003Cdiv class=\"meta\">analiz · A-12 · 2026-09-26 · repositories: backend-api, web\u003C\u002Fdiv>\n\u003C\u002Fheader>\n\u003Cnav class=\"toc\">\u003Col>\n  \u003Cli>\u003Ca href=\"#summary\">Summary\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"#context\">Context &amp; current state\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca href=\"#design\">Proposed design\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"#diagrams\">Diagrams\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca href=\"#plan\">Implementation plan\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"#split\">Task split\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca href=\"#risks\">Risks\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Fol>\u003C\u002Fnav>\n\n\u003Csection id=\"summary\">\n  \u003Ch2>Summary\u003C\u002Fh2>\n  \u003Cp>Project owners need their tasks in a spreadsheet. …\u003C\u002Fp>\n  \u003Cdiv class=\"callout decision\">\u003Cstrong>Decision:\u003C\u002Fstrong> build the CSV in an application service and stream it from a new endpoint; the web board gets a download button.\u003C\u002Fdiv>\n\u003C\u002Fsection>\n\n\u003Csection id=\"context\">\n  \u003Ch2>Context &amp; current state\u003C\u002Fh2>\n  \u003Ctable>\n    \u003Cthead>\u003Ctr>\u003Cth>Where\u003C\u002Fth>\u003Cth>What it does today\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n    \u003Ctbody>\u003Ctr>\u003Ctd>\u003Ccode>internal\u002Fapplication\u002Ftask\u002Fservice.go\u003C\u002Fcode> — \u003Ccode>TaskService.ListByProject\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Returns a project's tasks, newest first; used by the board page.\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\n  \u003C\u002Ftable>\n\u003C\u002Fsection>\n\n\u003Csection id=\"design\">\n  \u003Ch2>Proposed design\u003C\u002Fh2>\n  \u003Ch3 id=\"design-components\">Components\u003C\u002Fh3>\n  \u003Cp>\u003Ccode>TaskExporter.Export(ctx, projectID uuid.UUID) ([]byte, error)\u003C\u002Fcode> — …\u003C\u002Fp>\n  \u003Ch3 id=\"design-alternatives\">Alternatives considered\u003C\u002Fh3>\n  \u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Approach\u003C\u002Fth>\u003Cth>Why not\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Stream from the handler\u003C\u002Ftd>\u003Ctd>Untestable without HTTP.\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\n  \u003Ch3 id=\"design-decision\">Decision record\u003C\u002Fh3>\n  \u003Cp>\u003Cstrong>Problem:\u003C\u002Fstrong> need a reusable, testable export path. \u003Cstrong>Drivers:\u003C\u002Fstrong> testability without HTTP, reuse by a future scheduled export. \u003Cstrong>Chosen:\u003C\u002Fstrong> an application service returning bytes, because it is unit-testable and the handler stays thin. \u003Cstrong>Consequences:\u003C\u002Fstrong> Good, because tests don't need an HTTP harness. Bad, because large exports hold the full CSV in memory (mitigated in risks).\u003C\u002Fp>\n  \u003Ch3 id=\"design-security\">Security &amp; data\u003C\u002Fh3>\n  \u003Cp>Only the project's owner may call the export endpoint (reuses the existing project-scoped auth middleware); no new data leaves the system beyond what the user already sees in the board.\u003C\u002Fp>\n  \u003Cp>\u003Cstrong>Out of scope:\u003C\u002Fstrong> PDF, scheduled export, column selection.\u003C\u002Fp>\n\u003C\u002Fsection>\n\n\u003Csection id=\"diagrams\">\n  \u003Ch2>Diagrams\u003C\u002Fh2>\n  \u003Cfigure id=\"fig-flow\">\n    \u003Csvg viewBox=\"0 0 560 90\" role=\"img\" aria-label=\"Export request flow\">\n      \u003Ctitle>Export request flow\u003C\u002Ftitle>\n      \u003Crect class=\"node\" x=\"10\" y=\"25\" width=\"140\" height=\"40\" rx=\"6\"\u002F>\u003Ctext x=\"80\" y=\"50\" text-anchor=\"middle\">GET \u002Fexport\u003C\u002Ftext>\n      \u003Cpath class=\"edge\" d=\"M150 45H210\"\u002F>\n      \u003Crect class=\"node\" x=\"210\" y=\"25\" width=\"140\" height=\"40\" rx=\"6\"\u002F>\u003Ctext x=\"280\" y=\"50\" text-anchor=\"middle\">TaskExporter\u003C\u002Ftext>\n      \u003Cpath class=\"edge\" d=\"M350 45H410\"\u002F>\n      \u003Crect class=\"node\" x=\"410\" y=\"25\" width=\"140\" height=\"40\" rx=\"6\"\u002F>\u003Ctext x=\"480\" y=\"50\" text-anchor=\"middle\">TaskRepository\u003C\u002Ftext>\n    \u003C\u002Fsvg>\n    \u003Cfigcaption>The handler validates the id; the exporter owns the CSV shape.\u003C\u002Ffigcaption>\n  \u003C\u002Ffigure>\n\u003C\u002Fsection>\n\n\u003Csection id=\"plan\">\n  \u003Ch2>Implementation plan\u003C\u002Fh2>\n  \u003Col class=\"steps\">\n    \u003Cli id=\"step-1\">\n      \u003Ch3>TaskExporter service \u003Cspan class=\"tag\">backend-api\u003C\u002Fspan>\u003C\u002Fh3>\n      \u003Cp>\u003Cstrong>Files:\u003C\u002Fstrong> create \u003Ccode>internal\u002Fapplication\u002Fexport\u002Fservice.go\u003C\u002Fcode>; test \u003Ccode>internal\u002Fapplication\u002Fexport\u002Fservice_test.go\u003C\u002Fcode>\u003C\u002Fp>\n      \u003Cp>\u003Cstrong>Consumes:\u003C\u002Fstrong> \u003Ccode>TaskRepository.ListByProject(ctx, id) ([]Task, error)\u003C\u002Fcode> · \u003Cstrong>Produces:\u003C\u002Fstrong> \u003Ccode>Export(ctx, projectID uuid.UUID) ([]byte, error)\u003C\u002Fcode>\u003C\u002Fp>\n      \u003Cp>\u003Cstrong>Failing test first:\u003C\u002Fstrong>\u003C\u002Fp>\n      \u003Cpre>\u003Ccode>func (s *ExportSuite) TestExport_encodesHeaderAndRows() { … }\u003C\u002Fcode>\u003C\u002Fpre>\n      \u003Cp>\u003Cstrong>Run:\u003C\u002Fstrong> \u003Ccode>go test .\u002Finternal\u002Fapplication\u002Fexport\u002F... -run TestExport\u003C\u002Fcode> → FAIL, implement, → PASS.\u003C\u002Fp>\n    \u003C\u002Fli>\n  \u003C\u002Fol>\n\u003C\u002Fsection>\n\n\u003Csection id=\"split\">\n  \u003Ch2>Task split\u003C\u002Fh2>\n  \u003Ctable>\n    \u003Cthead>\u003Ctr>\u003Cth>Repository\u003C\u002Fth>\u003Cth>Layer\u003C\u002Fth>\u003Cth>Task\u003C\u002Fth>\u003Cth>Steps\u003C\u002Fth>\u003Cth>Order\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n    \u003Ctbody>\u003Ctr>\u003Ctd>backend-api\u003C\u002Ftd>\u003Ctd>backend\u003C\u002Ftd>\u003Ctd>Export endpoint and service\u003C\u002Ftd>\u003Ctd>1–2\u003C\u002Ftd>\u003Ctd>first\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\n  \u003C\u002Ftable>\n\u003C\u002Fsection>\n\n\u003Csection id=\"risks\">\n  \u003Ch2>Risks\u003C\u002Fh2>\n  \u003Cdiv class=\"callout risk\">\u003Cstrong>Risk:\u003C\u002Fstrong> large projects — mitigation: stream rows, cap at 50k.\u003C\u002Fdiv>\n\u003C\u002Fsection>\n\u003C\u002Fmain>\u003C\u002Fbody>\u003C\u002Fhtml>\n```\n\n## Revising the report\n\nThe report is revised in place, never replaced. After a review (the task comes back from `need_revision`):\n\n1. Read the comments — they are in your run context under \"Review comments on your analysis document\", and `list_document_annotations` (status `submitted`) returns them all with the quoted passage.\n2. Read the report's source: `list_task_documents` with the analiz task, its `document_id` and `raw: true`; follow `next_offset` until you have all of it.\n3. Fix every comment at its root — re-read the code where a comment questions a fact — with `update_task_document` on the same `document_id`: `edits` (each `old_text` copied exactly from the source, occurring once) for targeted changes, `content` for a rewrite. Keep the section and step ids, and keep the document's TITLE unchanged — a new date in the title creates a second document instead of revising this one, since `add_task_document`\u002F`update_task_document` match by exact title. Do not touch `split` unless a comment or a code re-read gives you a reason to — the human already approved its shape once.\n4. Answer every comment with `resolve_document_annotations`: one line per comment saying what changed and where (`\"Switched to a cron job — see #design and #step-2\"`), or why you deliberately kept it.\n\n## Self-review (before the run ends)\n\n- All seven sections present with their ids; the `plan` steps are `step-1…step-N`.\n- **Grounding pass** — before attaching, re-verify every claim, not just that you made some exploration call earlier: every path in `context` and `plan` exists (`get_repo_tree`\u002F`grep_code`) or the step says *create*; every consumed symbol's signature matches what `get_symbol_skeleton` shows now; every third-party call matches the version locked in the lockfile; every verify command appears in `list_component_checks` or `get_project_brief`. Anything you cannot verify this way is removed from the plan; if it's a risk worth flagging, note it in `risks`; if only the human can decide it, record it with `record_open_questions` (open-questions-protocol) — never left in as an assumption.\n- No `\u003Cscript>`, no external URL in `\u003Clink>`\u002F`\u003Cimg>`\u002F`@import`\u002Ffonts.\n- Every decision and requirement is readable as text, not only inside a diagram.\n- Nothing is readable two ways; no TBD\u002FTODO; the `split` table matches the plan's steps.\n","# Analiz HTML Report\n\n## Overview\n\nAn analiz task produces exactly ONE document: an analysis report written as a self-contained HTML page, attached with `add_task_document` and `format: \"html\"`, titled `analiz: \u003CYYYY-MM-DD> \u003Ctopic>`. The design (what spec-authoring describes) and the implementation plan (what implementation-plan-authoring describes) are SECTIONS of this report — never separate `spec: …` \u002F `plan: …` documents.\n\nThe human reads the report in the task drawer, selects passages and comments on them, then sends every comment back at once. That shapes how you write it:\n\n- **Every claim a reviewer might question is plain text** — a paragraph, a table cell, a list item. Text inside an SVG or an image cannot be selected and commented on, so a diagram illustrates a point the prose already makes; it never carries a decision alone.\n- **Every section and every plan step has a stable `id`** (`summary`, `context`, `design`, `plan`, `step-3`, …). A revision keeps them; the implementation tasks you create later can cite `#step-3`, and a reviewer's comments stay findable.\n- **Developers read it as text.** Implementation tasks derived from this analysis get the report's text rendition in their run context (headings, paragraphs, lists, table rows, code blocks — markup dropped). Structure it so that rendition reads well: real headings, real lists, real tables.\n- **Open questions are not part of this document.** A genuine product decision the code can't settle is recorded with `record_open_questions` (open-questions-protocol), never written here and never asked with `ask_user`. The system renders every open question as an answer box above this report automatically — the `risks` section below is risks only.\n\n## Required sections (in this order, with these ids)\n\n1. **`summary` — Summary.** What is being built and why, in 3–6 sentences, then one `callout decision` stating the chosen approach. A reviewer who reads only this knows what they are approving.\n2. **`context` — Context & current state.** What exists today, grounded in code you read: a table of real file paths and symbols (`internal\u002Fapplication\u002Ftask\u002Fservice.go` — `TaskService.ListByProject`) with what each does now. No path or symbol you did not see in this run.\n3. **`design` — Proposed design.** Components with exact interfaces (names, parameter and return types), data flow, error handling, what the user sees, and the 2–3 approaches you weighed with the one-line reason the chosen one won. A decision worth remembering (new dependency, datastore\u002Fschema shape, API\u002Fcontract pattern, auth\u002Fsecurity architecture, cross-repo integration) gets a `\u003Ch3 id=\"design-decision\">` decision record (spec-authoring); skip it for a bug fix or config change. A **Security & data** subsection names who may call each new interface, which inputs are attacker-controlled, and what data leaves the system. Out-of-scope items are listed explicitly.\n4. **`diagrams` — Diagrams** (only where they help: a request flow, a state machine, a component boundary). Inline `\u003Csvg>` with a `\u003Ctitle>` — its title is what the text rendition shows. Omit the section rather than draw a box that restates a sentence.\n5. **`plan` — Implementation plan.** Numbered steps (`\u003Col class=\"steps\">`, each `\u003Cli id=\"step-N\">`): files to create\u002Fmodify\u002Ftest with exact paths, the interfaces each step consumes and produces, and the TDD cycle with the actual test code and the command to run. No placeholders — \"add error handling\", \"similar to step 2\" and \"TBD\" are plan failures (implementation-plan-authoring).\n6. **`split` — Task split.** One row per project\u002Frepository: the repository, the layer, the one-line scope of its implementation task, the plan steps it owns, and its order (`blocked_by` \u002F `deploy_depends_on`). This is what the human is approving you to create.\n7. **`risks` — Risks.** Each risk with its mitigation. Open questions do not go here (or anywhere in the HTML) — record them with `record_open_questions` instead (open-questions-protocol); the system renders them above the report as answer boxes.\n\n## HTML rules\n\n- One complete document: `\u003C!DOCTYPE html>`, `\u003Chtml>`, `\u003Chead>` with `\u003Cmeta charset=\"utf-8\">` and an inline `\u003Cstyle>`, `\u003Cbody>`.\n- **No `\u003Cscript>`, no external fonts, stylesheets, scripts or images.** Everything the page needs is inline. The server sanitizes on save and removes scripts, iframes, objects\u002Fembeds, `\u003Clink>`, `\u003Cbase>`, forms and form controls, every `on*` attribute and `javascript:` URLs — anything that depends on them silently disappears.\n- Images only as `data:image\u002F…` URIs, and only when a screenshot is the evidence; prefer inline SVG.\n- Light and dark: colours are CSS variables with a `prefers-color-scheme: dark` override, as in the template. Never hard-code a text colour on a background you did not also set.\n- Size: derived tasks and the reviewer get the report's TEXT rendition cut at 24,000 bytes from the end — `plan` and `split` are the first to go. After attaching, call `list_task_documents` with this task, the `document_id` and `limit: 22000` (text, not raw): if the result carries `next_offset`, the report is too long — cut code bodies to signatures and test assertions (implementation-plan-authoring) and shorten `context`, then check again. HTML itself stays under ~150 KB (hard limit 1 MB) — summarize, cite files and symbols instead of pasting them, keep code blocks to the lines that matter.\n\n## Template\n\nStart from this and fill it in. Keep the class names — the styles already cover callouts, tables, code and step lists.\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n\u003Cmeta charset=\"utf-8\">\n\u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\u003Ctitle>analiz: 2026-09-26 CSV export\u003C\u002Ftitle>\n\u003Cstyle>\n:root{--bg:#fff;--fg:#1f2328;--muted:#59636e;--line:#d1d9e0;--panel:#f6f8fa;--accent:#0969da;--ok:#1a7f37;--warn:#9a6700;--risk:#cf222e;\n--sans:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n@media (prefers-color-scheme:dark){:root{--bg:#0d1117;--fg:#e6edf3;--muted:#9198a1;--line:#3d444d;--panel:#151b23;--accent:#4493f8;--ok:#3fb950;--warn:#d29922;--risk:#f85149}}\n*{box-sizing:border-box}\nbody{margin:0;background:var(--bg);color:var(--fg);font:15px\u002F1.6 var(--sans)}\nmain{max-width:920px;margin:0 auto;padding:32px 24px 64px}\nh1{font-size:26px;line-height:1.25;margin:0 0 4px}\nh2{font-size:20px;margin:40px 0 12px;padding-bottom:6px;border-bottom:1px solid var(--line)}\nh3{font-size:16px;margin:24px 0 8px}\na{color:var(--accent)}\n.meta{color:var(--muted);font-size:13px;margin-bottom:20px}\nnav.toc{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 16px;font-size:14px}\nnav.toc ol{margin:0;padding-left:20px}\ncode{font:13px\u002F1.5 var(--mono);background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:0 4px}\npre{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px 14px;overflow:auto}\npre code{border:0;padding:0;background:none}\ntable{width:100%;border-collapse:collapse;font-size:14px;margin:12px 0}\nth,td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:6px 8px}\nth{color:var(--muted);font-weight:600}\n.callout{border-left:4px solid var(--accent);background:var(--panel);border-radius:6px;padding:10px 14px;margin:14px 0}\n.callout.decision{border-left-color:var(--ok)}.callout.warn{border-left-color:var(--warn)}.callout.risk{border-left-color:var(--risk)}\nol.steps{list-style:none;padding:0;counter-reset:step}\nol.steps>li{counter-increment:step;position:relative;border:1px solid var(--line);border-radius:8px;padding:12px 14px 12px 50px;margin:12px 0}\nol.steps>li::before{content:counter(step);position:absolute;left:14px;top:12px;width:24px;height:24px;border-radius:50%;background:var(--accent);color:var(--bg);font:600 13px\u002F24px var(--sans);text-align:center}\nol.steps h3{margin-top:0}\n.tag{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:0 8px;font-size:12px;color:var(--muted)}\nfigure{margin:16px 0}figcaption{color:var(--muted);font-size:13px}\nsvg{max-width:100%;height:auto}\nsvg text{fill:var(--fg);font:12px var(--sans)}\nsvg .node{fill:var(--panel);stroke:var(--line)}\nsvg .edge{stroke:var(--muted);stroke-width:1.5;fill:none}\n\u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\u003Cmain>\n\u003Cheader id=\"top\">\n  \u003Ch1>CSV export of a project's tasks\u003C\u002Fh1>\n  \u003Cdiv class=\"meta\">analiz · A-12 · 2026-09-26 · repositories: backend-api, web\u003C\u002Fdiv>\n\u003C\u002Fheader>\n\u003Cnav class=\"toc\">\u003Col>\n  \u003Cli>\u003Ca href=\"#summary\">Summary\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"#context\">Context &amp; current state\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca href=\"#design\">Proposed design\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"#diagrams\">Diagrams\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca href=\"#plan\">Implementation plan\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"#split\">Task split\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca href=\"#risks\">Risks\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Fol>\u003C\u002Fnav>\n\n\u003Csection id=\"summary\">\n  \u003Ch2>Summary\u003C\u002Fh2>\n  \u003Cp>Project owners need their tasks in a spreadsheet. …\u003C\u002Fp>\n  \u003Cdiv class=\"callout decision\">\u003Cstrong>Decision:\u003C\u002Fstrong> build the CSV in an application service and stream it from a new endpoint; the web board gets a download button.\u003C\u002Fdiv>\n\u003C\u002Fsection>\n\n\u003Csection id=\"context\">\n  \u003Ch2>Context &amp; current state\u003C\u002Fh2>\n  \u003Ctable>\n    \u003Cthead>\u003Ctr>\u003Cth>Where\u003C\u002Fth>\u003Cth>What it does today\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n    \u003Ctbody>\u003Ctr>\u003Ctd>\u003Ccode>internal\u002Fapplication\u002Ftask\u002Fservice.go\u003C\u002Fcode> — \u003Ccode>TaskService.ListByProject\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Returns a project's tasks, newest first; used by the board page.\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\n  \u003C\u002Ftable>\n\u003C\u002Fsection>\n\n\u003Csection id=\"design\">\n  \u003Ch2>Proposed design\u003C\u002Fh2>\n  \u003Ch3 id=\"design-components\">Components\u003C\u002Fh3>\n  \u003Cp>\u003Ccode>TaskExporter.Export(ctx, projectID uuid.UUID) ([]byte, error)\u003C\u002Fcode> — …\u003C\u002Fp>\n  \u003Ch3 id=\"design-alternatives\">Alternatives considered\u003C\u002Fh3>\n  \u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Approach\u003C\u002Fth>\u003Cth>Why not\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Stream from the handler\u003C\u002Ftd>\u003Ctd>Untestable without HTTP.\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\n  \u003Ch3 id=\"design-decision\">Decision record\u003C\u002Fh3>\n  \u003Cp>\u003Cstrong>Problem:\u003C\u002Fstrong> need a reusable, testable export path. \u003Cstrong>Drivers:\u003C\u002Fstrong> testability without HTTP, reuse by a future scheduled export. \u003Cstrong>Chosen:\u003C\u002Fstrong> an application service returning bytes, because it is unit-testable and the handler stays thin. \u003Cstrong>Consequences:\u003C\u002Fstrong> Good, because tests don't need an HTTP harness. Bad, because large exports hold the full CSV in memory (mitigated in risks).\u003C\u002Fp>\n  \u003Ch3 id=\"design-security\">Security &amp; data\u003C\u002Fh3>\n  \u003Cp>Only the project's owner may call the export endpoint (reuses the existing project-scoped auth middleware); no new data leaves the system beyond what the user already sees in the board.\u003C\u002Fp>\n  \u003Cp>\u003Cstrong>Out of scope:\u003C\u002Fstrong> PDF, scheduled export, column selection.\u003C\u002Fp>\n\u003C\u002Fsection>\n\n\u003Csection id=\"diagrams\">\n  \u003Ch2>Diagrams\u003C\u002Fh2>\n  \u003Cfigure id=\"fig-flow\">\n    \u003Csvg viewBox=\"0 0 560 90\" role=\"img\" aria-label=\"Export request flow\">\n      \u003Ctitle>Export request flow\u003C\u002Ftitle>\n      \u003Crect class=\"node\" x=\"10\" y=\"25\" width=\"140\" height=\"40\" rx=\"6\"\u002F>\u003Ctext x=\"80\" y=\"50\" text-anchor=\"middle\">GET \u002Fexport\u003C\u002Ftext>\n      \u003Cpath class=\"edge\" d=\"M150 45H210\"\u002F>\n      \u003Crect class=\"node\" x=\"210\" y=\"25\" width=\"140\" height=\"40\" rx=\"6\"\u002F>\u003Ctext x=\"280\" y=\"50\" text-anchor=\"middle\">TaskExporter\u003C\u002Ftext>\n      \u003Cpath class=\"edge\" d=\"M350 45H410\"\u002F>\n      \u003Crect class=\"node\" x=\"410\" y=\"25\" width=\"140\" height=\"40\" rx=\"6\"\u002F>\u003Ctext x=\"480\" y=\"50\" text-anchor=\"middle\">TaskRepository\u003C\u002Ftext>\n    \u003C\u002Fsvg>\n    \u003Cfigcaption>The handler validates the id; the exporter owns the CSV shape.\u003C\u002Ffigcaption>\n  \u003C\u002Ffigure>\n\u003C\u002Fsection>\n\n\u003Csection id=\"plan\">\n  \u003Ch2>Implementation plan\u003C\u002Fh2>\n  \u003Col class=\"steps\">\n    \u003Cli id=\"step-1\">\n      \u003Ch3>TaskExporter service \u003Cspan class=\"tag\">backend-api\u003C\u002Fspan>\u003C\u002Fh3>\n      \u003Cp>\u003Cstrong>Files:\u003C\u002Fstrong> create \u003Ccode>internal\u002Fapplication\u002Fexport\u002Fservice.go\u003C\u002Fcode>; test \u003Ccode>internal\u002Fapplication\u002Fexport\u002Fservice_test.go\u003C\u002Fcode>\u003C\u002Fp>\n      \u003Cp>\u003Cstrong>Consumes:\u003C\u002Fstrong> \u003Ccode>TaskRepository.ListByProject(ctx, id) ([]Task, error)\u003C\u002Fcode> · \u003Cstrong>Produces:\u003C\u002Fstrong> \u003Ccode>Export(ctx, projectID uuid.UUID) ([]byte, error)\u003C\u002Fcode>\u003C\u002Fp>\n      \u003Cp>\u003Cstrong>Failing test first:\u003C\u002Fstrong>\u003C\u002Fp>\n      \u003Cpre>\u003Ccode>func (s *ExportSuite) TestExport_encodesHeaderAndRows() { … }\u003C\u002Fcode>\u003C\u002Fpre>\n      \u003Cp>\u003Cstrong>Run:\u003C\u002Fstrong> \u003Ccode>go test .\u002Finternal\u002Fapplication\u002Fexport\u002F... -run TestExport\u003C\u002Fcode> → FAIL, implement, → PASS.\u003C\u002Fp>\n    \u003C\u002Fli>\n  \u003C\u002Fol>\n\u003C\u002Fsection>\n\n\u003Csection id=\"split\">\n  \u003Ch2>Task split\u003C\u002Fh2>\n  \u003Ctable>\n    \u003Cthead>\u003Ctr>\u003Cth>Repository\u003C\u002Fth>\u003Cth>Layer\u003C\u002Fth>\u003Cth>Task\u003C\u002Fth>\u003Cth>Steps\u003C\u002Fth>\u003Cth>Order\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n    \u003Ctbody>\u003Ctr>\u003Ctd>backend-api\u003C\u002Ftd>\u003Ctd>backend\u003C\u002Ftd>\u003Ctd>Export endpoint and service\u003C\u002Ftd>\u003Ctd>1–2\u003C\u002Ftd>\u003Ctd>first\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\n  \u003C\u002Ftable>\n\u003C\u002Fsection>\n\n\u003Csection id=\"risks\">\n  \u003Ch2>Risks\u003C\u002Fh2>\n  \u003Cdiv class=\"callout risk\">\u003Cstrong>Risk:\u003C\u002Fstrong> large projects — mitigation: stream rows, cap at 50k.\u003C\u002Fdiv>\n\u003C\u002Fsection>\n\u003C\u002Fmain>\u003C\u002Fbody>\u003C\u002Fhtml>\n```\n\n## Revising the report\n\nThe report is revised in place, never replaced. After a review (the task comes back from `need_revision`):\n\n1. Read the comments — they are in your run context under \"Review comments on your analysis document\", and `list_document_annotations` (status `submitted`) returns them all with the quoted passage.\n2. Read the report's source: `list_task_documents` with the analiz task, its `document_id` and `raw: true`; follow `next_offset` until you have all of it.\n3. Fix every comment at its root — re-read the code where a comment questions a fact — with `update_task_document` on the same `document_id`: `edits` (each `old_text` copied exactly from the source, occurring once) for targeted changes, `content` for a rewrite. Keep the section and step ids, and keep the document's TITLE unchanged — a new date in the title creates a second document instead of revising this one, since `add_task_document`\u002F`update_task_document` match by exact title. Do not touch `split` unless a comment or a code re-read gives you a reason to — the human already approved its shape once.\n4. Answer every comment with `resolve_document_annotations`: one line per comment saying what changed and where (`\"Switched to a cron job — see #design and #step-2\"`), or why you deliberately kept it.\n\n## Self-review (before the run ends)\n\n- All seven sections present with their ids; the `plan` steps are `step-1…step-N`.\n- **Grounding pass** — before attaching, re-verify every claim, not just that you made some exploration call earlier: every path in `context` and `plan` exists (`get_repo_tree`\u002F`grep_code`) or the step says *create*; every consumed symbol's signature matches what `get_symbol_skeleton` shows now; every third-party call matches the version locked in the lockfile; every verify command appears in `list_component_checks` or `get_project_brief`. Anything you cannot verify this way is removed from the plan; if it's a risk worth flagging, note it in `risks`; if only the human can decide it, record it with `record_open_questions` (open-questions-protocol) — never left in as an assumption.\n- No `\u003Cscript>`, no external URL in `\u003Clink>`\u002F`\u003Cimg>`\u002F`@import`\u002Ffonts.\n- Every decision and requirement is readable as text, not only inside a diagram.\n- Nothing is readable two ways; no TBD\u002FTODO; the `split` table matches the plan's steps.\n",{"name":5,"category":24,"description":7},"architecture","main","910394a0b6db9fc8c9a8f36328ec421d3ebd8b38","catalog\u002Fagents\u002Fsystem-architect\u002Fskills\u002Fanaliz-html-report",18,"https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper","https:\u002F\u002Ftasktrooper.ai","https:\u002F\u002Fgithub.com\u002Fmakifbaysal","Senior Software Developer","2026-11-15 04:50:29",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add makifbaysal\u002Ftasktrooper --skill analiz-html-report",{"tool":40,"command":41},"bunx","bunx skills add makifbaysal\u002Ftasktrooper --skill analiz-html-report",{"tool":43,"command":44},"pnpm","pnpm dlx skills add makifbaysal\u002Ftasktrooper --skill analiz-html-report","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fsystem-architect\u002Fskills\u002Fanaliz-html-report\u002FSKILL.md",true,[],[49,55,62,69,76,83],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CSVEPQW6J6TD6CS2T5FPNZ","visual-craft","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fvisual-craft\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CSVAQG91ETHQ0HBNZDG5FR","ux-copy","Use when you write any words a user reads in a mockup or a hand-off - content language and voice, buttons, labels, errors, empty states, confirmations, numbers and dates, and the longest-string check","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fux-copy\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CSV6H0J38659NDXHJQ8396","screen-mockup-html","Use when you draw screens as the design task's HTML mockup - ONE canvas document holding every screen and every variant side by side, the sanitizer-safe recipe, phone and wide frames, the states grid, static control states, and the loopback self-check with screenshots at 375, 768 and 1440 attached to the task","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fscreen-mockup-html\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CSV3JFRF3BM3XK52M7YEYR","performance-awareness","How the performance score moves for your role. Use when the score context shows a declining trend, or before handing off work you have not self-checked against every criterion.","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fperformance-awareness\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CSTZDH00YRF5SCT7BRT9QD","design-variants","Use when a screen design needs variants - how many, variants as side-by-side rows on the one canvas, what makes two variants genuinely different, recommending one, how the human's choice is read, and narrowing to the chosen one in revision","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-variants\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CSTV6P3SM3PAE28DB0RF77","design-system-authoring","Use when you derive, change or extend a design system - where tokens live per stack, the DTCG token tree, role-based names for both themes, base vs layer vs drift, the DESIGN.md section order, the inventory format, the contrast check and the lint every proposal returns","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-system-authoring\u002FSKILL.md",[],[]]