porter-reporting
Porter Metrics UX/UI assembly layer — how to build any deliverable (report, dashboard, presentation, audit) from data. Defines document types, the component…
от portermetricsample★ 22 звезды на GitHub
Установить porter-reporting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Porter Reporting — router
This is the assembly layer: how Porter interfaces get built. It owns behavior, structure
and data; the appearance is owned by porter-design. The rules below are NOT duplicated
here on purpose — read them live from this skill's own files (bundled alongside this router, under
_foundation/, document-types/ and templates/) so they're always current.
The one boundary rule
Does the thing know about data or document structure? No (pure appearance) → Porter Design (
porter-design/porter-design-systemskill). Yes (takes data, arranges, composes, has behavior) → Porter Reporting (here).
Reporting consumes Design's tokens; never invents colors or fonts. A hex or font name inside
a component is wrong — pull it from ~/porter-design/dist/porter-tokens.css and set
data-theme on <body> (the 4 official themes; default white).
Start here
- Building a full report? Start at the Report outline in
component-contract.md— the skeleton (header → exec summary → body sections → next steps → footer) and heading hierarchy. Then fill each body section by mapping oneporter-analysisuse case → one section. - Need one component? Jump straight to its rule in
component-contract.md(table, tooltip, scorecard, chart, callout…).
Read SOLO the file your task needs (these are the source of truth)
| Task | Read this |
|---|---|
| Full report skeleton + heading hierarchy (start here) | _foundation/component-contract.md → "Report outline" |
| Component behavior defaults (table, tooltip, scorecard, states, number format, SUMAS render) | _foundation/component-contract.md |
| Foundation principles (audience, hierarchy, always-compare, …) | _foundation/principles.md |
| Design ↔ Reporting boundary (full) | _foundation/design-system.md |
| Shape of the inputs | _foundation/input-contract.md |
| A document type | document-types/{report,dashboard,presentation,audit}/README.md |
| A reference template (start any report from one) | templates/executive-report-white/ (all 4 themes live in templates/) |
How to deliver
- Disposable mock / proof → static HTML linking
~/porter-design/dist/porter-tokens.csswithdata-theme="white". Start from a reference template intemplates/. - Production → components that consume the design system; sparklines/charts from Design's
porter-charts.js, never hand-rolled.
Keep this file a thin router. New rules go in
_foundation/, never inline here — that's what keeps the skill and the repo from drifting apart.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .gitignore
- README.md
- RULES.md
- _foundation/component-contract.md
- _foundation/design-system.md
- _foundation/input-contract.md
- _foundation/principles.md
- _template/README.md
- cards/README.md
- cards/_card-template.html
- cards/assets/brand/porter-mark.png
- cards/assets/brand/porter-wordmark.png
- cards/assets/connectors/ga4-color.svg
- cards/assets/connectors/ga4.svg
- cards/assets/connectors/google-color.svg
- cards/assets/connectors/google_ads-icon.svg
- cards/assets/connectors/google_sheets.svg
- cards/assets/connectors/gsc-color.svg
- cards/assets/connectors/hubspot.svg
- cards/assets/connectors/instagram.svg
- cards/assets/connectors/meta.svg
- cards/assets/connectors/shopify.svg
- cards/assets/connectors/wordpress-color.svg
- cards/components/AccountStructureTree/AccountStructureTree.card.html
- cards/components/AlignmentJourney/AlignmentJourney.card.html
- cards/components/BrandIncrementality/BrandIncrementality.card.html
- cards/components/BreakdownMatrix/BreakdownMatrix.card.html
- cards/components/ContributionSankey/ContributionSankey.card.html
- cards/components/FinancialOverview/FinancialOverview.card.html
- cards/components/ImpressionShareCompetitiveness/ImpressionShareCompetitiveness.card.html
- cards/components/ImpressionShareTrendMonitor/ImpressionShareTrendMonitor.card.html
- cards/components/PerformanceDriverTree/PerformanceDriverTree.card.html
- cards/components/SearchTermNgrams/SearchTermNgrams.card.html
- cards/components/SearchTermsPage/SearchTermsPage.card.html
- cards/dashboards/AudienceDashboardWhite/AudienceDashboardWhite.card.html
- cards/dashboards/MarketingDashboardWhite/MarketingDashboardWhite.card.html
- cards/porter-charts.js
- cards/reports/ExecutiveReportWhite/ExecutiveReportWhite.card.html
- cards/slides/ReportSlidesWhite/ReportSlidesWhite.card.html
- cards/styles.css
FAQ
Что делает скилл porter-reporting?
Porter Metrics UX/UI assembly layer — how to build any deliverable (report, dashboard, presentation, audit) from data. Defines document types, the component contract (table, tooltip, scorecard, states, SUMAS funnel render), and the boundary with the design system. Use it whenever you build a Porter report/dashboard/deck/audit, render the output of the funnel-metrics or financial-overview skills, or decide how a data component should behave. Pairs with porter-design-system (appearance) and porter-analysis (what to measure).
Как установить скилл porter-reporting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл porter-reporting запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…