[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BFCDH9Z63K4ND9MXB07H5":3,"skill-same:01M69BFCDH9Z63K4ND9MXB07H5":146},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":67},"01M69BFCDH9Z63K4ND9MXB07H5","core","分析师内置能力与工具","The analyst's built-in capabilities: data-inspection tools and the always-available actions (visualize and ask_user).","分析师的内置能力：数据检查工具以及始终可用的操作（可视化 visualize 和询问用户 ask_user）。","microsoft\u002Fdata-formulator","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BF44TK0TP41QE6EZXBGRY",17682,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fcore\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师","PROFESSION","适用职业",[5,31,32],"python","visualize","2026-11-10 10:12:30",false,"---\nname: core\ndescription: >-\n  The analyst's built-in capabilities: data-inspection tools and the\n  always-available actions (visualize and ask_user).\nwhen_to_use: Always loaded by default — this is the agent's baseline.\nalways_on: true\ntools:\n  - execute_python_script\n  - inspect_source_data\nactions:\n  - visualize\n  - ask_user\n---\n\n# Core capabilities\n\nThis describes the built-in **inspection tools** you use to gather data and the\nalways-available **actions** you take on it. The overall loop, your action\nbudget, and the one-action-per-turn rule are covered in your system\ninstructions — this section is about *what* each tool and action does and how\nto use it well.\n\n## Tools (for data gathering)\n\n- **execute_python_script(code)** — run a general-purpose Python script to\n  inspect data, compute stats, transform tables, or verify assumptions. Its\n  stdout is returned to you (use `print()`); the script is for *your* analysis\n  and its output is never shown to the user. pandas, numpy, duckdb, sklearn,\n  scipy are available. **Important**: each call runs in a fresh namespace —\n  variables do NOT persist between calls, so combine related steps into a\n  single script.\n- **inspect_source_data(table_names)** — get schema, stats, and sample rows for\n  source tables (cheaper than `execute_python_script` for basic inspection).\n- **load_skill(name)** — load a skill's instructions into context so you can use\n  the action it unlocks (see the Skills section of your system instructions).\n\nThese are inspection tools — their results come back to you and are never shown\nto the user; call as many as you need, then take an action or give your final\nanswer.\n\nYou analyse data that is **already in the workspace**. If the user's question\nrequires connected data that isn't present, call `load_skill(\"data-loading\")`\nand follow that skill's discovery and immutable proposal workflow in this same\nconversation. Do not hand off to the standalone Data Loading agent.\n\nThe initial context already includes sample rows and statistics for each table.\nIf the data is straightforward, go straight to the action without calling\ntools. Tool results are returned to you before you act.\n\n## Actions\n\nCall an action as a tool call when you want to act on the data. Actions are\n**sequential**: take **one at a time**, then read the result it returns before\ndeciding the next — each action's outcome shapes the next one (the chart you draw\nnext depends on what this one reveals), so emitting several at once would decide\nthe later ones blind. After each result you choose what to do — take another\naction, or stop. **You end your turn by replying with plain text and no\naction**: that is your closing answer when you expect nothing further. When you\nwant the user to reply — a freeform question, a clarification you need before\nacting, or **clickable choices** — use the `ask_user` action instead. It renders\na question widget and pauses for their reply, keeping the conversation in the\nsame turn (plain text ends the run, so the user's next message would start\nfresh without this context).\n\n**Match the response to what the user asked for.** Two different cases:\n\n- **A direct answer** — they asked a question, so answer it. Length follows the\n  question: one line when that settles it, more when it genuinely takes more.\n- **A finding after you acted** — they asked for the work, not a write-up, so\n  this is unsolicited. The artifact already shows what it shows; add only what\n  they'd miss by looking at it, and default to short.\n\nOpen with the point rather than announcing one is coming, and don't close by\nrestating what you just said.\nNever narrate what you're about to do or recap a chart's axes; let the artifact\nspeak for itself. When an action pauses for the user, give enough context to\nexplain what you found and what their choices mean.\n\n### `visualize` — chart a transform\n\nRun code that produces a DataFrame and render it as a chart. You then observe the\nresult and decide your next move.\n\n- `display_instruction` — ≤12 words; the question\u002Fhypothesis the chart\n  investigates (don't recap x\u002Fy\u002Fcolor — those are visible). Wrap a **column** in\n  `**…**` if it anchors the question.\n- `title` — a concise, neutral analytical heading naming the subject, measure,\n  and analytical lens, such as “Year-over-year price change peaks.” Prefer a\n  stable description of the view over a takeaway claim or narrated trend. Do\n  not mention the chart type, imply causality, or editorialize. This field is\n  required; put interpretation in the closing response instead.\n- `subtitle` — concise supporting context not already clear from the title or\n  axes. Use one phrase of at most 16 words to provide contextual details. Do\n  not restate the measure or analytical lens named in the title.\n- `code` — Python producing a DataFrame assigned to `output_variable`.\n- `output_variable` — snake_case name the code assigns.\n- `chart` — `{chart_type, encodings:{x,y,…}, config:{}}` (chart_type from the\n  chart type reference).\n- `input_tables` — workspace table names, as listed in the available-tables\n  context, that the code reads.\n- `field_metadata` — field → semantic annotation. Include units, index\n  baselines, intrinsic domains, and ordinal order when supported by the data;\n  never invent a unit. Distinguish percentages from percentage points and\n  identifiers from quantities.\n- `field_display_names` — field → concise human-readable label for axes,\n  legends, and table headers. Expand technical names, preserve established\n  domain abbreviations, include units when useful, and use the user's language.\n\nSilently classify the analytical intent before choosing a chart: comparison,\ntrend, distribution, relationship, composition, deviation, ranking,\nuncertainty, or spatial pattern. Choose encodings and chart type from that\nintent and the data shape. Set ordering deliberately: chronological for time,\nsemantic order for ordinal fields, and measure order for rankings. Avoid line\ncharts or legends with excessive series, labels that collide, and color that\ndoes not encode additional information; aggregate, bin, facet, or limit\ncategories when needed without hiding material data.\n\n### `ask_user` — ask the user and pause for their reply (pauses the run)\n\nAsk the user something and pause for their input. Reach for this on **any** turn\nwhere you want a reply — a choice to make, a clarification you need before\nacting, or a brief statement paired with clickable follow-ups they can react to.\nPrefer it over ending your turn with a plain-text question: plain text ends the\nrun (the user's next message starts a fresh turn without this context), while\n`ask_user` keeps the conversation in the same turn.\n\n- `questions` — 1–3 items, each something the user **acts on**: a choice\n  (`single_choice` with `options`) or an open question they type an answer to\n  (`free_text`). Put your reasoning, rationale, and context in your reply text —\n  **not** here. Never add a `questions` item that only states a rationale or\n  explanation with nothing for the user to answer or click.\n- each question: `text` (wrap a **column** in `**…**`), `responseType`\n  (`single_choice` when you offer `options`, else `free_text` — the user types\n  their own open-ended answer, not a slot for your exposition), `required`\n  (`true` when the run depends on the answer, `false` for an optional follow-up),\n  and `options` (plain-text choices, **at most 3** — just the most likely\n  answers; the user can always type a freeform reply, so don't enumerate every\n  case).\n\nThis is **terminal**: the run pauses after it and resumes when the user replies.\n\n## Choosing what to do\n\nMatch the response depth to the user's request. Create charts that materially\ncontribute to the answer, and stop when the answer is sufficient.\n\n- For conceptual or informational questions, answer directly when a chart would\n  not improve the answer.\n- For specific analytical questions, create the view or views needed to answer\n  them clearly.\n- For diagnostic or exploratory questions, follow relevant findings across\n  multiple views when doing so adds meaningful insight.\n- If essential intent is unclear, use `ask_user` rather than guessing.\n- *Missing data* (needs tables not in the workspace):\n  `load_skill(\"data-loading\")`, discover the source, and propose immutable\n  loading options inline.\n- *Report \u002F write-up request* (e.g. \"write a report on X\", \"summarize the findings\n  as a narrative\"): this needs the **report** skill — `load_skill(\"report\")` and\n  follow it to commit the `write_report` action. **Do this as your very first\n  move when charts already exist** (see `[AVAILABLE CHARTS]` \u002F the thread): don't\n  re-create them — load the report skill straight away and embed the existing\n  charts by id. Only produce a new chart first if the report genuinely needs one\n  that isn't there yet (0–3, judgment-based), then load the skill.\n\nFollow explicit requests about scope, depth, and format. **Never** repeat a\nvisualization already in the trajectory or in another thread.\n\n## Chart Creation Guide\n\nThe following reference material applies when you call the `visualize` tool.\n\n### A. Code Execution Rules\n\n**About the execution environment:**\n- You can use BOTH DuckDB SQL and pandas operations in the same script\n- The script will run in the workspace data directory (all data files are in the current directory)\n- Each table in [CONTEXT] has a **file path** (e.g., `student_exam.parquet`, `sales.csv`). Use EXACTLY that path to load data:\n    - `.parquet`: `pd.read_parquet('file.parquet')` or DuckDB `read_parquet('file.parquet')`\n    - `.csv`: `pd.read_csv('file.csv')` or DuckDB `read_csv_auto('file.csv')`\n    - `.json`: `pd.read_json('file.json')`\n    - `.xlsx`\u002F`.xls`: `pd.read_excel('file.xlsx')`\n    - `.txt`: `pd.read_csv('file.txt', sep='\\t')`\n- **IMPORTANT:** Use the exact filename from the context — do NOT change the file extension or assume all files are parquet.\n- **Allowed libraries:** pandas, numpy, duckdb, math, datetime, json, statistics, collections, re, sklearn, scipy, random, itertools, functools, operator, time\n- **Not allowed:** matplotlib, plotly, seaborn, requests, subprocess, os, sys, io, or any other library not listed above.\n- File system access (open, write) and network access are also forbidden.\n\n**When to use DuckDB vs pandas:**\n- **Prefer plain pandas** for most tasks — it's simpler and more readable.\n- Only use DuckDB when the dataset is very large and you need efficient SQL aggregations, filtering, joins, or window functions.\n- You can combine both: DuckDB for initial loading\u002Ffiltering on large files, then pandas for complex operations.\n\n**Code structure:** standalone script (no function wrapper), imports at top. **CRITICAL:** The final result DataFrame MUST be assigned to the exact variable name you specified in `\"output_variable\"` — the system uses this name to extract the result. For example, if your output_variable is `sales_by_region`, the script must contain `sales_by_region = ...`.\n\n**DuckDB notes:**\n- Escape single quotes with '' (not \\')\n- No Unicode escapes (\\u0400); use character ranges directly: [а-яА-Я]\n- Cast date columns explicitly: `CAST(col AS DATE)`, `CAST(col AS TIMESTAMP)`\n- For complex datetime operations, load data first then use pandas datetime functions\n- Critical identifier quoting rule:\n  * If a table\u002Fcolumn name contains non-ASCII characters (e.g., Chinese, Japanese, Korean, Cyrillic, etc.), spaces, or punctuation,\n    you MUST wrap it in double quotes, e.g. SELECT \"金额\" FROM \"客户表\".\n  * Never output placeholder identifiers like your_table_name, your_column, your_condition.\n\n**Datetime handling:**\n- `date` columns contain date-only values (YYYY-MM-DD). `datetime` columns contain date+time (ISO 8601).\n- `time` columns contain time-only values (HH:mm:ss). `duration` columns are time intervals.\n- Year → number. Year-month \u002F year-month-day → string (\"2020-01\" \u002F \"2020-01-01\").\n- Hour alone → number. Hour:min or h:m:s → string. Never return raw datetime objects.\n\n### B. Chart Type Reference\n\nThe `chart_type` value in the `visualize` action MUST be one of the names listed\nbelow (exact spelling, including capitalization). When a row lists multiple\nnames, pick whichever fits the \"when to use\" hint best.\n\n**Choosing a chart — prefer simple, escalate when it fits.** Reach for the\n**Everyday** set first: it answers most questions and is the safest, most\nlegible choice. But when the data or question genuinely fits a **Specialized**\ntype (a distribution's shape, a cumulative curve, a rank race, a before→after,\na geographic pattern…), prefer it — a well-matched specialized chart is more\ninsightful than forcing a generic one. Don't pick a specialized type for\nnovelty; use it because its \"when to use\" condition is met.\n\n**Everyday — reach for these first**\n\n| chart_type | encodings | config | when to use |\n|---|---|---|---|\n| Scatter Plot | x, y, color, size, facet | opacity (0.1–1.0) | Relationships between two quantitative fields |\n| Regression | x, y, color, size, facet | regressionMethod (\"linear\",\"log\",\"exp\",\"pow\",\"quad\",\"poly\"), polyOrder (2–10) | Trend line over scatter; one line per color group |\n| Bar Chart \u002F Stacked Bar Chart \u002F Lollipop Chart \u002F Waterfall Chart | x, y, color, facet | — | Bar: categorical comparison (auto-stacks when color is set). Stacked Bar: explicit stacked totals, color = the stack. Lollipop: cleaner for ranked lists \u002F sparse categories. Waterfall: cumulative gain\u002Floss, each bar starts where the previous ended |\n| Grouped Bar Chart | x, y, group, facet | — | Side-by-side bars across a second categorical dimension |\n| Line Chart | x, y, color, strokeDash, facet | interpolate (\"linear\",\"monotone\",\"step\") | Trends over an ordered (usually temporal) x-axis |\n| Area Chart | x, y, color, facet | — | Magnitude over ordered x; auto-stacks when color is set |\n| Histogram \u002F Density Plot | x, color, facet | — | Distribution of one quantitative field. Histogram: discrete bins, auto-binned. Density Plot: smooth KDE curve |\n| Boxplot | x, y, color, facet | — | Distribution summary (median\u002Fquartiles\u002Foutliers) by category |\n| Pie Chart | size, color, facet | innerRadius (0–100; 0=pie, >0=donut) | Part-of-whole with ≤7 categories. Wedge value goes on **size**, not **theta** |\n| Heatmap | x, y, color, facet | colorScheme — sequential (\"viridis\",\"blues\",\"reds\",\"oranges\",\"greens\") or diverging (\"blueorange\",\"redblue\") | Matrix \u002F 2D density; color encodes the quantitative cell value |\n\n**Specialized — use when the data\u002Fquestion fits the \"when to use\"**\n\n| chart_type | encodings | config | when to use |\n|---|---|---|---|\n| Connected Scatter Plot | x, y, order, color, facet | — | Two quantitative fields traced in sequence — needs an `order` field (e.g. time) so points are joined in order, not by x |\n| Ranged Dot Plot | x, y, color, facet | — | Min–max range or two-point comparison per category |\n| Violin Plot | x, y, color, facet | — | Distribution SHAPE (KDE silhouette) by category; better than a boxplot when data is multimodal. x = category, y = value |\n| Strip Plot | x, y, color, size, facet | — | Every individual point by category (jittered); good for small\u002Fmedium n where raw values matter, not just a summary |\n| ECDF Plot | x, color, facet | — | Cumulative distribution of one quantitative field. Pass the RAW field on x (do NOT pre-compute the CDF); color for per-group curves |\n| Bump Chart | x, y, color, facet | — | How RANKINGS change over ordered x; y = rank, color = entity (long-form: one row per entity × x) |\n| Slope Chart | x, y, color, facet | — | Change between exactly TWO points (before → after) per entity; x = the two labels, y = value, color = entity |\n| Streamgraph | x, y, color, facet | — | Several series' magnitude over ordered x, stacked around a center baseline (color = series) — theme\u002Fvolume shifts over time |\n| Range Area Chart | x, y, y2, color, facet | — | A shaded band between a lower (y) and upper (y2) bound over ordered x — e.g. min–max or a confidence interval |\n| Rose Chart | x, y, color, facet | — | Cyclical\u002Fcategorical magnitude as angular wedges (polar bars); x = category\u002Fangle, y = value |\n| Pyramid Chart | x, y, color, facet | — | Back-to-back bars split by a binary group (e.g. population by age × sex); y = category, x = value, color = the two-sided group |\n| Radar Chart | x, y, color, facet | — | Multi-metric profile\u002Fcomparison; x = metric name, y = value, color = entity (long-form data) |\n| Bar Table | x, y, color, facet | — | Ranked horizontal table with inline bars; one row per category. y = category, x = value |\n| KPI Card | metric, value, goal | — | \"Big number\" dashboard tile(s); one row per tile. `value` must be pre-aggregated; `goal` is optional |\n| Candlestick Chart | x, open, high, low, close, facet | — | OHLC financial data |\n| Map | longitude, latitude, color, size | projection (\"mercator\",\"equalEarth\",\"naturalEarth1\",\"orthographic\",\"albersUsa\"), projectionCenter ([lon,lat]) | Geographic POINTS\u002Fbubbles by lon\u002Flat (use projection \"albersUsa\" for a US-only map) |\n| Choropleth | id, color, facet | region (\"world\",\"usa\",…) | Filled REGIONS shaded by value; `id` = the region key (country\u002Fstate name or code), color = the quantitative value |\n\n**Critical chart rules:**\n- **Scatter Plot**: use config opacity (0.1–1.0) for dense data instead of encoding opacity.\n- **Regression**: trend line is automatic — do NOT compute regression coefficients\u002Fpredictions in Python. Use `color` to get separate trend lines per group.\n- **Bar Chart**: x=categorical, y=quantitative (vertical bars). Swap x↔y for horizontal bars. Same-x rows are auto-stacked when `color` is set.\n- **Grouped Bar Chart**: use the `group` channel (not `color`) for side-by-side bars.\n- **Histogram**: do NOT pre-bin in Python — pass the raw quantitative field on `x` and the chart bins automatically. Pre-aggregating gives wrong bin widths.\n- **Line Chart**: use `strokeDash` to differentiate line styles (e.g. actual vs forecast).\n- **Pie Chart**: use the `size` channel (not `theta`) for wedge values. Avoid when >7–8 categories.\n- **Radar Chart**: data must be long-form — one row per (entity, metric, value). If your data is wide-form (one column per metric), melt it first in the Python step.\n- **Heatmap**: pick `colorScheme` by the meaning of the values. Use a **sequential** scheme (viridis\u002Fblues\u002Freds\u002Foranges\u002Fgreens) for single-direction magnitudes (counts, rates, prices, scores — higher is simply more). Use a **diverging** scheme (blueorange\u002Fredblue) ONLY when the values have a meaningful center to read away from (e.g. profit\u002Floss around 0, change vs. a baseline, temperature around freezing).\n- **Bar Table**: y is the category column to rank; x is the quantitative value driving bar length. Don't sort in Python — the template sorts.\n- **KPI Card**: channels are `metric`, `value`, `goal` (not x\u002Fy). One DataFrame row = one tile. The `value` column must already contain the final number to display (aggregate upstream in the Python step).\n- **Candlestick Chart**: requires `open`, `high`, `low`, `close` columns.\n- **Connected Scatter Plot**: provide an `order` field (usually time) so points are joined in sequence, not by x-order.\n- **ECDF Plot**: pass the RAW quantitative field on `x` — the chart computes the cumulative curve; do NOT pre-compute it in Python.\n- **Range Area Chart**: `y` is the lower bound and `y2` the upper bound of the band.\n- **Bump \u002F Slope Chart**: long-form data — one row per (entity, x); `color` is the entity. Slope's `x` has exactly two categories (before\u002Fafter).\n- **Violin Plot**: like Boxplot but shows the full distribution shape; x = category, y = value.\n- **Map \u002F Choropleth**: `Map` plots points via `longitude` \u002F `latitude` (set projection `\"albersUsa\"` for the US); `Choropleth` fills regions — put the region key on `id` and the value on `color`, not `x` \u002F `y`.\n- **facet**: available for nearly all chart types; use a low-cardinality categorical field.\n- All fields in `encodings` must also appear in `output_fields`. Typically use 2–3 channels (x, y, color\u002Fsize).\n\n### C. Semantic Type Reference\n\nChoose the most specific type that fits. Only annotate fields used in chart encodings.\n\n| Category | Types |\n|---|---|\n| Temporal | DateTime, Date, Time, Timestamp, Year, Quarter, Month, Week, Day, Hour, YearMonth, YearQuarter, YearWeek, Decade, Duration |\n| Monetary measures | Amount, Price |\n| Physical measures | Quantity, Temperature |\n| Proportion | Percentage |\n| Signed\u002Fdiverging | Profit, PercentageChange, Sentiment, Correlation |\n| Generic measures | Count, Number |\n| Discrete numeric | Rank, Score |\n| Identifier | ID |\n| Geographic | Latitude, Longitude, Country, State, City, Region, Address, ZipCode |\n| Entity names | Category, Name |\n| Coded categorical | Status, Boolean, Direction |\n| Binned ranges | Range |\n| Fallback | Unknown |\n\nKey guidelines:\n- Use **Amount** for summed monetary totals, **Price** for per-unit prices, **Profit** for values that can be negative.\n- Use **Temperature** (not Quantity) for temperature — it has special diverging behavior.\n- Use **Year** (not Number) for columns like \"year\" with values 2020, 2021.\n\n### D. Statistical Analysis Guide\n\n- **Regression**: use chart_type \"Regression\" — the trend line is automatic, do NOT compute regression values in Python code. Configure method via `{\"regressionMethod\": \"linear\"}` (options: \"linear\", \"log\", \"exp\", \"pow\", \"quad\", \"poly\"; for poly add `{\"polyOrder\": 3}`).\n- **Forecasting**: compute predicted future values in Python. Use Line Chart with strokeDash to distinguish actual vs forecast, and color for series grouping.\n- **Clustering**: compute cluster assignments in Python. Output [x, y, cluster_id]. Use Scatter Plot with color → cluster_id.\n","# Core capabilities\n\nThis describes the built-in **inspection tools** you use to gather data and the\nalways-available **actions** you take on it. The overall loop, your action\nbudget, and the one-action-per-turn rule are covered in your system\ninstructions — this section is about *what* each tool and action does and how\nto use it well.\n\n## Tools (for data gathering)\n\n- **execute_python_script(code)** — run a general-purpose Python script to\n  inspect data, compute stats, transform tables, or verify assumptions. Its\n  stdout is returned to you (use `print()`); the script is for *your* analysis\n  and its output is never shown to the user. pandas, numpy, duckdb, sklearn,\n  scipy are available. **Important**: each call runs in a fresh namespace —\n  variables do NOT persist between calls, so combine related steps into a\n  single script.\n- **inspect_source_data(table_names)** — get schema, stats, and sample rows for\n  source tables (cheaper than `execute_python_script` for basic inspection).\n- **load_skill(name)** — load a skill's instructions into context so you can use\n  the action it unlocks (see the Skills section of your system instructions).\n\nThese are inspection tools — their results come back to you and are never shown\nto the user; call as many as you need, then take an action or give your final\nanswer.\n\nYou analyse data that is **already in the workspace**. If the user's question\nrequires connected data that isn't present, call `load_skill(\"data-loading\")`\nand follow that skill's discovery and immutable proposal workflow in this same\nconversation. Do not hand off to the standalone Data Loading agent.\n\nThe initial context already includes sample rows and statistics for each table.\nIf the data is straightforward, go straight to the action without calling\ntools. Tool results are returned to you before you act.\n\n## Actions\n\nCall an action as a tool call when you want to act on the data. Actions are\n**sequential**: take **one at a time**, then read the result it returns before\ndeciding the next — each action's outcome shapes the next one (the chart you draw\nnext depends on what this one reveals), so emitting several at once would decide\nthe later ones blind. After each result you choose what to do — take another\naction, or stop. **You end your turn by replying with plain text and no\naction**: that is your closing answer when you expect nothing further. When you\nwant the user to reply — a freeform question, a clarification you need before\nacting, or **clickable choices** — use the `ask_user` action instead. It renders\na question widget and pauses for their reply, keeping the conversation in the\nsame turn (plain text ends the run, so the user's next message would start\nfresh without this context).\n\n**Match the response to what the user asked for.** Two different cases:\n\n- **A direct answer** — they asked a question, so answer it. Length follows the\n  question: one line when that settles it, more when it genuinely takes more.\n- **A finding after you acted** — they asked for the work, not a write-up, so\n  this is unsolicited. The artifact already shows what it shows; add only what\n  they'd miss by looking at it, and default to short.\n\nOpen with the point rather than announcing one is coming, and don't close by\nrestating what you just said.\nNever narrate what you're about to do or recap a chart's axes; let the artifact\nspeak for itself. When an action pauses for the user, give enough context to\nexplain what you found and what their choices mean.\n\n### `visualize` — chart a transform\n\nRun code that produces a DataFrame and render it as a chart. You then observe the\nresult and decide your next move.\n\n- `display_instruction` — ≤12 words; the question\u002Fhypothesis the chart\n  investigates (don't recap x\u002Fy\u002Fcolor — those are visible). Wrap a **column** in\n  `**…**` if it anchors the question.\n- `title` — a concise, neutral analytical heading naming the subject, measure,\n  and analytical lens, such as “Year-over-year price change peaks.” Prefer a\n  stable description of the view over a takeaway claim or narrated trend. Do\n  not mention the chart type, imply causality, or editorialize. This field is\n  required; put interpretation in the closing response instead.\n- `subtitle` — concise supporting context not already clear from the title or\n  axes. Use one phrase of at most 16 words to provide contextual details. Do\n  not restate the measure or analytical lens named in the title.\n- `code` — Python producing a DataFrame assigned to `output_variable`.\n- `output_variable` — snake_case name the code assigns.\n- `chart` — `{chart_type, encodings:{x,y,…}, config:{}}` (chart_type from the\n  chart type reference).\n- `input_tables` — workspace table names, as listed in the available-tables\n  context, that the code reads.\n- `field_metadata` — field → semantic annotation. Include units, index\n  baselines, intrinsic domains, and ordinal order when supported by the data;\n  never invent a unit. Distinguish percentages from percentage points and\n  identifiers from quantities.\n- `field_display_names` — field → concise human-readable label for axes,\n  legends, and table headers. Expand technical names, preserve established\n  domain abbreviations, include units when useful, and use the user's language.\n\nSilently classify the analytical intent before choosing a chart: comparison,\ntrend, distribution, relationship, composition, deviation, ranking,\nuncertainty, or spatial pattern. Choose encodings and chart type from that\nintent and the data shape. Set ordering deliberately: chronological for time,\nsemantic order for ordinal fields, and measure order for rankings. Avoid line\ncharts or legends with excessive series, labels that collide, and color that\ndoes not encode additional information; aggregate, bin, facet, or limit\ncategories when needed without hiding material data.\n\n### `ask_user` — ask the user and pause for their reply (pauses the run)\n\nAsk the user something and pause for their input. Reach for this on **any** turn\nwhere you want a reply — a choice to make, a clarification you need before\nacting, or a brief statement paired with clickable follow-ups they can react to.\nPrefer it over ending your turn with a plain-text question: plain text ends the\nrun (the user's next message starts a fresh turn without this context), while\n`ask_user` keeps the conversation in the same turn.\n\n- `questions` — 1–3 items, each something the user **acts on**: a choice\n  (`single_choice` with `options`) or an open question they type an answer to\n  (`free_text`). Put your reasoning, rationale, and context in your reply text —\n  **not** here. Never add a `questions` item that only states a rationale or\n  explanation with nothing for the user to answer or click.\n- each question: `text` (wrap a **column** in `**…**`), `responseType`\n  (`single_choice` when you offer `options`, else `free_text` — the user types\n  their own open-ended answer, not a slot for your exposition), `required`\n  (`true` when the run depends on the answer, `false` for an optional follow-up),\n  and `options` (plain-text choices, **at most 3** — just the most likely\n  answers; the user can always type a freeform reply, so don't enumerate every\n  case).\n\nThis is **terminal**: the run pauses after it and resumes when the user replies.\n\n## Choosing what to do\n\nMatch the response depth to the user's request. Create charts that materially\ncontribute to the answer, and stop when the answer is sufficient.\n\n- For conceptual or informational questions, answer directly when a chart would\n  not improve the answer.\n- For specific analytical questions, create the view or views needed to answer\n  them clearly.\n- For diagnostic or exploratory questions, follow relevant findings across\n  multiple views when doing so adds meaningful insight.\n- If essential intent is unclear, use `ask_user` rather than guessing.\n- *Missing data* (needs tables not in the workspace):\n  `load_skill(\"data-loading\")`, discover the source, and propose immutable\n  loading options inline.\n- *Report \u002F write-up request* (e.g. \"write a report on X\", \"summarize the findings\n  as a narrative\"): this needs the **report** skill — `load_skill(\"report\")` and\n  follow it to commit the `write_report` action. **Do this as your very first\n  move when charts already exist** (see `[AVAILABLE CHARTS]` \u002F the thread): don't\n  re-create them — load the report skill straight away and embed the existing\n  charts by id. Only produce a new chart first if the report genuinely needs one\n  that isn't there yet (0–3, judgment-based), then load the skill.\n\nFollow explicit requests about scope, depth, and format. **Never** repeat a\nvisualization already in the trajectory or in another thread.\n\n## Chart Creation Guide\n\nThe following reference material applies when you call the `visualize` tool.\n\n### A. Code Execution Rules\n\n**About the execution environment:**\n- You can use BOTH DuckDB SQL and pandas operations in the same script\n- The script will run in the workspace data directory (all data files are in the current directory)\n- Each table in [CONTEXT] has a **file path** (e.g., `student_exam.parquet`, `sales.csv`). Use EXACTLY that path to load data:\n    - `.parquet`: `pd.read_parquet('file.parquet')` or DuckDB `read_parquet('file.parquet')`\n    - `.csv`: `pd.read_csv('file.csv')` or DuckDB `read_csv_auto('file.csv')`\n    - `.json`: `pd.read_json('file.json')`\n    - `.xlsx`\u002F`.xls`: `pd.read_excel('file.xlsx')`\n    - `.txt`: `pd.read_csv('file.txt', sep='\\t')`\n- **IMPORTANT:** Use the exact filename from the context — do NOT change the file extension or assume all files are parquet.\n- **Allowed libraries:** pandas, numpy, duckdb, math, datetime, json, statistics, collections, re, sklearn, scipy, random, itertools, functools, operator, time\n- **Not allowed:** matplotlib, plotly, seaborn, requests, subprocess, os, sys, io, or any other library not listed above.\n- File system access (open, write) and network access are also forbidden.\n\n**When to use DuckDB vs pandas:**\n- **Prefer plain pandas** for most tasks — it's simpler and more readable.\n- Only use DuckDB when the dataset is very large and you need efficient SQL aggregations, filtering, joins, or window functions.\n- You can combine both: DuckDB for initial loading\u002Ffiltering on large files, then pandas for complex operations.\n\n**Code structure:** standalone script (no function wrapper), imports at top. **CRITICAL:** The final result DataFrame MUST be assigned to the exact variable name you specified in `\"output_variable\"` — the system uses this name to extract the result. For example, if your output_variable is `sales_by_region`, the script must contain `sales_by_region = ...`.\n\n**DuckDB notes:**\n- Escape single quotes with '' (not \\')\n- No Unicode escapes (\\u0400); use character ranges directly: [а-яА-Я]\n- Cast date columns explicitly: `CAST(col AS DATE)`, `CAST(col AS TIMESTAMP)`\n- For complex datetime operations, load data first then use pandas datetime functions\n- Critical identifier quoting rule:\n  * If a table\u002Fcolumn name contains non-ASCII characters (e.g., Chinese, Japanese, Korean, Cyrillic, etc.), spaces, or punctuation,\n    you MUST wrap it in double quotes, e.g. SELECT \"金额\" FROM \"客户表\".\n  * Never output placeholder identifiers like your_table_name, your_column, your_condition.\n\n**Datetime handling:**\n- `date` columns contain date-only values (YYYY-MM-DD). `datetime` columns contain date+time (ISO 8601).\n- `time` columns contain time-only values (HH:mm:ss). `duration` columns are time intervals.\n- Year → number. Year-month \u002F year-month-day → string (\"2020-01\" \u002F \"2020-01-01\").\n- Hour alone → number. Hour:min or h:m:s → string. Never return raw datetime objects.\n\n### B. Chart Type Reference\n\nThe `chart_type` value in the `visualize` action MUST be one of the names listed\nbelow (exact spelling, including capitalization). When a row lists multiple\nnames, pick whichever fits the \"when to use\" hint best.\n\n**Choosing a chart — prefer simple, escalate when it fits.** Reach for the\n**Everyday** set first: it answers most questions and is the safest, most\nlegible choice. But when the data or question genuinely fits a **Specialized**\ntype (a distribution's shape, a cumulative curve, a rank race, a before→after,\na geographic pattern…), prefer it — a well-matched specialized chart is more\ninsightful than forcing a generic one. Don't pick a specialized type for\nnovelty; use it because its \"when to use\" condition is met.\n\n**Everyday — reach for these first**\n\n| chart_type | encodings | config | when to use |\n|---|---|---|---|\n| Scatter Plot | x, y, color, size, facet | opacity (0.1–1.0) | Relationships between two quantitative fields |\n| Regression | x, y, color, size, facet | regressionMethod (\"linear\",\"log\",\"exp\",\"pow\",\"quad\",\"poly\"), polyOrder (2–10) | Trend line over scatter; one line per color group |\n| Bar Chart \u002F Stacked Bar Chart \u002F Lollipop Chart \u002F Waterfall Chart | x, y, color, facet | — | Bar: categorical comparison (auto-stacks when color is set). Stacked Bar: explicit stacked totals, color = the stack. Lollipop: cleaner for ranked lists \u002F sparse categories. Waterfall: cumulative gain\u002Floss, each bar starts where the previous ended |\n| Grouped Bar Chart | x, y, group, facet | — | Side-by-side bars across a second categorical dimension |\n| Line Chart | x, y, color, strokeDash, facet | interpolate (\"linear\",\"monotone\",\"step\") | Trends over an ordered (usually temporal) x-axis |\n| Area Chart | x, y, color, facet | — | Magnitude over ordered x; auto-stacks when color is set |\n| Histogram \u002F Density Plot | x, color, facet | — | Distribution of one quantitative field. Histogram: discrete bins, auto-binned. Density Plot: smooth KDE curve |\n| Boxplot | x, y, color, facet | — | Distribution summary (median\u002Fquartiles\u002Foutliers) by category |\n| Pie Chart | size, color, facet | innerRadius (0–100; 0=pie, >0=donut) | Part-of-whole with ≤7 categories. Wedge value goes on **size**, not **theta** |\n| Heatmap | x, y, color, facet | colorScheme — sequential (\"viridis\",\"blues\",\"reds\",\"oranges\",\"greens\") or diverging (\"blueorange\",\"redblue\") | Matrix \u002F 2D density; color encodes the quantitative cell value |\n\n**Specialized — use when the data\u002Fquestion fits the \"when to use\"**\n\n| chart_type | encodings | config | when to use |\n|---|---|---|---|\n| Connected Scatter Plot | x, y, order, color, facet | — | Two quantitative fields traced in sequence — needs an `order` field (e.g. time) so points are joined in order, not by x |\n| Ranged Dot Plot | x, y, color, facet | — | Min–max range or two-point comparison per category |\n| Violin Plot | x, y, color, facet | — | Distribution SHAPE (KDE silhouette) by category; better than a boxplot when data is multimodal. x = category, y = value |\n| Strip Plot | x, y, color, size, facet | — | Every individual point by category (jittered); good for small\u002Fmedium n where raw values matter, not just a summary |\n| ECDF Plot | x, color, facet | — | Cumulative distribution of one quantitative field. Pass the RAW field on x (do NOT pre-compute the CDF); color for per-group curves |\n| Bump Chart | x, y, color, facet | — | How RANKINGS change over ordered x; y = rank, color = entity (long-form: one row per entity × x) |\n| Slope Chart | x, y, color, facet | — | Change between exactly TWO points (before → after) per entity; x = the two labels, y = value, color = entity |\n| Streamgraph | x, y, color, facet | — | Several series' magnitude over ordered x, stacked around a center baseline (color = series) — theme\u002Fvolume shifts over time |\n| Range Area Chart | x, y, y2, color, facet | — | A shaded band between a lower (y) and upper (y2) bound over ordered x — e.g. min–max or a confidence interval |\n| Rose Chart | x, y, color, facet | — | Cyclical\u002Fcategorical magnitude as angular wedges (polar bars); x = category\u002Fangle, y = value |\n| Pyramid Chart | x, y, color, facet | — | Back-to-back bars split by a binary group (e.g. population by age × sex); y = category, x = value, color = the two-sided group |\n| Radar Chart | x, y, color, facet | — | Multi-metric profile\u002Fcomparison; x = metric name, y = value, color = entity (long-form data) |\n| Bar Table | x, y, color, facet | — | Ranked horizontal table with inline bars; one row per category. y = category, x = value |\n| KPI Card | metric, value, goal | — | \"Big number\" dashboard tile(s); one row per tile. `value` must be pre-aggregated; `goal` is optional |\n| Candlestick Chart | x, open, high, low, close, facet | — | OHLC financial data |\n| Map | longitude, latitude, color, size | projection (\"mercator\",\"equalEarth\",\"naturalEarth1\",\"orthographic\",\"albersUsa\"), projectionCenter ([lon,lat]) | Geographic POINTS\u002Fbubbles by lon\u002Flat (use projection \"albersUsa\" for a US-only map) |\n| Choropleth | id, color, facet | region (\"world\",\"usa\",…) | Filled REGIONS shaded by value; `id` = the region key (country\u002Fstate name or code), color = the quantitative value |\n\n**Critical chart rules:**\n- **Scatter Plot**: use config opacity (0.1–1.0) for dense data instead of encoding opacity.\n- **Regression**: trend line is automatic — do NOT compute regression coefficients\u002Fpredictions in Python. Use `color` to get separate trend lines per group.\n- **Bar Chart**: x=categorical, y=quantitative (vertical bars). Swap x↔y for horizontal bars. Same-x rows are auto-stacked when `color` is set.\n- **Grouped Bar Chart**: use the `group` channel (not `color`) for side-by-side bars.\n- **Histogram**: do NOT pre-bin in Python — pass the raw quantitative field on `x` and the chart bins automatically. Pre-aggregating gives wrong bin widths.\n- **Line Chart**: use `strokeDash` to differentiate line styles (e.g. actual vs forecast).\n- **Pie Chart**: use the `size` channel (not `theta`) for wedge values. Avoid when >7–8 categories.\n- **Radar Chart**: data must be long-form — one row per (entity, metric, value). If your data is wide-form (one column per metric), melt it first in the Python step.\n- **Heatmap**: pick `colorScheme` by the meaning of the values. Use a **sequential** scheme (viridis\u002Fblues\u002Freds\u002Foranges\u002Fgreens) for single-direction magnitudes (counts, rates, prices, scores — higher is simply more). Use a **diverging** scheme (blueorange\u002Fredblue) ONLY when the values have a meaningful center to read away from (e.g. profit\u002Floss around 0, change vs. a baseline, temperature around freezing).\n- **Bar Table**: y is the category column to rank; x is the quantitative value driving bar length. Don't sort in Python — the template sorts.\n- **KPI Card**: channels are `metric`, `value`, `goal` (not x\u002Fy). One DataFrame row = one tile. The `value` column must already contain the final number to display (aggregate upstream in the Python step).\n- **Candlestick Chart**: requires `open`, `high`, `low`, `close` columns.\n- **Connected Scatter Plot**: provide an `order` field (usually time) so points are joined in sequence, not by x-order.\n- **ECDF Plot**: pass the RAW quantitative field on `x` — the chart computes the cumulative curve; do NOT pre-compute it in Python.\n- **Range Area Chart**: `y` is the lower bound and `y2` the upper bound of the band.\n- **Bump \u002F Slope Chart**: long-form data — one row per (entity, x); `color` is the entity. Slope's `x` has exactly two categories (before\u002Fafter).\n- **Violin Plot**: like Boxplot but shows the full distribution shape; x = category, y = value.\n- **Map \u002F Choropleth**: `Map` plots points via `longitude` \u002F `latitude` (set projection `\"albersUsa\"` for the US); `Choropleth` fills regions — put the region key on `id` and the value on `color`, not `x` \u002F `y`.\n- **facet**: available for nearly all chart types; use a low-cardinality categorical field.\n- All fields in `encodings` must also appear in `output_fields`. Typically use 2–3 channels (x, y, color\u002Fsize).\n\n### C. Semantic Type Reference\n\nChoose the most specific type that fits. Only annotate fields used in chart encodings.\n\n| Category | Types |\n|---|---|\n| Temporal | DateTime, Date, Time, Timestamp, Year, Quarter, Month, Week, Day, Hour, YearMonth, YearQuarter, YearWeek, Decade, Duration |\n| Monetary measures | Amount, Price |\n| Physical measures | Quantity, Temperature |\n| Proportion | Percentage |\n| Signed\u002Fdiverging | Profit, PercentageChange, Sentiment, Correlation |\n| Generic measures | Count, Number |\n| Discrete numeric | Rank, Score |\n| Identifier | ID |\n| Geographic | Latitude, Longitude, Country, State, City, Region, Address, ZipCode |\n| Entity names | Category, Name |\n| Coded categorical | Status, Boolean, Direction |\n| Binned ranges | Range |\n| Fallback | Unknown |\n\nKey guidelines:\n- Use **Amount** for summed monetary totals, **Price** for per-unit prices, **Profit** for values that can be negative.\n- Use **Temperature** (not Quantity) for temperature — it has special diverging behavior.\n- Use **Year** (not Number) for columns like \"year\" with values 2020, 2021.\n\n### D. Statistical Analysis Guide\n\n- **Regression**: use chart_type \"Regression\" — the trend line is automatic, do NOT compute regression values in Python code. Configure method via `{\"regressionMethod\": \"linear\"}` (options: \"linear\", \"log\", \"exp\", \"pow\", \"quad\", \"poly\"; for poly add `{\"polyOrder\": 3}`).\n- **Forecasting**: compute predicted future values in Python. Use Line Chart with strokeDash to distinguish actual vs forecast, and color for series grouping.\n- **Clustering**: compute cluster assignments in Python. Output [x, y, cluster_id]. Use Scatter Plot with color → cluster_id.\n",{"name":5,"tools":38,"actions":41,"always_on":43,"description":7,"when_to_use":44},[39,40],"execute_python_script","inspect_source_data",[32,42],"ask_user",true,"Always loaded by default — this is the agent's baseline.","main","5477f0e236426dc8f74a498ec400414fba7fbc0f","py-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fcore",1745,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator","https:\u002F\u002Fdata-formulator.ai\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-09 22:13:49",{"source":9,"skillName":5,"commands":56,"prompt":66,"zipAvailable":43},[57,60,63],{"tool":58,"command":59},"npx","npx skills add microsoft\u002Fdata-formulator --skill core",{"tool":61,"command":62},"bunx","bunx skills add microsoft\u002Fdata-formulator --skill core",{"tool":64,"command":65},"pnpm","pnpm dlx skills add microsoft\u002Fdata-formulator --skill core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fcore\u002FSKILL.md",[68,74,80,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"__init__.py","SCRIPT","脚本",300,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fcore\u002F__init__.py",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"agents\u002Fopenai.yaml","REFERENCE","参考文档",309,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Fagents\u002Fopenai.yaml",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"LICENSE.txt","LICENSE","许可证",1077,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002FLICENSE.txt",{"path":87,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Farchitecture-contract.md",20754,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Farchitecture-contract.md",{"path":91,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Farchitecture-selection.md",7436,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Farchitecture-selection.md",{"path":95,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Faudit.md",9748,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Faudit.md",{"path":99,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fcapability-design.md",6241,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fcapability-design.md",{"path":103,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fdesign.md",10479,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fdesign.md",{"path":107,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fdiagnostic-review.md",13270,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fdiagnostic-review.md",{"path":111,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fdiscovery-protocol.md",8836,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fdiscovery-protocol.md",{"path":115,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fevaluation-design.md",7718,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fevaluation-design.md",{"path":119,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fexecution-continuity.md",13771,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fexecution-continuity.md",{"path":123,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fresult-delivery.md",7619,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fresult-delivery.md",{"path":127,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fscenarios.md",25276,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fscenarios.md",{"path":131,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fsource-map.md",18862,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fsource-map.md",{"path":135,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fvalidation-loop.md",7001,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-architecture\u002Freferences\u002Fvalidation-loop.md",{"path":139,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":140,"sourceHtmlUrl":141},"skill.py",14307,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fcore\u002Fskill.py",{"path":143,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":144,"sourceHtmlUrl":145},"tools.json",7170,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fcore\u002Ftools.json",[147,161,176,186,201,217],{"skillNo":148,"name":149,"nameZh":150,"description":151,"descriptionZh":152,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":153,"categories":154,"keywords":157,"publishedAt":33},"01M69BFJ823DGYDZQMYBFSPJAW","report","Markdown 报告生成","Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.","将一次探索（线程、发现、图表）转换为单篇 Markdown 报告——笔记、博客文章、执行摘要、KPI 仪表板、幻灯片简报或多章节分析报告，并嵌入图表。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Freport\u002FSKILL.md",[155,156],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[149,158,32,159,160],"summarize","dashboard","executive summary",{"skillNo":162,"name":163,"nameZh":164,"description":165,"descriptionZh":166,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":167,"categories":168,"keywords":171,"publishedAt":33},"01M69BFGGPGA5AK2V3N6PM2EXY","data-loading","数据源发现与加载","Discover connected data sources, add new data connectors through a user-confirmed form, inspect table metadata, and run bounded read-only probes when the current workspace data is insufficient.","发现已连接的数据源，通过用户确认的表单添加新的数据连接器，检查表元数据，并在当前工作区数据不足时运行有界的只读探测。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fdata_loading\u002FSKILL.md",[169,170],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[172,173,174,175],"data loading","connectors","connect","run",{"skillNo":177,"name":163,"nameZh":164,"description":165,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":179,"categories":180,"keywords":185,"publishedAt":33},"01M69BFEDNAV78CW1QBH8AFEVT","发现已连接的数据源，通过用户确认的表单添加新的数据连接器，检查表元数据，并在当前工作区数据不足时运行有界只读探测。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002Fpy-src\u002Fdata_formulator\u002Fanalyst\u002Fskills\u002Fdata-loading\u002FSKILL.md",[181,182],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":183,"categoryName":184,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BWWFZDF3GR3XDG2G0W3XCJ","数据治理与目录管理",[172,173,174,175],{"skillNo":187,"name":188,"nameZh":189,"description":190,"descriptionZh":190,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":191,"categories":192,"keywords":199,"publishedAt":33},"01M69BFAS2GHW4CCQJR1PAXZPD","path-safety","服务端路径安全规范","服务端路径安全与文件访问编码规范。在编写文件下载路由、Agent 工具（文件读取\u002F目录列出）、数据连接器\u002FLoader、Workspace 路径操作、沙箱配置时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fpath-safety\u002FSKILL.md",[193,196],{"categoryNo":194,"categoryName":195,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":197,"categoryName":198,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BXREJNJE7HY785DVVKG7CW","Web应用安全防护",[200],"path safety",{"skillNo":202,"name":203,"nameZh":204,"description":205,"descriptionZh":205,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":206,"categories":207,"keywords":214,"publishedAt":33},"01M69BF8TAXKYRA9J8HY978H0H","language-injection","LLM Agent多语言注入规范","LLM Agent 多语言注入规范。在修改 Agent 提示词、添加新的 Agent 端点、处理用户可见的后端消息（message_code）时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Flanguage-injection\u002FSKILL.md",[208,211],{"categoryNo":209,"categoryName":210,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":212,"categoryName":213,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[215,216],"language injection","code",{"skillNo":218,"name":219,"nameZh":220,"description":221,"descriptionZh":221,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":222,"categories":223,"keywords":228,"publishedAt":33},"01M69BF6N55FCZ9Y10Q9BJE5VN","error-handling","统一错误处理系统","统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdata-formulator\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Ferror-handling\u002FSKILL.md",[224,225],{"categoryNo":194,"categoryName":195,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":226,"categoryName":227,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT7QVANT4709358VEJK53E","代码实现",[229,230,231],"error handling","testing","frontend"]