[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DVMPSKKVQBNN9H6YCKNFWH":3,"skill-same:01M6DVMPSKKVQBNN9H6YCKNFWH":63},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6DVMPSKKVQBNN9H6YCKNFWH","context-window-management",null,"ACTIVATE when context is getting long, when quality of responses degrades, when working on large codebases, or when a session has been running for 30+ minutes. ACTIVATE for 'context too long', 'losing track', 'fresh session', 'context window'. Provides rules for managing context utilization to maintain response quality. DO NOT use at the start of short sessions.","FabienSalles\u002Fclaude-marketplace","FabienSalles","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F937901?v=4","01M6DVJBD31CJKRB382FQFZ5FH","Fabien Salles","01M6DVJBQNY8Q18KJD1ESAD6TX",9,"MIT","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcommon\u002Fskills\u002Fcontext-window-management\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"window management","management","context","context window management","quality","Rules","short","start","sessions","session","utilization","use","activate","do","maintain","fresh","long","2026-11-10 10:12:30",false,"---\nname: context-window-management\ndescription: ACTIVATE when context is getting long, when quality of responses degrades, when working on large codebases, or when a session has been running for 30+ minutes. ACTIVATE for 'context too long', 'losing track', 'fresh session', 'context window'. Provides rules for managing context utilization to maintain response quality. DO NOT use at the start of short sessions.\n---\n\n# Context Window Management\n\nRules for maintaining response quality as conversations grow.\n\n## Warning Signs\n\n- You're re-reading files you already read earlier in the session\n- Responses start missing details or contradicting earlier decisions\n- The user has to repeat instructions\n- You lose track of what was already done vs what remains\n\n## Rules\n\n### 1. Offload to Files\n\nNever keep large outputs only in context. Write them to files:\n- Plans → `.claude\u002Fplans\u002F\u003Cname>.md`\n- Research findings → `.claude\u002Fresearch\u002F\u003Cname>.md`\n- Progress tracking → update plan checkboxes or task lists\n\n### 2. Suggest Fresh Sessions\n\nWhen you notice degradation, proactively suggest:\n> \"The context has grown long. I recommend saving the current progress and continuing in a fresh session.\"\n\nBefore suggesting, ensure you've saved:\n- Current progress (what's done, what remains)\n- Key decisions made\n- Any blockers or open questions\n\n### 3. Read Selectively\n\n- Don't read entire files when you need a specific function\n- Use `offset` and `limit` parameters on Read\n- Use Grep to find specific sections instead of reading whole files\n- Prefer Glob over recursive directory reads\n\n### 4. Minimize Tool Output Bloat\n\n- Use `head_limit` on Grep results\n- Avoid running commands that produce large output (e.g., `npm install` verbose)\n- When a command produces unexpected large output, summarize and move on\n\n### 5. Session Handoff Template\n\nWhen suggesting a fresh session, save this to `.claude\u002Fplans\u002F\u003Ctask>-handoff.md`:\n\n```markdown\n## Session Handoff — \u003Ctask>\n\n### Completed\n- [what was done]\n\n### In Progress\n- [current step, what's partially done]\n\n### Remaining\n- [what still needs to be done]\n\n### Key Decisions\n- [decisions made and why]\n\n### Resume Instructions\nStart by reading this file, then continue from \"In Progress\".\n```\n","# Context Window Management\n\nRules for maintaining response quality as conversations grow.\n\n## Warning Signs\n\n- You're re-reading files you already read earlier in the session\n- Responses start missing details or contradicting earlier decisions\n- The user has to repeat instructions\n- You lose track of what was already done vs what remains\n\n## Rules\n\n### 1. Offload to Files\n\nNever keep large outputs only in context. Write them to files:\n- Plans → `.claude\u002Fplans\u002F\u003Cname>.md`\n- Research findings → `.claude\u002Fresearch\u002F\u003Cname>.md`\n- Progress tracking → update plan checkboxes or task lists\n\n### 2. Suggest Fresh Sessions\n\nWhen you notice degradation, proactively suggest:\n> \"The context has grown long. I recommend saving the current progress and continuing in a fresh session.\"\n\nBefore suggesting, ensure you've saved:\n- Current progress (what's done, what remains)\n- Key decisions made\n- Any blockers or open questions\n\n### 3. Read Selectively\n\n- Don't read entire files when you need a specific function\n- Use `offset` and `limit` parameters on Read\n- Use Grep to find specific sections instead of reading whole files\n- Prefer Glob over recursive directory reads\n\n### 4. Minimize Tool Output Bloat\n\n- Use `head_limit` on Grep results\n- Avoid running commands that produce large output (e.g., `npm install` verbose)\n- When a command produces unexpected large output, summarize and move on\n\n### 5. Session Handoff Template\n\nWhen suggesting a fresh session, save this to `.claude\u002Fplans\u002F\u003Ctask>-handoff.md`:\n\n```markdown\n## Session Handoff — \u003Ctask>\n\n### Completed\n- [what was done]\n\n### In Progress\n- [current step, what's partially done]\n\n### Remaining\n- [what still needs to be done]\n\n### Key Decisions\n- [decisions made and why]\n\n### Resume Instructions\nStart by reading this file, then continue from \"In Progress\".\n```\n",{"name":5,"description":7},"main","479b264ec17cc5fafbf36287a1087472d3a386d3","plugins\u002Fcommon\u002Fskills\u002Fcontext-window-management",2,"https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace","https:\u002F\u002Fgithub.com\u002FFabienSalles","https:\u002F\u002Ffabiensalles.com","2026-10-13 04:33:22",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add FabienSalles\u002Fclaude-marketplace --skill context-window-management",{"tool":55,"command":56},"bunx","bunx skills add FabienSalles\u002Fclaude-marketplace --skill context-window-management",{"tool":58,"command":59},"pnpm","pnpm dlx skills add FabienSalles\u002Fclaude-marketplace --skill context-window-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcommon\u002Fskills\u002Fcontext-window-management\u002FSKILL.md",true,[],[64,88,104,124,146,163],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":36},"01M6DW2YS1MGF65JNS1QQ15QHS","vitest-test-conventions","ACTIVATE when writing Vitest tests, creating test files, using vi.fn()\u002Fvi.mock()\u002Fvi.spyOn(), or test factories. ACTIVATE for 'Vitest', 'it.each', 'NestJS testing module', 'supertest', 'vi.fn', 'vi.mock', 'spyOn'. Provides Vitest\u002FNestJS-specific testing patterns; cross-language testing principles (DAMP, AAA, spy over mock, what NOT to test) live in craft:testing-principles. DO NOT use for: node:test files (a file importing node:test) or a project whose tests run under node --test (see node-test:node-test-conventions), TDD workflow\u002Fiterations (see vitest:vitest-tdd-workflow), PHP\u002FPHPUnit tests (see phpunit:php-test-conventions).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvitest\u002Fskills\u002Fvitest-test-conventions\u002FSKILL.md",[],[71,72,73,74,75,76,77,78,79,80,30,81,82,31,32,83,84,85,86,87],"test","vitest","conventions","vitest test conventions","testing","writing","tdd","workflow","file","testing patterns","files","nestjs","project","tests","module","fn","testing principles",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":36},"01M6DW2VFE6NPFCGQKQ68P1MVZ","vitest-tdd-workflow","ACTIVATE when building new features, endpoints, or user stories using TDD with Vitest in a TypeScript\u002FNestJS context. ACTIVATE for '\u002Ffeature-tdd-dev', 'TDD', 'red-green-refactor' in TS context. Provides Vitest\u002FNestJS-specific TDD examples and commands; cross-language TDD workflow (cross-layer iterations, RED-GREEN-REFACTOR, working app, bug-fix-first-test, mocks-hiding-bugs) lives in craft:tdd-workflow-principles. DO NOT use for: node:test files (a file importing node:test) or a project whose tests run under node --test (see node-test:node-test-conventions), test writing conventions (see vitest:vitest-test-conventions), PHP TDD (see phpunit:php-tdd-workflow).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvitest\u002Fskills\u002Fvitest-tdd-workflow\u002FSKILL.md",[],[77,78,95,72,96,76,97,79,98,99,30,100,81,31,32,101,83,84,102,103],"tdd workflow","vitest tdd workflow","dev","examples","fix","red-green-refactor","green","feature","app",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":36},"01M6DW2RGMQE10D8C5Z5MA2RMY","ts-refactoring","ACTIVATE when refactoring TypeScript code. ACTIVATE for 'refactor', 'extract', 'redesign', 'simplify', or 'clean up' in a TypeScript \u002F Node \u002F NestJS context. This skill provides TS-specific examples for the cross-language refactoring rules defined in craft:refactoring-principles. DO NOT use for: writing new features from scratch, general OOP patterns (see ts-oop).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-refactoring\u002FSKILL.md",[],[111,112,76,113,114,98,115,116,24,117,118,30,119,120,121,82,122,31,32,123],"refactoring","ts refactoring","typescript","code","refactor","simplify","node","redesign","up","general","clean","craft","patterns",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":36},"01M6DW2MHYXNBBVYEGB058Y48J","ts-ports-adapters","ACTIVATE when a TypeScript codebase with no dependency-injection container has to declare a port and wire its adapter — a repository, a clock, an id generator, an event dispatcher the domain depends on. ACTIVATE for 'port', 'adapter', 'SPI', 'dependency inversion' or 'composition root' in a codebase that wires its dependencies by hand. Covers: the port as a type of functions in the domain layer, the adapter as an object literal annotated with it, the handler that takes its dependencies first and its data second, the composition root in the infrastructure layer, and the in-memory stub that substitutes for the adapter in a unit test. DO NOT use for: NestJS, or any container-based DI with decorators and tokens (see nest-ddd-conventions), aggregate operations and smart constructors (see ddd-ts-fp), the Result type itself (see ts-functional).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-ports-adapters\u002FSKILL.md",[],[131,132,133,71,134,135,30,136,137,82,138,31,32,139,140,141,142,143,144,145],"ports","ts ports adapters","memory","ddd","Composition","container","functions","Literal","dependency-injection","domain","tokens","as","type","id","adapter",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":36},"01M6DW2GRXZFYT05HEDB26C9B8","ts-oop","ACTIVATE when designing TypeScript classes, and the value objects or collections modelled as classes, or when the user asks about object design, encapsulation, Tell Don't Ask, or Symbol.iterator. Provides TS-specific examples for the cross-language OOP rules defined in craft:oop-principles, plus TS-specific patterns (Symbol.iterator, branded types for primitive identifiers). DO NOT use for: a value object or an aggregate modelled as an immutable record rather than a class (see ddd-ts-fp), refactoring methodology (see ts-refactoring).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-oop\u002FSKILL.md",[],[153,154,155,113,134,98,156,157,111,24,158,30,159,122,31,32,160,161,162,142],"oop","ts oop","design","methodology","immutable","ask","refactoring methodology","objects","record","collections",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":36},"01M6DW2D26XG5MJMTP9MSE43S2","ts-layer-boundaries","ACTIVATE when wiring a Worker entry point, a Router, a controller, or a domain event consumer in a TypeScript CQRS codebase, or when deciding where a port belongs. ACTIVATE for 'composition root', 'layer boundary', 'ESLint zones', 'domain must not import infrastructure'. Covers: the *Worker.ts composition root, the curried consumer, Router wiring of command endpoints, the five-gesture controller, the domain-to-infrastructure import boundary enforced by ESLint, infrastructure-only ports, in-memory doubles for every port, the read-can-reach-write asymmetry, and read endpoints going through a domain handler. DO NOT use for: the port's own shape and adapter binding (see ts-ports-adapters), the Result type (see ts-functional), domain event structure (see ts-ddd-events).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-layer-boundaries\u002FSKILL.md",[],[170,133,134,171,172,135,131,30,173,174,175,31,32,176,140,177,178,143,145,179],"ts layer boundaries","controller","boundary","router","only","endpoints","structure","cqrs","worker","import"]