/pq-connectors:find-connector-codefrom pq-connectors
Find how Microsoft's certified Power Query (M) connectors implement something, using this repository's connector source archive and its OKF bundle. Use this skill when the user asks how real Power BI or Excel connectors do authentication (OAuth, PKCE, keys), paging, navigation tables, query folding (Table.View, ODBC, native queries), retries, error handling, schemas, or packaging; asks for an example connector to copy from; or wants M code that a certified connector uses. Read-only.
Ships in pq-connectors. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This repository holds the extracted source of Microsoft's certified Power Query
connectors (connectors/) and a generated Open Knowledge Format bundle
(bundle/) that indexes it. Answer from that code. It is archived source, not
runtime-tested; say so when it matters.
| Path | What it is |
|---|---|
bundle/index.md | Start here: what the bundle covers and its sections. |
bundle/patterns/<id>.md | Guides to one technique each (pagination, oauth2, pkce, table-view, odbc, errors, retry-polling, ...), with quoted excerpts and links to the source lines. bundle/patterns/index.md lists them by topic. |
bundle/connectors/<Name>.md | One page per connector: publisher, version, authentication kinds, source files, and the patterns detected in it with line links. |
bundle/tags/index.md | Connectors grouped by authentication kind and detected pattern. |
connectors/<Name>/ | The connector's real M source (.pq, .pqm, .m) and resources. |
connectors/index.json | Machine-readable list: name, title, publisher, version, files. |
Find candidates. For a technique, read the matching bundle/patterns/<id>.md
for how it works and which connectors it cites. Connector pages list source
files and authentication kinds; bundle/tags/index.md groups connectors by
authentication kind. For a library function or identifier, search the source
directly:
rg -n "Table.GenerateByPage" connectors --glob "*.{pq,pqm,m}"
rg -l "Authentication\s*=" connectors
With the OKF MCP server (.mcp.json), use its search and neighbour tools
instead of reading files one by one.
Read the code, not just the match. M is a nested functional language: a
match can sit inside an unused helper. Open the whole top-level binding around
the match, and follow what calls it (the shared entry point, the navigation
table, the Authentication record) before claiming a connector uses it.
Check freshness. A pattern page with a "Changed since review"
banner, or a past stale_after, may quote outdated lines; confirm against the
file in connectors/. The okf-consume skill explains trust tiers and
staleness if the user asks how far to trust a page.
Answer with citations. Give the connector, file, and line, and quote the
relevant lines. When the user wants a URL, take the GitHub link from the
connector's page in bundle/connectors/ (its sources) and add #L<line>. Name more than one connector when they implement it
differently.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/okf-consumeAnswer questions from an Open Knowledge Format (OKF) bundle, a directory of Markdown files with YAML frontmatter, and report the provenance, trust tier, freshness, and attestation status of every concept used. Use this skill when the user points at an OKF bundle or at a directory of Markdown files with index.md files and frontmatter type fields; asks what a metric, table, policy, or procedure means according to that bundle; asks for a number that the bundle defines with an Attested Computation; or asks which concepts are stale, deprecated, or unverified./okf-generateCreate, update, migrate, repair, or validate an Open Knowledge Format (OKF) v0.3 bundle, including recording a verification. An OKF bundle is a directory of Markdown files with YAML frontmatter that documents data assets, metrics, policies, and procedures for people and agents. Use this skill when the user asks to write, generate, bootstrap, enrich, or migrate OKF documents or a knowledge bundle; to document tables, datasets, metrics, APIs, or playbooks in OKF; to add provenance, trust, lifecycle, or attested-computation fields; or to check a bundle for OKF conformance. Use this skill, not okf-consume, to repair a bundle or to record a verification.Other plugins' skills for the same job
/refresh-archiveRefresh this repository's archive of Microsoft's certified Power Query connectors and rebuild its OKF bundle, then read the refresh report and handle failures. Use this skill when asked to update the connector archive, run or debug the weekly refresh workflow, fix a failing refresh pull request, rebuild bundle/, or re-sync the vendored OKF skills.npx claudepluginhub back1ply/power-bi-custom-connectors-source-code --plugin pq-connectors