[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JKSW3QQ8XQ224X204HVFB":3,"skill-same:01M77JKSW3QQ8XQ224X204HVFB":45},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":44},"01M77JKSW3QQ8XQ224X204HVFB","cleanup",null,"Safe artifact pruning. Audits stale project artifacts — merged git branches, old session\u002Fcontext files, temp dirs and caches, debug screenshots — then cleans only what the user confirms. Use this when the working tree feels cluttered, before archiving a project, or after a long session. Never deletes the main\u002Fcurrent branch, env files, secrets, or databases. Side-effecting; run explicitly.","Elad73\u002Fagentic-base-layer","Elad73","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11886649?v=4","01M77JKHHH0GYX9ZBKNJ38QRAJ","EladRon","01M77JKHJNDTJ53993X2QNMHSG",0,"MIT","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fcleanup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cleanup\ndescription: Safe artifact pruning. Audits stale project artifacts — merged git branches, old session\u002Fcontext files, temp dirs and caches, debug screenshots — then cleans only what the user confirms. Use this when the working tree feels cluttered, before archiving a project, or after a long session. Never deletes the main\u002Fcurrent branch, env files, secrets, or databases. Side-effecting; run explicitly.\ndisable-model-invocation: true\nargument-hint: \"[category: git | sessions | temp | all]\"\n---\n\n# cleanup — Project Artifact Audit\n\nAudit and optionally remove stale artifacts. Audit-first, confirm-then-execute.\n\n**Usage:** `\u002Fcleanup [category]` where category is `git | sessions | temp | all` (default: `all`)\n\n---\n\n## Phase 1: Safety Pre-Check\n\n```bash\ngit status --porcelain\ngit branch --show-current\n```\n\nIf uncommitted changes exist, warn:\n> You have uncommitted changes. Cleanup will NOT touch your current branch or working files, but consider committing or stashing first.\n\nRecord the current branch name now — it is on the never-delete list.\n\n## Phase 2: Audit (collect, do not delete)\n\n### git\n```bash\n# Local branches already merged into the default branch (exclude default + current)\ngit branch --merged \"$(git symbolic-ref --short refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull | sed 's@origin\u002F@@' || echo main)\" \\\n  | grep -vE \"main|master\" | grep -v \"^\\*\"\n\n# Remote refs that no longer exist upstream\ngit remote prune origin --dry-run\n\n# Age of each local branch (for the report)\ngit for-each-ref --sort=-committerdate refs\u002Fheads\u002F --format='%(refname:short) %(committerdate:relative)'\n```\n\n### sessions\n```bash\n# Stale session\u002Fcontext handoff files, older than 14 days («adjust path to project convention»)\nfind .claude\u002Ftasks\u002F -name \"context_session_*.md\" -mtime +14 2>\u002Fdev\u002Fnull\n```\n\n### temp\n```bash\n# Build\u002Ftest\u002Ftool caches and debug artifacts — sizes only\ndu -sh .playwright-mcp\u002F test-results\u002F playwright-report\u002F node_modules\u002F.cache\u002F 2>\u002Fdev\u002Fnull\n# «PLACEHOLDER: add framework build cache dir, e.g. .next\u002F dist\u002F build\u002F»\nls -la *.png *.log *.tmp 2>\u002Fdev\u002Fnull\n```\n\n## Phase 3: Report Table\n\n| Category | Item | Age \u002F Size | Action | Safe |\n|----------|------|------------|--------|------|\n| git | [branch] | merged | delete | yes |\n| git | [remote ref] | gone | prune | yes |\n| sessions | [file] | N days | delete | yes |\n| temp | .playwright-mcp\u002F | [size] | clear | yes |\n| temp | *.png (debug) | [count] | delete | yes |\n\nMark anything ambiguous as `Safe: manual` and leave it for the user to decide.\n\n## Phase 4: Confirm\n\n```\nOptions:\n1. Clean all items marked Safe\n2. Clean a specific category\n3. Select individual items\n4. Cancel\n```\nWait for an explicit choice. Do nothing destructive before it.\n\n## Phase 5: Execute (only after confirmation)\n\n```bash\n# git\ngit remote prune origin\ngit branch --merged \"$(git symbolic-ref --short refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull | sed 's@origin\u002F@@' || echo main)\" \\\n  | grep -vE \"main|master\" | grep -v \"^\\*\" | xargs -r git branch -d\n\n# temp\nrm -rf .playwright-mcp\u002F* 2>\u002Fdev\u002Fnull\nrm -f .\u002F*.png 2>\u002Fdev\u002Fnull\n```\nUse `git branch -d` (safe; refuses unmerged), never `-D`, unless the user explicitly names a branch to force-delete.\n\n## HARD RULES — never violate\n\n1. **Never** delete the default branch (main\u002Fmaster) or the current branch.\n2. **Never** delete `.env*`, `*.pem`, `*.key`, `credentials*`, or any database\u002Fbackup file.\n3. **Never** delete without an audit and an explicit confirmation first.\n4. **Never** use `rm -rf` on paths outside the project working directory.\n5. Prefer `-d` over `-D`; prefer dry-run flags during the audit phase.\n","# cleanup — Project Artifact Audit\n\nAudit and optionally remove stale artifacts. Audit-first, confirm-then-execute.\n\n**Usage:** `\u002Fcleanup [category]` where category is `git | sessions | temp | all` (default: `all`)\n\n---\n\n## Phase 1: Safety Pre-Check\n\n```bash\ngit status --porcelain\ngit branch --show-current\n```\n\nIf uncommitted changes exist, warn:\n> You have uncommitted changes. Cleanup will NOT touch your current branch or working files, but consider committing or stashing first.\n\nRecord the current branch name now — it is on the never-delete list.\n\n## Phase 2: Audit (collect, do not delete)\n\n### git\n```bash\n# Local branches already merged into the default branch (exclude default + current)\ngit branch --merged \"$(git symbolic-ref --short refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull | sed 's@origin\u002F@@' || echo main)\" \\\n  | grep -vE \"main|master\" | grep -v \"^\\*\"\n\n# Remote refs that no longer exist upstream\ngit remote prune origin --dry-run\n\n# Age of each local branch (for the report)\ngit for-each-ref --sort=-committerdate refs\u002Fheads\u002F --format='%(refname:short) %(committerdate:relative)'\n```\n\n### sessions\n```bash\n# Stale session\u002Fcontext handoff files, older than 14 days («adjust path to project convention»)\nfind .claude\u002Ftasks\u002F -name \"context_session_*.md\" -mtime +14 2>\u002Fdev\u002Fnull\n```\n\n### temp\n```bash\n# Build\u002Ftest\u002Ftool caches and debug artifacts — sizes only\ndu -sh .playwright-mcp\u002F test-results\u002F playwright-report\u002F node_modules\u002F.cache\u002F 2>\u002Fdev\u002Fnull\n# «PLACEHOLDER: add framework build cache dir, e.g. .next\u002F dist\u002F build\u002F»\nls -la *.png *.log *.tmp 2>\u002Fdev\u002Fnull\n```\n\n## Phase 3: Report Table\n\n| Category | Item | Age \u002F Size | Action | Safe |\n|----------|------|------------|--------|------|\n| git | [branch] | merged | delete | yes |\n| git | [remote ref] | gone | prune | yes |\n| sessions | [file] | N days | delete | yes |\n| temp | .playwright-mcp\u002F | [size] | clear | yes |\n| temp | *.png (debug) | [count] | delete | yes |\n\nMark anything ambiguous as `Safe: manual` and leave it for the user to decide.\n\n## Phase 4: Confirm\n\n```\nOptions:\n1. Clean all items marked Safe\n2. Clean a specific category\n3. Select individual items\n4. Cancel\n```\nWait for an explicit choice. Do nothing destructive before it.\n\n## Phase 5: Execute (only after confirmation)\n\n```bash\n# git\ngit remote prune origin\ngit branch --merged \"$(git symbolic-ref --short refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull | sed 's@origin\u002F@@' || echo main)\" \\\n  | grep -vE \"main|master\" | grep -v \"^\\*\" | xargs -r git branch -d\n\n# temp\nrm -rf .playwright-mcp\u002F* 2>\u002Fdev\u002Fnull\nrm -f .\u002F*.png 2>\u002Fdev\u002Fnull\n```\nUse `git branch -d` (safe; refuses unmerged), never `-D`, unless the user explicitly names a branch to force-delete.\n\n## HARD RULES — never violate\n\n1. **Never** delete the default branch (main\u002Fmaster) or the current branch.\n2. **Never** delete `.env*`, `*.pem`, `*.key`, `credentials*`, or any database\u002Fbackup file.\n3. **Never** delete without an audit and an explicit confirmation first.\n4. **Never** use `rm -rf` on paths outside the project working directory.\n5. Prefer `-d` over `-D`; prefer dry-run flags during the audit phase.\n",{"name":5,"description":7,"argument-hint":24,"disable-model-invocation":25},"[category: git | sessions | temp | all]",true,"main","49131d07c65f27037f747a6e0ae748ff6f082fc1","global\u002Fskills\u002Fcleanup","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer","https:\u002F\u002Fgithub.com\u002FElad73","2026-06-23 00:00:33",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":25},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Elad73\u002Fagentic-base-layer --skill cleanup",{"tool":38,"command":39},"bunx","bunx skills add Elad73\u002Fagentic-base-layer --skill cleanup",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Elad73\u002Fagentic-base-layer --skill cleanup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fcleanup\u002FSKILL.md",[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M77JNFJ3FH3RRX9PBVZKWDNG","wrap-up","Session-end safe closeout. Updates STATUS, verifies you are on a feature branch (never main), security-greps the diff for secrets, makes a conventional commit (no AI-tool mentions), then asks for approval before pushing and opening a PR. Use this to properly close a development session. Side-effecting and gated on explicit user approval; run explicitly.","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M77JNBV46D0G35X0BPMQ69TY","wake-up","Session-start context sync. Reads project STATUS, git state, and runs a quick health check, then emits a short (\u003C15 line) announcement of where things stand and the single best next step. Use this at the beginning of a working session to re-establish context fast. Does NOT re-read CLAUDE.md (already in the system prompt). Read-only and fast.","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fwake-up\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M77JN6N1R6M90B9BX5FAQGK7","station","End-of-session composition that chains retrospect → document → cleanup → wrap-up into one closeout pipeline. Use this to fully close a working session — capture learnings, sync docs, prune artifacts, then commit and open a PR — without forgetting a step. Side-effecting; honors each sub-skill's confirmation and approval gates. Run explicitly.","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fstation\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M77JN0GC9BTN7EZ68PSHRJHK","retrospect","Post-session learning capture. Mines the current conversation for reusable patterns, pitfalls, architecture decisions, performance and security insights, then appends them to the project knowledge registry. Use this at the end of a working session, after a bug is fixed, or after a non-obvious decision is made — so the next session starts smarter. Writes structured entries to .claude\u002Fknowledge\u002FREGISTRY.md.","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fretrospect\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M77JMWMCKNK9ZSK36X4T86V5","pre-ship","Mandatory pre-commit quality gates — type-check, lint, test, build — run in order and halting on the first failure. Use this BEFORE committing any change that touches application code, so failures are caught while context is still fresh instead of by CI. Surfaces the failing tool's verbatim error and refuses to proceed until gates pass.","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fpre-ship\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M77JMQT8VRMA5H73X9887PJ4","document","Code-is-truth documentation sync. Detects drift between the codebase and project docs (STATUS.md, CLAUDE.md, README), then applies targeted edits so docs describe what the code actually is. Use this after shipping features, before a release, or when docs feel stale. Secret-scans every doc before writing. Makes small surgical edits, never wholesale rewrites.","https:\u002F\u002Fgithub.com\u002FElad73\u002Fagentic-base-layer\u002Fblob\u002Fmain\u002Fglobal\u002Fskills\u002Fdocument\u002FSKILL.md",[],[]]