[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E8X3JBDYYN9EXQENC3J5QR":3,"skill-same:01M7E8X3JBDYYN9EXQENC3J5QR":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7E8X3JBDYYN9EXQENC3J5QR","debug-error",null,"Systematic debugging of an error or bug - reproduce, read logs and error tracking, form hypotheses, minimal fix, regression test, and save the lesson to memory. Use when given a stack trace, an error message, a failing test, an error-tracker alert, or \"this doesn't work\".","ngentile92\u002Fmnemos","ngentile92","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87906865?v=4","01M7E8WERDXTQ76PMJD1HTD165","Nicolas Gentile","01M7E8WESDCPS8MEED5021NYFK",4,"MIT","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fshared\u002Fdebug-error\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: debug-error\ndescription: Systematic debugging of an error or bug - reproduce, read logs and error tracking, form hypotheses, minimal fix, regression test, and save the lesson to memory. Use when given a stack trace, an error message, a failing test, an error-tracker alert, or \"this doesn't work\".\nmetadata:\n  hub-owner: shared\n  version: \"1\"\n---\n\n# Debug an error\n\n## 0. Context first\n- `memory_search` with the error message, module or symptom: it may have been solved before.\n- Identify the repo and its stack from the code itself (`pyproject.toml`, `package.json`, `compose.yaml`, CI config).\n  Don't assume a framework you haven't seen in the repo.\n\n## 1. Reproduce\n- Write down the exact failing command and expected vs actual result.\n- Shrink the case: one test, one `curl`, one script. No repro, no fix: if you can't reproduce, say what is missing\n  (data, env, version).\n\n## 2. Evidence\n- Full stack trace: find the first frame in *our* code, not the library's.\n- Logs: `docker compose logs \u003Cservice> --since 30m`, the hosting platform's logs, or the repo's `logs\u002F`.\n- **Error tracking** (Sentry or similar, if the project uses it and a connector is available): find the issue, look at\n  events, tags (release, environment), breadcrumbs and when it started.\n- What changed: `git log --since=\"3 days ago\" --oneline`, `git diff`, dependency upgrades, environment variables\n  (names only, never values).\n\n## 3. Hypotheses\n- List 1-3 hypotheses ordered by likelihood, each with the evidence that would confirm or rule it out.\n- Test one at a time with the cheapest experiment (log line, breakpoint, test). Note what you ruled out.\n\n## 4. Minimal fix\n- The smallest change that addresses the root cause, not the symptom. No opportunistic refactors in the same change.\n- If the fix is a workaround, say so and leave a TODO pointing to the issue.\n\n## 5. Regression test\n- A test that fails without the fix and passes with it (`pytest path\u002Fto\u002Ftest.py -k \u003Cname>`, `npm test`, ...).\n- Run the repo's linters\u002Ftype checkers (`ruff`, `mypy`, `npm run lint`, `tsc`, whatever the repo uses).\n\n## 6. Wrap-up\n- Summary: root cause, fix (file:line), test added, residual risk.\n- If it came from an error tracker, suggest resolving the issue with the fix's release; don't change it unless asked.\n- `memory_save`: \"Bug \u003Csymptom> in \u003Crepo> (\u003Cdate>): cause \u003CX>, fix \u003CY>, how to detect it\". Pass `project` where required.\n- If you need to call an API with credentials to reproduce, use `secrets_list` + `secret_http_request`; never ask for\n  or paste a key's value.\n","# Debug an error\n\n## 0. Context first\n- `memory_search` with the error message, module or symptom: it may have been solved before.\n- Identify the repo and its stack from the code itself (`pyproject.toml`, `package.json`, `compose.yaml`, CI config).\n  Don't assume a framework you haven't seen in the repo.\n\n## 1. Reproduce\n- Write down the exact failing command and expected vs actual result.\n- Shrink the case: one test, one `curl`, one script. No repro, no fix: if you can't reproduce, say what is missing\n  (data, env, version).\n\n## 2. Evidence\n- Full stack trace: find the first frame in *our* code, not the library's.\n- Logs: `docker compose logs \u003Cservice> --since 30m`, the hosting platform's logs, or the repo's `logs\u002F`.\n- **Error tracking** (Sentry or similar, if the project uses it and a connector is available): find the issue, look at\n  events, tags (release, environment), breadcrumbs and when it started.\n- What changed: `git log --since=\"3 days ago\" --oneline`, `git diff`, dependency upgrades, environment variables\n  (names only, never values).\n\n## 3. Hypotheses\n- List 1-3 hypotheses ordered by likelihood, each with the evidence that would confirm or rule it out.\n- Test one at a time with the cheapest experiment (log line, breakpoint, test). Note what you ruled out.\n\n## 4. Minimal fix\n- The smallest change that addresses the root cause, not the symptom. No opportunistic refactors in the same change.\n- If the fix is a workaround, say so and leave a TODO pointing to the issue.\n\n## 5. Regression test\n- A test that fails without the fix and passes with it (`pytest path\u002Fto\u002Ftest.py -k \u003Cname>`, `npm test`, ...).\n- Run the repo's linters\u002Ftype checkers (`ruff`, `mypy`, `npm run lint`, `tsc`, whatever the repo uses).\n\n## 6. Wrap-up\n- Summary: root cause, fix (file:line), test added, residual risk.\n- If it came from an error tracker, suggest resolving the issue with the fix's release; don't change it unless asked.\n- `memory_save`: \"Bug \u003Csymptom> in \u003Crepo> (\u003Cdate>): cause \u003CX>, fix \u003CY>, how to detect it\". Pass `project` where required.\n- If you need to call an API with credentials to reproduce, use `secrets_list` + `secret_http_request`; never ask for\n  or paste a key's value.\n",{"name":5,"metadata":24,"description":7},{"version":25,"hub-owner":26},"1","shared","main","975f3927027c15c51a62020786c31e9b84bf7923","examples\u002Fskills\u002Fskills\u002Fshared\u002Fdebug-error",1,"https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos","https:\u002F\u002Fgithub.com\u002Fngentile92","2026-11-02 03:28:07",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ngentile92\u002Fmnemos --skill debug-error",{"tool":40,"command":41},"bunx","bunx skills add ngentile92\u002Fmnemos --skill debug-error",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ngentile92\u002Fmnemos --skill debug-error","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fshared\u002Fdebug-error\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7E8XXY7B3WF14QD3BCH6H08","incident-postmortem","Writes a blameless incident postmortem (timeline, impact, root cause, contributing factors, action items) from logs, chat history or notes. Use after an outage, a failed deploy or a production bug, or when asked for an \"incident report\" or \"postmortem\".","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fwork\u002Fincident-postmortem\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7E8XV3TTMVHXME1GNBJ19NA","release-notes","Writes user-facing release notes and a changelog entry from merged PRs or commits since the last release. Use when asked for \"release notes\", a \"changelog\" or \"what changed since vX\".","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fside\u002Frelease-notes\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7E8XQ2W849DKXKXMP6S7T8V","technical-docs","Writes technical documentation, specs and design docs (context, goals, ADR-style decisions, mermaid diagrams, rollout plan) and suggests where to store them. Use when asked to \"document this\", for a design doc, a spec, an ADR, a technical proposal or an architecture README.","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fshared\u002Ftechnical-docs\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E8XKCVF0Z2XMKHEF8F5FFN","status-report","Builds a status report (weekly or for a period) by combining git history, the task tracker and hub memory; returns done \u002F in progress \u002F blockers \u002F next steps. Use when asked for a status report, a weekly, \"what did I do this week\", a standup summary or an update for a manager.","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fshared\u002Fstatus-report\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7E8XF8BC23TTSR1NZ61ZDEN","review-pr","Reviews a pull request with a fixed checklist (correctness, security, tests, readability) and returns prioritized findings. Use when asked to review a PR, a diff or a code change.","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fshared\u002Freview-pr\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7E8XAWJZVCQX2FQ8KN3Q0BR","memory-capture","Decides what is worth remembering from the conversation and saves it as short, self-contained notes with [[links]] to people, companies and projects. Use when the user says \"remember this\", \"save this\", \"note that\", or at the end of a session with decisions worth keeping.","https:\u002F\u002Fgithub.com\u002Fngentile92\u002Fmnemos\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fskills\u002Fshared\u002Fmemory-capture\u002FSKILL.md",[],[]]