/pq-connectors:refresh-archivefrom pq-connectors
Refresh 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.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub back1ply/power-bi-custom-connectors-source-code --plugin pq-connectorsThe weekly workflow .github/workflows/refresh.yml (Mondays 03:23 UTC) downloads
the newest certified connector packages, rebuilds bundle/, and opens the PR
"Refresh certified connectors from Microsoft" on branch
automation/certified-connectors. It merges that PR automatically when tests,
lint, the OKF validator, the secret scan, and the site build pass. Review drift
and candidate coverage are reported in the PR body but never block.
uv sync --locked --group site
uv run pqkb refresh # download, extract, redact, rebuild bundle/, log
uv run pqkb build # rebuild bundle/ only (no download)
uv run pytest -q
uv run ruff check src tests && uv run ruff format --check src tests
uv run python skills/okf-generate/scripts/validate.py bundle
uv run --group site mkdocs build --strict
pqkb refresh --source-dir <folder> uses a complete local set of .mez/.pqx
packages instead of downloading. Never edit files in bundle/ by hand; change
knowledge/ or src/pqkb/ and rebuild.
| Report line | Meaning | Action |
|---|---|---|
| Source excerpts and pipeline: failure | pytest failed | Fix the code or test; never weaken an assertion. |
| Lint, metadata, and links: failure | ruff or the OKF validator failed | Run the commands above and fix the errors. |
| Pattern review drift: failure | Some pattern pages cite code that changed | Not blocking. Renew them with the review-pattern skill when convenient. |
| Candidate review coverage: failure | Some connectors have no current Haiku review | Not blocking. Use the run-candidate-reviews skill when convenient. |
| Site build: failure | mkdocs build --strict failed | Usually a broken link in a pattern page. |
After fixing on the refresh branch, dispatch the "Validate reference" workflow on it, then merge. A merge by the workflow's own token does not trigger push workflows, so the refresh dispatches publishing itself.
skills/okf-generate and skills/okf-consume are vendored unmodified. To update
them, follow skills/VENDORED.md, then run the validator above and the tests.
7 skills in this plugin
/find-connector-codeFind 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./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./review-patternRenew the source review of a pattern page in this repository after the connector code it quotes has changed, by checking every claim against the current source, repairing excerpts and line references, and recording the review honestly. Use this skill when a pattern page shows "Changed since review", when `pqkb verify-reviews` lists drifted pages, or when asked to update or re-review knowledge/patterns/*.md./run-candidate-reviewsRun, retry, and check the LLM candidate reviews that confirm or reject this repository's static pattern matches per connector (stored in knowledge/match-reviews.json). Use this skill when asked to review pattern candidates, refresh "Unreviewed match" or "older review" labels on connector pages, run `pqkb review-matches`, or investigate candidate review failures./write-connectorWrite, extend, or review a Power Query (M) custom connector to production and publishing grade, using Microsoft's Power Query SDK guidance and evidence from the certified connectors in this repository. Use this skill when the user wants to build a new Power BI / Excel / Fabric connector for an API or database, add authentication, paging, navigation, schema, error handling, TestConnection, folding, or documentation to one, or check a connector before signing and shipping it.Other plugins' skills for the same job