agentsclimarketplace

Html report

Skill modu-ai/cowork-plugins/moai-content/skills/html-report

마크다운 보고서를 그대로 브라우저에서 열리는 단일 파일 HTML로 바꿔 드립니다. 외부 라이브러리 없이 한 파일로 완결돼 이메일 첨부·인쇄·오프라인 열람이 됩니다. 다음과 같은 요청 시 사용하세요: - "이 보고서 HTML 파일로 만들어줘" - "주간 현황 보고서를 하나의 HTML로 렌더해줘" - "재무제표를 HTML 보고서로 변환해줘" - "인시던트 리포트를 HTML로 정리해줘" - "프린트 가능한 사업계획서 HTML로 만들어줘" - "이메일에 붙일 수 있는 HTML 리포트 만들어줘" 현황·인시던트·사업계획·설명서·재무·PR 6종 서식을 갖췄고, 보고서 종류에 맞춰 자동으로 골라 줍니다. PDF 파일이 필요하면 생성한 HTML을 moai-office:pdf-writer로 넘겨 디자인 그대로 PDF로 변환하세요 (weasyprint를 직접 설치·호출하지 말 것).From its SKILL.md

Install
npx -y skills add modu-ai/cowork-plugins --skill html-report

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

13.8 KB, ~4.5k tokens by cl100k_base, as published. Nobody here has run it

html-report — 단일 파일 HTML 보고서 렌더러

목적과 범위

moai-content:html-report는 cowork 텍스트 산출 파이프라인의 터미널 렌더러입니다. moai-bi:executive-summary, moai-finance:financial-statements, moai-business:sbiz365-analyst 등이 생성한 마크다운 보고서를 단일 파일·자체 완결형(self-contained) HTML로 변환합니다.

핵심 원칙:

  • 외부 JS 라이브러리(Chart.js, D3, htmx) 0 의존
  • 외부 CSS 프레임워크(Tailwind, Bootstrap) 0 의존
  • 인라인 SVG로 차트 직접 렌더링
  • 한국어 가독성을 위한 폰트 CDN 단일 예외 허용

이 스킬은 마크다운 출력을 대체하지 않습니다. 마크다운은 단일 진실(source of truth)로 유지되며, HTML 렌더링은 추가 분기로만 작동합니다.


입력

인자필수기본값설명
markdown변환할 마크다운 본문
modestatus | incident | plan | explainer | financial | pr
design_system(미지정 시 0의존 기본 템플릿)claude | clickhouse | clay 또는 design-system-library의 75개 시스템. 지정 시 Tailwind Play CDN + shadcn vanilla 컴포넌트로 해당 브랜드 토큰 적용 (인터넷 연결 필요)
slug제목에서 자동 생성출력 파일명 prefix
output_path<cwd>/reports/<slug>-<YYYYMMDD>.html출력 경로
font_stack모드별 기본값폰트 매핑 오버라이드

출력

단일 .html 파일 (<cwd>/reports/<slug>-<YYYYMMDD>.html):

  • 크기: ≤ 50KB (폰트 CDN 트래픽 제외, 본문 압축 전 기준)
  • 외부 의존성: 폰트 CDN <link> 1건 + preconnect 2건 (한국어 폰트)
  • 자체 완결형: 브라우저에서 바로 열기 가능, 이메일 첨부·오프라인 사용 가능

6개 모드

구현된 모드

모드구조 섹션대상 스킬
status메트릭 카드 4개 · 하이라이트 · 완료 테이블 · Velocity SVG 막대 차트 · Carryovermoai-bi:executive-summary, moai-business:daily-briefing
incidentTL;DR 다크 배너 · 타임라인 · 로그 발췌 <details> · 코드 diff 패널 · 영향 테이블 · 액션 체크리스트moai-legal:compliance-check
plan요약 KPI 스트립 · 마일스톤 수직 타임라인 · 데이터 플로우 SVG · 슬라이스 테이블 · 리스크 그리드 · 성공 지표moai-business:sbiz365-analyst
explainer사이드 네비 · <details> 접이식 단계 · 탭 코드 블록(vanilla JS) · FAQ 아코디언 · 콜아웃 박스moai-research:*, moai-education:*
financialKPI 카드 4개 · 손익계산서 테이블(항목/당기/전기/증감/증감률) · Variance SVG 수평 막대 차트 · 주석 패널moai-finance:financial-statements
prTL;DR · PR 메타 행(파일수·+/−·브랜치) · Before/After 2단 카드 · 파일 투어 <details> · 핵심 포인트 · 테스트 체크리스트 · 롤아웃 단계moai-business:investor-relations

