upstream-pr-remediation
Skill9 starsChanged 3 months agoMITView on GitHub
Implement only the approved blocking fixes for upstream Open Knowledge Studio PR 4. Use when addressing its Feishu safety, cross-platform CLI, git hygiene, and Raw protocol documentation review findings; do not push, create a PR, or call real Feishu.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- acceptSkill
- review-upstream-prSkill
- open-knowledge-studioSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Keep .oks/ ignored and add a regression test for candidate, run, and lock paths.
- Distinctive: line 30
Add focused tests for all five requirements, including Linux/Windows resolver selection, missing-CLI lazy failure, default versus explicit …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Upstream PR 4 remediation
Work only in the dedicated remediation worktree. Preserve unrelated uncommitted work in the primary checkout. Do not push, open a PR, use Feishu credentials, or call a real Base.
Required changes
- Keep
.oks/ignored and add a regression test for candidate, run, and lock paths. - Provide one lazily called, shared Lark CLI resolver. Prefer
LARK_CLI_EXE; supportlark-cli.cmd/.exeon Windows andlark-clion Linux/macOS. Importing either Feishu module must not require a CLI installation. - Make Feishu setup redact Base tokens by default. Add
--show-credentialsas the only opt-in full-display path. Default output and raised errors must not expose a Base token. - Redact token/Bearer material and home-directory paths before writing a failed record's error text to Base; truncate after redaction.
- Restore a concise compatibility contract in the Raw protocol document: v0.1 invariants, v0.1-to-v0.2 mapping, reader compatibility, and migration route. Keep connector schemas and capability manifests as the v0.2 authority.
Required evidence
Add focused tests for all five requirements, including Linux/Windows resolver
selection, missing-CLI lazy failure, default versus explicit credential display,
error redaction, and the ignore contract. Run the full test suite and
git diff --check.
Handoff
Return a concise report with: changed files, each review item and its test, full test command/result, unresolved non-blocking review suggestions, and risks. Do not commit, push, reply to GitHub, or resolve review threads.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

