asr3601-protocol-branch-matrix
Skill3 starsChanged 2 months agoMITView on GitHub
Maintain and use the local ASR3601/Crane SDK protocol reference library for APP, XCX/小程序, YL, AKQ, platform, and branch-support questions. Use when the user provides protocol PDFs/DOCX/XLSX/images/text to save or update, asks “这个上报符合协议吗”, “APP协议/小程序协议/YL/AKQ 是哪条路径”, “平台侧还是代码原因”, “当前版本有没有支持这个协议”, “这个分支能不能移植/是否已经合入”, or needs protocol evidence compared with current ASR3601 firmware code. Route concrete bug fixes to asr3601-lvgl-firmware-triage, cross-branch ports to asr3601-cross-branch-porting, and pure Zentao fetching/listing to zentao-bug-triage.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- asr3601-cross-branch-portingSkill
- asr3601-lvgl-firmware-triageSkill
- asr3601-project-onboardSkill
- asr3602-local-build-flashSkill
- asr360x-bug-delivery-orchestratorSkill
- catstudio-log-extractorSkill
- obsidian-fix-pattern-memorySkill
- skill-usage-trackerSkill
- zentao-bug-resolverSkill
- zentao-bug-triageSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill as the protocol and branch-support front door.
- Distinctive: line 27
Do not store credentials, API keys, passwords, tokens, or private login material.
- Distinctive: line 31
When the user sends a new or updated protocol file:
- Very specific: line 38
Update index.md with protocol name, version/date, original file, extracted file, applicable project/branch/path, keywords, and replacement …
- Very specific: line 39
Update matrix.md when the protocol changes APP, XCX/小程序, YL, AKQ, platform, branch support, command fields, report functions, or known …
- Very specific: line 42
If extraction is incomplete, record the gap in index.md and continue with the usable evidence.
- Very specific: line 44
Keep original Markdown bytes unchanged.
- Very specific: line 64
Search index.md, matrix.md, and only the relevant extracted protocol files with concrete terms from the user request:
- Distinctive: line 77
Search firmware code by stable clues from the protocol, not by broad guesses:
- Very specific: line 91
Always cite decisive evidence: protocol file/version, matrix.md row, code file/function, branch/commit, log line, or missing runtime proof.
- Distinctive: line 127
If the next step is a code fix or port, explicitly name the specialist skill to enter next.
≈ “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
ASR3601 Protocol Branch Matrix
Use this skill as the protocol and branch-support front door. It keeps protocol documents in the user's Obsidian vault and uses them to decide whether a behavior belongs to firmware code, APP/XCX/YL/AKQ protocol mismatch, platform parsing, or branch/product support.
Fixed Paths
Protocol library:
%USERPROFILE%\Documents\Obsidian\CodexVault\Codex\references\asr3601-protocolsRequired files:
raw\ original protocol files, never overwritten
extracted\ searchable Markdown/text extracted from originals
index.md file versions, applicability, keywords, source mapping
matrix.md APP / XCX / YL / AKQ / platform path and branch matrixDo not store credentials, API keys, passwords, tokens, or private login material.
Protocol File Update Workflow
When the user sends a new or updated protocol file:
- Save the original under
raw\with a date/version/source name such asYYYYMMDD-app-protocol-v3-user.pdf. - Extract searchable text into
extracted\when practical:- PDF: use available PDF tooling or text extraction.
- DOCX/XLSX: use structured document/spreadsheet tooling when available.
- Image/screenshot: visually inspect and transcribe only the relevant protocol fields.
- Update
index.mdwith protocol name, version/date, original file, extracted file, applicable project/branch/path, keywords, and replacement relationship. - Update
matrix.mdwhen the protocol changes APP, XCX/小程序, YL, AKQ, platform, branch support, command fields, report functions, or known caveats. - Preserve old versions. Mark superseded versions in
index.mdinstead of overwriting them.
If extraction is incomplete, record the gap in index.md and continue with the usable evidence.
Keep original Markdown bytes unchanged. For originals without frontmatter,
register each exact raw/ path and SHA-256 under external_sources in this
library's index.md; never refresh a mismatched hash without investigating.
The architecture audit validates registered originals and their local links.
Give extracted Markdown the required Vault frontmatter: area: engineering,
domains: [asr], scope: [topic/protocol], kind: source-extract,
codex_access: read, trust: derived, lifecycle: active, and a relative
source path to its original. Preserve extraction gaps and evidence limits.
Protocol Question Workflow
For “是否符合协议/哪边问题/当前分支是否支持”:
- Identify the protocol path:
- APP
- XCX / 小程序
- YL
- AKQ
- platform/common backend
- unknown, needs evidence
- Search
index.md,matrix.md, and only the relevant extracted protocol files with concrete terms from the user request:- command/event/report name
- field name
- enum value
- platform name
- code filename/function if provided
- For code comparison, reuse the current task snapshot or inspect the relevant live branch/version and parser/formatter. Read only the identity fields that determine protocol applicability. A generated protocol label is a search hint; confirm active support in source/configuration and the applicable document. Refresh stale facts needed by the comparison, not the full build/device/Zentao context for every field question.
- Search firmware code by stable clues from the protocol, not by broad guesses:
- APP/XCX/YL/AKQ keywords
- report/event/function names
- field names and enum values
- known project terms such as
akq_xcx_protocal,yl,ylsc_show,AquaBot,IMEI,ICCID,location,battery,SIM
- Decide with one of these labels:
- 固件未发送
- 固件发送字段不一致
- 平台未识别
- 当前分支不支持
- 其他分支已支持,当前缺失
- 产品/客户/平台变体差异
- 协议资料不足
Always cite decisive evidence: protocol file/version, matrix.md row, code file/function, branch/commit, log line, or missing runtime proof.
Routing Rules
- Pure “抓 bug/当前 bug/禅道有哪些 bug”: use
zentao-bug-triage. - Concrete bug report with screenshots/logs/repro steps: use
asr3601-lvgl-firmware-triagefor the direct Codex investigation, then return here only for protocol ambiguity. - Current-branch firmware code fix: use
asr3601-lvgl-firmware-triageafter this skill frames the protocol conclusion. - Cross-branch or sibling-project migration: use
asr3601-cross-branch-portingafter identifying source/target protocol support. - Verified reusable protocol fixes: update
Codex\fix-patterns\throughobsidian-fix-pattern-memoryunless the user says not to record. - Release packaging for AKQ: use
akq-firmware-release; this skill only decides protocol support and evidence.
Output Shape
For protocol file updates:
已保存原件:
已提取文本:
已更新索引:
已更新矩阵:
未完成/需要补充:For protocol/code decisions:
结论:
协议路径:
当前分支/提交:
协议依据:
代码依据:
属于哪一侧:
下一步:
风险/缺口:If the next step is a code fix or port, explicitly name the specialist skill to enter next.
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.