모드별 입력 항목 요약

각 서식이 채우는 주요 항목입니다(템플릿 내부 변수명 기준).

모드주요 입력 항목
status{{title}}, {{#metrics}}, {{#highlights}}, {{#completed_rows}}, {{#chart_bars}}
incident{{inc_id}}, {{severity}}, {{title}}, {{#tl_entries}}, {{#impact_rows}}, {{#actions}}
plan{{title}}, {{#kpis}}, {{#milestones}}, {{diagram_svg}}, {{#slices}}, {{#risks}}, {{#metrics}}
explainer{{title}}, {{lead}}, {{#steps}}, {{#config_tabs}}, {{#faq_items}}
financial{{title}}, {{period}}, {{#kpis}}, {{#statement_rows}}, {{chart_height}}, {{#variance_bars}}
pr{{pr_ref}}, {{title}}, {{author}}, {{branch}}, {{files_changed}}, {{additions}}, {{deletions}}, {{#focus_items}}, {{#test_items}}, {{#rollout_steps}}

한국어 폰트 정책

본 스킬은 한국어 가독성을 위해 단일 폰트 CDN <link>를 유일한 외부 의존성으로 허용합니다.

시스템 폰트만 사용하면 OS별 폴백(macOS: Apple SD Gothic Neo, Windows: Malgun Gothic)으로 일관성이 깨지므로, 폰트 CDN은 필수입니다.

모드별 폰트 매핑

모드sans (본문)serif (제목)mono (코드)
status / financial / prPretendardPretendard 700JetBrains Mono
incidentPretendardPretendard 700JetBrains Mono
planPretendardNoto Serif KRJetBrains Mono
explainerNoto Sans KRNoto Serif KRJetBrains Mono
editorialPretendard조선일보명조JetBrains Mono
legalKoPubWorld BatangKoPubWorld Batang BoldJetBrains Mono

상세 CDN URL 및 preconnect 패턴: references/fonts.md


디자인 토큰 (CSS 변수 계약)

모든 모드는 :root에 동일한 CSS 변수 8개를 선언합니다.

:root {
  /* 팔레트 */
  --ivory: #FAF9F5;   /* 배경 warm off-white */
  --paper: #FFFFFF;   /* 카드·패널 배경 */
  --slate: #141413;   /* 본문 텍스트 warm black */
  --clay:  #D97757;   /* 강조·링크 terracotta */
  --clay-d:#B85C3E;   /* clay hover 상태 */
  --oat:   #E3DACC;   /* 보조 배경·구분선 light tan */
  --olive: #788C5D;   /* 보조 강조 sage green */

  /* 폰트 */
  --sans:  "Pretendard", system-ui, -apple-system, sans-serif;
  --serif: "Pretendard", ui-serif, Georgia, serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* 레이아웃 */
  --max-width:    860px;
  --radius-panel: 12px;
  --radius-row:   8px;
  --border:       1.5px solid var(--g300);
}

그레이 스케일: --g100: #F0EEE6, --g300: #D1CFC5, --g500: #87867F, --g700: #3D3D3A

상세 명도 대비 검증표 및 인쇄 토큰: references/design-tokens.md


디자인 시스템 적용 (design_system 파라미터)

design_system 입력을 지정하면 moai-design:design-system-library에서 브랜드 토큰을 로드해 Tailwind Play CDN + shadcn vanilla 컴포넌트로 렌더합니다.

두 가지 렌더 엔진 (하위 호환 유지):

design_system엔진외부 의존산출물 특성
미지정0의존 (기존 템플릿)폰트 CDN 1건만이메일 첨부·오프라인·인쇄 가능 단일 파일
claude / clickhouse / clay / 75개Tailwind Play CDNTailwind CDN + 폰트 CDN브랜드 무드 적용, 인터넷 연결 필요

3개 기본 테마 자동 추천

모드추천 design_system
status / plan / prclaude (warm editorial)
incident / 기술 리포트clickhouse (다크 엔지니어링)
explainer / 마케팅clay (playful saturated)
financialclaude (편집성·신뢰)

적용 절차

  1. design_system 값으로 systems/<name>.md 토큰 로드
  2. mapping/tailwind.md 규칙으로 tailwind.config 객체 생성
  3. shadcn vanilla 컴포넌트(card/button/table/badge)로 구조 치환
  4. 단일 파일 HTML로 출력 (CDN script + config + 마크업)

주의: design_system 지정 산출물은 Tailwind Play CDN을 런타임 로드하므로 오프라인에서는 스타일이 적용되지 않습니다. 오프라인·인쇄·이메일 첨부 용도라면 design_system을 미지정(0의존 템플릿)하세요.


체인 통합 권장

[텍스트 스킬] → moai-core:ai-slop-reviewer → moai-content:humanize-korean → moai-content:html-report (서식 선택)

최소 체인 (빠른 렌더링):

[텍스트 스킬] → moai-content:html-report (서식 선택)

브랜드 디자인 시스템 적용 체인:

[텍스트 스킬] → ai-slop-reviewer → html-report (design_system: clickhouse)

design_system 지정 시 moai-design:design-system-library에서 토큰을 자동 로드합니다 — 별도 선행 스킬 호출 불필요.


사용 예시

예시 1: 주간 현황 보고서

경영 요약 결과를 받아서 한울 엔지니어링 11주차 현황 보고서 HTML로 만들어줘.

예시 2: 재무제표 HTML 보고서

재무제표 결과를 HTML 보고서로 변환해줘.

예시 3: 인시던트 리포트

결제 게이트웨이 502 장애 내용을 정리해서 인시던트 리포트 HTML로 만들어줘. 심각도는 SEV-2.

예시 4: PR 설명 문서

PR #312 실시간 알림 채널 통합 내용을 HTML 리뷰 문서로 만들어줘.

하지 않는 것

  • 마크다운 기본 출력을 대체하지 않습니다 — HTML은 추가 렌더링 분기입니다.
  • React / Vue / Tailwind CDN / Chart.js / D3 같은 외부 라이브러리를 쓰지 않습니다.
  • 빌드 단계(webpack, vite, esbuild)를 도입하지 않습니다.
  • 슬라이드는 moai-office:pptx-designer, 독립 차트는 moai-data:data-visualizer가 맡습니다.
  • 여러 파일로 나누지 않습니다 — 모든 산출물은 단일 .html 파일입니다.

참고 문서

설계 문서

템플릿

샘플 출력

설계 참고: Thariq Shihipar, "The Unreasonable Effectiveness of HTML" — 외부 라이브러리 없이 HTML 한 파일로 끝내는 접근의 출처.


P1 컨슈머 통합

4개 P1 컨슈머 스킬의 마크다운 출력을 html-report 템플릿으로 렌더링한 통합 테스트 결과입니다.

컨슈머 스킬적합 모드입력 파일렌더링 출력호환성
moai-bi:executive-summarystatusreferences/integration-tests/executive-summary-input.mdreferences/integration-tests/executive-summary-rendered.html★★★★☆ (4/5)
moai-finance:financial-statementsfinancialreferences/integration-tests/financial-statements-input.mdreferences/integration-tests/financial-statements-rendered.html★★★★☆ (4/5)
moai-business:sbiz365-analystplanreferences/integration-tests/sbiz365-analyst-input.mdreferences/integration-tests/sbiz365-analyst-rendered.html★★★★☆ (4/5)
moai-business:daily-briefingstatus (daily variant)references/integration-tests/daily-briefing-input.mdreferences/integration-tests/daily-briefing-rendered.html★★★★☆ (4/5)

상세 호환성 분석: references/integration-tests/COMPATIBILITY.md

What ships with it: 23 files

304.0 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.