Skip to content

Commit 3b74147

Browse files
committed
fix: point the code-docs skill at deployed pages and harden the lint floor
The docs table listed pages that were never deployed; each row now names a verified page of the published site, and rows describing undeployed pages are dropped. The lint coverage wrapper rejects a non-numeric LINT_MIN_FILES before running instead of silently disabling the guard.
1 parent db4268d commit 3b74147

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎packages/agent-core-v2/src/features/skill/catalog/builtin/check-pythinker-code-docs.md‎

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
name: check-pythinker-code-docs
3-
description: Answer questions about the Pythinker Code product using the official documentation — CLI usage, configuration, slash commands, features, membership and quota, API onboarding, third-party tool setup, and error codes. Use when the user asks how Pythinker Code works, how to set something up, or what a Pythinker Code error message means.
3+
description: Answer questions about the Pythinker Code product using the official documentation — CLI usage, configuration, slash commands, features, and guides. Use when the user asks how Pythinker Code works, how to set something up, or how a documented feature behaves.
44
---
55

66
# Check Pythinker Code docs (check-pythinker-code-docs)
77

8-
Answer Pythinker Code **product** questions from the official documentation site, not from memory. This skill covers product usage ("how do I configure a provider", "what does this error mean", "how does membership quota work"); it is not for developing the Pythinker Code repository itself.
8+
Answer Pythinker Code **product** questions from the official documentation site, not from memory. This skill covers product usage ("how do I configure a provider", "what does this error message mean", "how does Remote Control work"); it is not for developing the Pythinker Code repository itself.
99

1010
## The single source of truth
1111

@@ -21,18 +21,14 @@ Fetch pages with **FetchURL** before answering. All page links below are relativ
2121

2222
| Question topic | Page (relative to the base URL) |
2323
| --- | --- |
24-
| What Pythinker Code is; Base URL / API Key; standard vs high-speed model; platform comparison | `./` (home overview) |
25-
| Membership plans, quota and rate limits, fuel packs | `pythinker-code/membership.html` |
26-
| Install / login / usage FAQ | `pythinker-code/faq.html` |
27-
| Error codes and their meaning (e.g. 401 for high-speed model access) | `pythinker-code/error-reference.html` |
28-
| Product news and recent changes | `pythinker-code/whats-new.html` |
29-
| Community guidelines; contact and feedback | `pythinker-code/community-guidelines.html`, `pythinker-code/contact-and-feedback.html` |
30-
| `config.toml` fields, providers/models, environment variables, data locations, config overrides | `pythinker-code-cli/configuration/` — `config-files.html`, `providers.html`, `env-vars.html`, `data-locations.html`, `overrides.html` |
31-
| Skills, MCP, hooks, plugins, themes, agents/sub-agents, Pythinker Datasource | `pythinker-code-cli/customization/` — `skills.html`, `mcp.html`, `hooks.html`, `plugins.html`, `themes.html`, `agents.html`; Pythinker Datasource lives at `plugins.html#pythinker-datasource` |
32-
| Getting started, sessions and context, goals, interaction and input, IDEs, migration, use cases | `pythinker-code-cli/guides/` — `getting-started.html`, `sessions.html`, `goals.html`, `interaction.html`, `ides.html`, `migration.html`, `use-cases.html` |
33-
| Slash commands, keyboard shortcuts, builtin tools, `pythinker` command flags, ACP | `pythinker-code-cli/reference/` — `slash-commands.html`, `keyboard.html`, `tools.html`, `pythinker-command.html`, `pythinker-acp.html` |
34-
| CLI changelog | `pythinker-code-cli/release-notes/changelog.html` |
35-
| Using Pythinker Code in Claude Code and other third-party agents | `third-party-tools/other-coding-agents.html` |
24+
| What Pythinker Code is; getting started; install and first run | `./` (home overview), `guides/getting-started.html` |
25+
| Providers and models, API keys | `configuration/providers.html` |
26+
| `config.toml` fields, environment variables, data locations, config overrides | `configuration/` — `config-files.html`, `env-vars.html`, `data-locations.html`, `overrides.html` |
27+
| Skills, MCP, hooks, plugins, themes, agents/sub-agents | `customization/` — `skills.html`, `mcp.html`, `hooks.html`, `plugins.html`, `themes.html`, `agents.html` |
28+
| Sessions and context, interaction and input, IDEs, use cases | `guides/` — `sessions.html`, `interaction.html`, `ides.html`, `use-cases.html` |
29+
| Desktop app, Remote Control, browser web UI | `guides/` — `desktop.html`, `remote-control.html`, `web.html` |
30+
| Slash commands, keyboard shortcuts, builtin tools, `pythinker` command flags, ACP, server API, release channels | `reference/` — `slash-commands.html`, `keyboard.html`, `tools.html`, `pythinker-command.html`, `pythinker-acp.html`, `server-api.html`, `release-channels.html` |
31+
| CLI changelog | `release-notes/changelog.html` |
3632

3733
If no row fits the question, fetch the docs home page and follow its navigation links.
3834

‎scripts/oxlint-coverage.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import { fileURLToPath } from 'node:url';
1010
// format included); afterwards a small probe run with a forced plain format
1111
// walks a known directory and must report a real file count.
1212
const MIN_FILES = Number(process.env.LINT_MIN_FILES ?? '10');
13+
if (!Number.isFinite(MIN_FILES) || MIN_FILES <= 0) {
14+
process.stderr.write(`oxlint coverage check failed: LINT_MIN_FILES must be a positive number, got ${String(process.env.LINT_MIN_FILES)}\n`);
15+
process.exit(2);
16+
}
1317
const PROBE_DIR = 'scripts';
1418

1519
const repoBin = join(fileURLToPath(new URL('..', import.meta.url)), 'node_modules', '.bin', 'oxlint');

0 commit comments

Comments
 (0)