implementation-strategy
Skill104 starsChanged 3 months agoMITView on GitHub
Choose bounded implementation scope and existing owning modules before Guardrails runtime, configuration, client, resource, streaming, Agents, or SDK compatibility changes and feedback fixes.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- openai/openai-agents-pythontheir own version, first seen Sep 8, 2026
- openai/openai-guardrails-pythontheir own version, first seen Aug 25, 2026
- pproenca/unifi-mcptheir own version, first seen Apr 7, 2026
- openai/openai-agents-jstheir own version, first seen Feb 3, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- openai/openai-agents-python★ 30ksame name
- openai/openai-agents-js★ 3.9ksame name
- openai/openai-guardrails-python★ 257same name
- pproenca/unifi-mcp★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-change-verificationSkill
- implementation-final-reviewSkill
- implementation-kickoffSkill
- pr-draft-summarySkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
4
Distinctive
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
- Distinctive: line 8
Before implementation or a feedback fix, record the requested outcome, acceptance criteria, affected paths, compatibility requirements, and …
- Distinctive: line 15
Read the repository map and SDK migration guide.
- Distinctive: line 35
Do not add new guarded SDK methods, normalize omitted options into arbitrary defaults, or duplicate schema/conversation conversion just to …
- Very specific: line 42
Use existing unit tests beside the owning area.
- Distinctive: line 59
Use code-change-verification for checks and the release guide for changeset impact.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Implementation Strategy
Before implementation or a feedback fix, record the requested outcome, acceptance criteria, affected paths, compatibility requirements, and non-goals. Apply scope discipline. An issue's suggested implementation is evidence, not an approved API design.
Find the owning boundary
Read the repository map and SDK migration guide. Use existing configuration, validation, registry, conversation, and resource pipelines. Identify whether the affected contract is a public export, declaration, configuration format, request/response shape, exception, CLI option, or internal helper. Compare ownership changes against the intended PR base; consult a verified release tag separately when evaluating released compatibility. Report an unavailable or stale release baseline rather than treating branch-only behavior as a released guarantee.
| Boundary | Preserve and inspect |
| OpenAI/Azure clients | Async create factories, separate check client, caller options and credentials, and initialized guarded clones from withOptions() |
| Resources | Chat/Responses parameters and request options, SDK-compatible types, and the explicit guardrails namespace; do not imply every inherited SDK method is guarded |
| OpenAI 7 | Native Fetch Response/Headers, provider-specific options, and inherited SDK method contracts |
| Zod 4 | Existing schemas and their owning validation boundary; GuardrailSpec.schema() returns the definition, not JSON Schema |
| Agents | Public @openai/agents imports, built CommonJS behavior, session history, and preflight guards blocking model dispatch |
| Pipeline | pre_flight, input, output ordering and each integration's documented execution model; distinguish tripwires from execution errors |
| Streaming and history | Resource-specific output checks, conversation ordering and roles, tool-call identity, masking, and output error policy |
Do not add new guarded SDK methods, normalize omitted options into arbitrary defaults, or duplicate schema/conversation conversion just to accommodate a suggested implementation. Escalate a substantive public API or architecture change before expanding the diff.
Match tests to the changed contract
Use existing unit tests beside the owning area. For SDK boundaries, inspect
src/__tests__/integration/sdk-compat.test.ts, sdk-types.test.ts, and
sdk-migration-feedback.test.ts: they cover built-package behavior and consumer
types that source-only mocks can miss. Build before running these tests. Use
Vitest mocks/spies or SDK-provided testing utilities where they model the real
protocol. Add only tests needed for the changed behavior.
For a touched security surface, review the relevant trust boundary: untrusted configuration, provider responses, conversation content, or eval inputs, and where validation occurs before side effects. Keep this review scoped to the change; do not convert it into unrelated hardening.
Classify feedback using AGENTS.md. Fix introduced/worsened defects and narrowly necessary corrections. Record broader improvements separately. If repeated special cases suggest the approach fights an existing invariant, revisit the smallest design at the owning boundary before adding more machinery.
Use code-change-verification for checks and the release guide for changeset impact.
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.

