feat: add CodeNomad architecture guide skill for contributors#493
Conversation
Add comprehensive architecture and SDK navigation skill to help contributors navigate the codebase without missing related code. The skill includes: - Architecture overview with 6 functional areas and package map - UI conventions (SolidJS, i18n with 7 locales, stores, components) - Server conventions (Fastify, API types, testing) - Desktop conventions (Electron + Tauri parity, native abstractions) - OpenCode SDK V2 reference with all 10 categories used by CodeNomad - SDK critical behaviors (schema gotchas, limitations, decision matrix) - SDK integration patterns (client lifecycle, error handling, optimistic updates) - Feature traces with decision branches for 5 end-to-end flows - Anti-patterns with file references to prevent common mistakes - Implementation checklist and escape hatch All navigation guidance uses standard grep/file search tools that any contributor can use without requiring RPG MCP server.
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
Gatekeeper review for latest PR state, as requested. I reviewed this as a strict quality/regression check for the added Verdict: request changes The idea is useful, but the current skill is not merge-ready because it contains several authoritative-looking references that are wrong for this repository. For a navigation skill, stale or invalid guidance is a functional regression: it will cause future agents to waste time, trust non-existent files, and implement against APIs/events that do not exist. Blocking findings
Better implementation direction
Non-blocking notes
Given the purpose of this PR, accuracy is the product. I would not merge until the false paths and mismatched SDK/event references are corrected. -- |
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26216907505 Artifacts expire in 7 days.
|
1 similar comment
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26216907505 Artifacts expire in 7 days.
|
Address PR review feedback for codenomad-architecture-guide skill: - Fix SDK API reference to only document methods actually used by CodeNomad - Remove non-existent SDK paths (packages/sdk/js/src/v2/, packages/opencode/src/) - Correct event names: permission.requested → permission.asked/updated, question.requested → question.asked - Fix SDK method references: client.part.delete (not session.message.part.delete), document raw DELETE for messages since SDK lacks typed method - Remove unverifiable backend behavior claims or label as upstream - Update verification instructions to check node_modules type declarations - Add explicit note that SDK implementation lives outside this repo
|
Commit: Files changed (5):
|
|
@CodeNomadBot |
|
Gatekeeper re-review for latest PR state after Verdict: request changes The previous major issues are mostly improved: the deleted repo-local SDK/OpenCode source paths are gone, permission/question event names are now aligned with There are still correctness issues that matter for a navigation skill. Blocking findings
Non-blocking notes
Recommendation Fix the -- |
…y type Address second round of PR review feedback: - Remove mandatory SDK verification that fails in fresh checkouts - Add fallback guidance for when node_modules is unavailable - Fix question.reply type: answers is string[][] not string[] - Make SDK verification conditional with npm install prerequisite - Verified against packages/ui/src/stores/instances.ts:1033
|
Commit: Fixes applied:
|
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26217770794 Artifacts expire in 7 days.
|
|
@CodeNomadBot |
|
Gatekeeper re-review for latest PR state after Verdict: acceptable to merge from my review I do not see remaining blocking issues in the updated skill. Previously blocking items
Additional checks performed
Non-blocking polish
No further blocker from me on this PR. -- |
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26218623852 Artifacts expire in 7 days.
|
|
|
|
agent easy forgot AGENTS.md, but user can /skillname for make agent load skill if he didnt |
1.
|
Address PR review feedback: - Document client.file.list() and client.file.read() as actively used (RightPanel.tsx uses both via browserClient) - Change 'All SDK calls go through requestData()' to 'Most SDK calls' since direct SDK calls exist (rootClient.project.current(), etc.) - Update config file paths: YAML is canonical, JSON is legacy fallback - Remove overly absolute statements that don't match actual code
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26230995447 Artifacts expire in 7 days.
|
Summary
Add comprehensive architecture and SDK navigation skill to help contributors navigate the codebase without missing related code.
What's Included
Design Decisions
Files Added
.opencode/skills/codenomad-architecture-guide/ ├── SKILL.md └── references/ ├── architecture-overview.md ├── ui-conventions.md ├── server-conventions.md ├── desktop-conventions.md ├── sdk-api-reference.md ├── sdk-critical-behaviors.md ├── sdk-integration-patterns.md └── feature-traces.md