基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/pskoett/pmx-canvas --skill data-analysis命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Spatial canvas workbench for visual thinking — nodes, edges, groups on an infinite 2D canvas with pan/zoom, minimap, and real-time sync. Use this skill whenever you need to lay out information spatially: investigation boards, architecture diagrams, dependency maps, task plans, status dashboards, file relationship views, or any scenario where a flat list or text wall isn't enough. Also use when the user mentions "canvas", "board", "diagram", "spatial layout", "visual map", "node graph", or wants to see how things connect. The canvas is your extended working memory — pin nodes to curate context, read spatial arrangement to understand intent.
Repo-standard test and verification workflow for PMX Canvas. Use when you change code, add tests, debug regressions, prepare handoff, or need to decide which local verification commands to run. This skill defines the default test ladder, when to run Bun tests vs. browser tests, how to handle pre-existing failures, and what evidence to report back.
Suite of tools for creating elaborate, multi-component single-file HTML web artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
| name | data-analysis |
| description | Analytics synthesis with visualizations from engineering and product data sources |
| version | 0.1.0 |
| author | pmx |
| tags | ["analytics","data","charts","visualization","metrics"] |
| tools | ["dx-data-cloud","jira/linear","github","workiq"] |
| inputs | [{"name":"question","description":"The analysis question to answer (e.g. \"How has PR cycle time changed over the last quarter?\")","required":true},{"name":"data_sources","description":"Array of MCP server names to query for data","required":false,"default":["dx-data-cloud"]},{"name":"format","description":"Output format for the analysis","required":false,"default":"markdown","enum":["markdown","html"]},{"name":"include_charts","description":"Whether to include visual charts in the output","required":false,"default":true}] |
| outputs | [{"name":"analysis","description":"Data analysis with findings, tables, charts (if HTML), interpretation, and recommendations"}] |
Perform analytics synthesis across engineering and product data sources. Answer questions about trends, correlations, comparisons, and distributions by querying MCP servers, analyzing the data, and presenting findings with visualizations.
In pmx-canvas, prefer canvas_render { action: "add-graph" } for charts and trend lines and
canvas_render { action: "add-json-render" } when the analysis should land as a richer dashboard
or table inside the canvas.
For chart design and color choices, apply the tufte-viz skill (skills/tufte-viz/SKILL.md): color
must encode data, not decorate. Single-series bar charts default to one accent with the key bar
highlighted (colorBy: series); opt into category/value only when color carries a variable.
Prefer sparkline/dot-plot/bullet/slopegraph and direct labels over legends; use small
multiples for more than ~4 overlapping series.
Analyze the user's question to determine:
If the question is ambiguous, ask clarifying questions before proceeding.
Query the relevant MCP servers:
queryData tool in current session)Primary source for engineering metrics:
Query using SQL against the DX Data Cloud PostgreSQL database. Tool prefixes vary by deployment (dx-data-cloud vs dx-mcp), so select the available DX queryData tool at runtime. Start with information_schema if unsure of available tables and columns.
Issue and sprint data:
Code and collaboration data:
Collaboration and time data:
Based on the analysis type identified in Step 1:
# Analysis: [Question Restated]
**Period**: [time range]
**Data Sources**: [list of sources queried]
**Generated**: [timestamp]
## Key Findings
1. [Finding 1 - the most important insight]
2. [Finding 2]
3. [Finding 3]
## Data
### [Metric Name] Over Time
| Period | Value | Change |
|--------|-------|--------|
| Week 1 | X | - |
| Week 2 | Y | +Z% |
| ... | ... | ... |
### Summary Statistics
- Mean: X
- Median: Y
- Min: Z (period)
- Max: W (period)
- Standard Deviation: V
## Interpretation
[What the data means in plain language. Connect findings to
business context. Explain why the trends matter.]
## Recommendations
1. [Actionable recommendation based on the data]
2. [Another recommendation]
## Methodology
[Brief note on data sources, time ranges, and any caveats
about data quality or completeness]
Generate a self-contained HTML file with:
Include Chart.js via CDN link in the HTML head.
Following the PMX vibe rules, always present data in this order:
Never lead with interpretation. Let the numbers speak first.
Prompt: "How has our PR cycle time changed over the last quarter?"
Expected behavior:
Output includes:
Prompt: "Analyze the correlation between meeting load and developer productivity"
Expected behavior:
Prompt: "Compare velocity across the last 4 sprints"
Expected behavior:
Prompt: "What is the breakdown of issues by type this quarter?"
Expected behavior:
Prompt: "Is there a relationship between our deployment frequency and bug reports?"
Expected behavior:
Prompt: "Give me an overview of engineering health metrics"
Expected behavior:
If unsure which tables or columns are available in DX Data Cloud, start with:
SELECT table_name, column_name, data_type
FROM information_schema.columns
WHERE table_schema = 'public'
ORDER BY table_name, ordinal_position;
This helps discover the available data before writing analysis queries.