[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J2CVPE97499AV4RBTW2E2W":3,"skill-same:01M6J2CVPE97499AV4RBTW2E2W":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M6J2CVPE97499AV4RBTW2E2W","lessons",null,"Use when about to edit a file or run a state-changing command, or after any failure, correction, or surprising result.","sampleXbro\u002Fagentsmesh","sampleXbro","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55853222?v=4","01M6J1A11VAS9QEE92CHHMBCKC","Serhii Zhabskyi","01M6J1A16FCGNMMABYE0P6SNTF",29,"MIT","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Fplugins\u002Fagentsmesh-lessons\u002Fskills\u002Flessons\u002FSKILL.md",[],[5,19,20,21,22,23,24,25],"run","state","file","command","edit","use","about","2026-11-10 10:12:30",false,"---\nname: lessons\ndescription: Use when about to edit a file or run a state-changing command, or after any failure, correction, or surprising result.\n---\n\n> **In this plugin, reach lessons through the MCP tools** — `lessons_query`,\n> `lessons_add`, `lessons_topics`, `lessons_show`, `lessons_deprecate` — which\n> this plugin ships and which work in any repository. The `agentsmesh` CLI\n> commands named below are the equivalent shell form; use them only if the CLI\n> is installed. Everything else on this page applies unchanged.\n\n# Lessons — operating manual (Iron Law)\n\n## The Iron Law\n\n**NO MUTATION WITHOUT RECALL. NO COMPLETION WITHOUT A CAPTURE DECISION.**\n\nViolating the letter is violating the spirit. Edited a file or ran a state-changing\ncommand without recall? Process violation. Did the turn hit a failure \u002F correction \u002F\nregression \u002F wrong assumption \u002F surprise and you have not captured (nor stated\n`Lesson: none`)? The task is INCOMPLETE — and the user will check. The graph\n`.agentsmesh\u002Flessons\u002Flessons.json` is canonical — never hand-edit.\n\n## Recall — before each edit\u002Fcommand, and at task start\n\n`agentsmesh lessons query --file \u003Cpath> --cmd \u003Ccommand> --session auto`, then apply every\nrule. Pure-read commands (read-only) and the query itself are exempt. **keyword-only recall\nfor a specific edit is the anti-pattern** — anchor those to `--file`\u002F`--cmd`. But at the\nSTART of a task (or when planning), run `agentsmesh lessons query --keyword \"\u003Cthe task's\nkey terms>\" --always --session auto`: that surfaces the conceptual rules no file\u002Fcommand\nnames PLUS the universal always-on lessons — the manual equivalent of the automatic prompt\nrecall on hook-capable tools. **Always pass `--session auto`**: it suppresses rules already\nshown this session so repeat recalls stay quiet (without it every recall re-delivers the\nwhole matched set); `--no-dedup` re-shows everything after a context reset. Author a\n`keyword` trigger beside a `file_glob` on conceptual lessons so they are reachable both\nways. No shell → MCP `lessons_query` (`file`\u002F`command`\u002F`keyword`\u002F`always`; session dedup\nis on by default there — `no_dedup:true` to re-show).\n\n## Capture — Gate Function (before any completion claim)\n\n1. **SELF-CRITIQUE**: any failure, correction, regression, wrong assumption,\n   useful surprise, repeated friction, or non-obvious fix? Failing\n   tests\u002Flint\u002Ftypecheck and user\u002Freview corrections — yours or anyone's — all count.\n   PROCESS\u002FTOOLING surprises count too (a sandbox command that silently no-op'd, a port\n   already in use, a library's argument shape) — trigger those with `--trigger-cmd`. So\n   does a review finding you REVIEWED then deliberately REJECTED: capture it as a \"do NOT\n   refactor\" guard so the reasoning survives the session.\n2. **CAPTURE** a reusable imperative rule with an effective trigger (else say so):\n   `agentsmesh lessons add \"\u003Crule>\" --topic \u003Cid> --trigger-file \u003Cglob>`. Trigger on the\n   file-CLASS where it will RECUR (e.g. `**\u002Flib\u002Fuse*Form*.ts`), NOT the single file you\n   discovered it in — and NOT a broad `src\u002F**`. If the rule is a UNIVERSAL standard that\n   applies to EVERY task (a comment\u002Ftest\u002Fstyle convention no file or command names),\n   capture it with `--scope always` instead — it needs no trigger and is delivered on\n   every task.\n3. **RECEIPT**: emit `Lesson: captured \u003Cid>` or `Lesson: none`.\n\nAt least one _effective_ trigger is required (or `--scope always` for a universal rule) or\nthe capture is rejected (`UNRECALLABLE_LESSON`); prefer `--trigger-file`. No shell → MCP `lessons_query`,\n`lessons_add`, `lessons_topics`, `lessons_show`, `lessons_deprecate`. Run\n`agentsmesh lessons --help` for every subcommand and flag: query, add, topics, show,\ndeprecate, merge, untrigger, strip-markers, prune, journal, validate, resolve, stats, import-md.\nA git merge conflict in `lessons.json` → run `agentsmesh lessons resolve`; never hand-edit it.\n\n### Rationalization Prevention — these excuses mean STOP\n\n| Excuse | Reality |\n| --- | --- |\n| \"Small edit \u002F I already know this \u002F later\" | Query first — skipping recall is a process violation |\n| \"Nothing reusable here\" | You hit a failure\u002Fsurprise — name it or capture it |\n| \"My own TDD red, not a real failure\" | A red you did not predict IS a lesson |\n| \"I fixed one site; the twin is obvious\" | Capture it — the unfixed twin is what gets missed |\n| \"Different words, so the rule doesn't apply\" | Spirit over letter |\n\n## Lesson gate — before final response\n\nThe final response MUST carry the receipt: `Lesson: captured \u003Cid>` or `Lesson: none`.\nNo receipt = task incomplete. Do not capture one-off facts, task summaries, or project\ncontext — only reusable imperative rules with an effective trigger.\n","> **In this plugin, reach lessons through the MCP tools** — `lessons_query`,\n> `lessons_add`, `lessons_topics`, `lessons_show`, `lessons_deprecate` — which\n> this plugin ships and which work in any repository. The `agentsmesh` CLI\n> commands named below are the equivalent shell form; use them only if the CLI\n> is installed. Everything else on this page applies unchanged.\n\n# Lessons — operating manual (Iron Law)\n\n## The Iron Law\n\n**NO MUTATION WITHOUT RECALL. NO COMPLETION WITHOUT A CAPTURE DECISION.**\n\nViolating the letter is violating the spirit. Edited a file or ran a state-changing\ncommand without recall? Process violation. Did the turn hit a failure \u002F correction \u002F\nregression \u002F wrong assumption \u002F surprise and you have not captured (nor stated\n`Lesson: none`)? The task is INCOMPLETE — and the user will check. The graph\n`.agentsmesh\u002Flessons\u002Flessons.json` is canonical — never hand-edit.\n\n## Recall — before each edit\u002Fcommand, and at task start\n\n`agentsmesh lessons query --file \u003Cpath> --cmd \u003Ccommand> --session auto`, then apply every\nrule. Pure-read commands (read-only) and the query itself are exempt. **keyword-only recall\nfor a specific edit is the anti-pattern** — anchor those to `--file`\u002F`--cmd`. But at the\nSTART of a task (or when planning), run `agentsmesh lessons query --keyword \"\u003Cthe task's\nkey terms>\" --always --session auto`: that surfaces the conceptual rules no file\u002Fcommand\nnames PLUS the universal always-on lessons — the manual equivalent of the automatic prompt\nrecall on hook-capable tools. **Always pass `--session auto`**: it suppresses rules already\nshown this session so repeat recalls stay quiet (without it every recall re-delivers the\nwhole matched set); `--no-dedup` re-shows everything after a context reset. Author a\n`keyword` trigger beside a `file_glob` on conceptual lessons so they are reachable both\nways. No shell → MCP `lessons_query` (`file`\u002F`command`\u002F`keyword`\u002F`always`; session dedup\nis on by default there — `no_dedup:true` to re-show).\n\n## Capture — Gate Function (before any completion claim)\n\n1. **SELF-CRITIQUE**: any failure, correction, regression, wrong assumption,\n   useful surprise, repeated friction, or non-obvious fix? Failing\n   tests\u002Flint\u002Ftypecheck and user\u002Freview corrections — yours or anyone's — all count.\n   PROCESS\u002FTOOLING surprises count too (a sandbox command that silently no-op'd, a port\n   already in use, a library's argument shape) — trigger those with `--trigger-cmd`. So\n   does a review finding you REVIEWED then deliberately REJECTED: capture it as a \"do NOT\n   refactor\" guard so the reasoning survives the session.\n2. **CAPTURE** a reusable imperative rule with an effective trigger (else say so):\n   `agentsmesh lessons add \"\u003Crule>\" --topic \u003Cid> --trigger-file \u003Cglob>`. Trigger on the\n   file-CLASS where it will RECUR (e.g. `**\u002Flib\u002Fuse*Form*.ts`), NOT the single file you\n   discovered it in — and NOT a broad `src\u002F**`. If the rule is a UNIVERSAL standard that\n   applies to EVERY task (a comment\u002Ftest\u002Fstyle convention no file or command names),\n   capture it with `--scope always` instead — it needs no trigger and is delivered on\n   every task.\n3. **RECEIPT**: emit `Lesson: captured \u003Cid>` or `Lesson: none`.\n\nAt least one _effective_ trigger is required (or `--scope always` for a universal rule) or\nthe capture is rejected (`UNRECALLABLE_LESSON`); prefer `--trigger-file`. No shell → MCP `lessons_query`,\n`lessons_add`, `lessons_topics`, `lessons_show`, `lessons_deprecate`. Run\n`agentsmesh lessons --help` for every subcommand and flag: query, add, topics, show,\ndeprecate, merge, untrigger, strip-markers, prune, journal, validate, resolve, stats, import-md.\nA git merge conflict in `lessons.json` → run `agentsmesh lessons resolve`; never hand-edit it.\n\n### Rationalization Prevention — these excuses mean STOP\n\n| Excuse | Reality |\n| --- | --- |\n| \"Small edit \u002F I already know this \u002F later\" | Query first — skipping recall is a process violation |\n| \"Nothing reusable here\" | You hit a failure\u002Fsurprise — name it or capture it |\n| \"My own TDD red, not a real failure\" | A red you did not predict IS a lesson |\n| \"I fixed one site; the twin is obvious\" | Capture it — the unfixed twin is what gets missed |\n| \"Different words, so the rule doesn't apply\" | Spirit over letter |\n\n## Lesson gate — before final response\n\nThe final response MUST carry the receipt: `Lesson: captured \u003Cid>` or `Lesson: none`.\nNo receipt = task incomplete. Do not capture one-off facts, task summaries, or project\ncontext — only reusable imperative rules with an effective trigger.\n",{"name":5,"description":7},"master","2a22abcae4e5677b6e385b5a0e144c48baac4a94","plugins\u002Fagentsmesh-lessons\u002Fskills\u002Flessons",7,"https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh","https:\u002F\u002Fsamplexbro.github.io\u002Fagentsmesh\u002F","https:\u002F\u002Fgithub.com\u002FsampleXbro","Senior Software Engineer · React · TypeScript · Next.js · Smart TV specialist (Tizen, webOS, Android TV)","2026-11-06 03:06:21",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add sampleXbro\u002Fagentsmesh --skill lessons",{"tool":46,"command":47},"bunx","bunx skills add sampleXbro\u002Fagentsmesh --skill lessons",{"tool":49,"command":50},"pnpm","pnpm dlx skills add sampleXbro\u002Fagentsmesh --skill lessons","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Fplugins\u002Fagentsmesh-lessons\u002Fskills\u002Flessons\u002FSKILL.md",true,[],[55,71,87,113,119,138],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":66,"publishedAt":26},"01M6J2GJ4NDEPJND2GAXN0VPRB","research","Research docs and summarize decisions","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Fwindsurf-project\u002F.windsurf\u002Fskills\u002Fresearch\u002FSKILL.md",[61],{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[57,67,68,69,70],"docs","summarize","decisions","research docs",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":80,"publishedAt":26},"01M6J2GF8WQVFP75AMJWV7YM50","debugging","Systematic debugging workflow for production failures and test regressions.","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Fwarp-project\u002F.warp\u002Fskills\u002Fdebugging\u002FSKILL.md",[77],{"categoryNo":78,"categoryName":79,"taxonomyType":64,"taxonomyTypeDesc":65},"01JBSEEDCAT000000000000023","Skill与智能体开发",[73,81,82,83,84,85,86],"systematic debugging","workflow","test","Production","systematic","for",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":102,"publishedAt":26},"01M6J2GAQRCM0KV565J63STPWB","api-generator","Generate REST API endpoints with validation and tests","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Ftrae-project\u002F.trae\u002Fskills\u002Fapi-generator\u002FSKILL.md",[93,96,97],{"categoryNo":94,"categoryName":95,"taxonomyType":64,"taxonomyTypeDesc":65},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":78,"categoryName":79,"taxonomyType":64,"taxonomyTypeDesc":65},{"categoryNo":98,"categoryName":99,"taxonomyType":100,"taxonomyTypeDesc":101},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[103,104,105,106,107,108,109,110,111,112],"api","api generator","generator","REST","endpoints","rest api","tests","with","validation","generate",{"skillNo":114,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":118,"publishedAt":26},"01M6J2G7VF3A2EGK5YBR4BM9KS","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Frovodev-project\u002F.rovodev\u002Fskills\u002Fdebugging\u002FSKILL.md",[117],{"categoryNo":78,"categoryName":79,"taxonomyType":64,"taxonomyTypeDesc":65},[73,86,82,83,81,84,85],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":126,"publishedAt":26},"01M6J2G4VHBHSPXGVQRZCH8CDW","typescript-pro","Apply advanced TypeScript patterns including conditional types, template literal types, and mapped types","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Froo-code-project\u002F.roo\u002Fskills\u002Ftypescript-pro\u002FSKILL.md",[125],{"categoryNo":98,"categoryName":99,"taxonomyType":100,"taxonomyTypeDesc":101},[127,128,129,130,131,132,133,134,135,136,137],"typescript","typescript pro","pro","patterns","code","architect","template","typescript patterns","Literal","types","advanced",{"skillNo":139,"name":73,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":144,"publishedAt":26},"01M6J2G2133FJ5SAHK9WX4YVNV","Systematic debugging workflow for Replit projects","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Freplit-agent-project\u002F.agents\u002Fskills\u002Fdebugging\u002FSKILL.md",[143],{"categoryNo":78,"categoryName":79,"taxonomyType":64,"taxonomyTypeDesc":65},[73,81,145,85,86,82],"projects"]