[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKNCJB02ZW80RETECGMYV4":3,"skill-same:01M7EKNCJB02ZW80RETECGMYV4":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EKNCJB02ZW80RETECGMYV4","lsp-client",null,"Language server client over stdio JSON-RPC — framing, lifecycle, UTF-16 column conversion, on-demand spawn, and fail-closed behaviour.","raillen\u002Fdaisy-code-editor","raillen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50306048?v=4","01M7EKBDVVBSPF21PBPVJYMNYR","Raillen Santos","01M7EKBDWD12A1K9N9Y638FGX9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Flsp-client\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lsp-client\ndescription: Language server client over stdio JSON-RPC — framing, lifecycle, UTF-16 column conversion, on-demand spawn, and fail-closed behaviour.\n---\n\n# LSP Client\n\n## Purpose\n\nObtain language intelligence from a server the editor does not own. The server\nis a third-party process that may be missing, slow, crash, or speak a version the\nclient did not expect. None of those may take the editor down.\n\n## Framing\n\nContent-Length framing over stdio, with the header parser tolerant of the order\nand case real servers emit. A malformed frame is a protocol error to report, not\na reason to panic or to resynchronise blindly into the middle of a message.\n\n## Lifecycle\n\n- One client per language per workspace. Two servers for the same language is a\n  bug that shows up as duplicated diagnostics.\n- Spawned on demand, when a document of that language opens — not at startup.\n- `initialize` completes before any request that needs capabilities; the client\n  tracks the negotiated capability set and does not send requests the server\n  declared unsupported.\n- Shutdown is graceful, with a bounded wait, then terminated. A server left\n  running after the editor exits holds locks and ports.\n- Crashes are contained: the client reports unavailability for that language and\n  the editor keeps working without intelligence for it.\n\n## Position conversion — the classic silent corruption\n\nLSP counts UTF-16 code units. A caret counts runes, and the buffer counts bytes.\nThree units, three conversions, and getting one wrong corrupts text at the first\nemoji or astral character.\n\n- Conversion lives in one place and is covered by tests with surrogate pairs,\n  CJK, combining marks and RTL.\n- Positions from the server are clamped to the document; a server may report a\n  position past the end and the editor must not panic.\n- `TextEdit` application is ordered by position and applied from the end\n  backwards, so earlier edits do not invalidate later offsets.\n\n## Fail closed\n\nMissing binary, failed handshake, timeout, crash: each produces a status the user\ncan read and an editor that still edits. Never a crash, never a silent hang,\nnever a feature that appears to work and does nothing.\n\n## Sharing\n\nLanguage intelligence is expensive. Before spawning, check whether an equivalent\nserver is already running for this workspace; do not duplicate a server the\nharness already owns.\n\n## Verification\n\n- A stub server drives the handshake, a diagnostic push, a completion and an\n  edit round-trip, without depending on any real server being installed.\n- A test asserts the client survives a server that closes mid-message.\n","# LSP Client\n\n## Purpose\n\nObtain language intelligence from a server the editor does not own. The server\nis a third-party process that may be missing, slow, crash, or speak a version the\nclient did not expect. None of those may take the editor down.\n\n## Framing\n\nContent-Length framing over stdio, with the header parser tolerant of the order\nand case real servers emit. A malformed frame is a protocol error to report, not\na reason to panic or to resynchronise blindly into the middle of a message.\n\n## Lifecycle\n\n- One client per language per workspace. Two servers for the same language is a\n  bug that shows up as duplicated diagnostics.\n- Spawned on demand, when a document of that language opens — not at startup.\n- `initialize` completes before any request that needs capabilities; the client\n  tracks the negotiated capability set and does not send requests the server\n  declared unsupported.\n- Shutdown is graceful, with a bounded wait, then terminated. A server left\n  running after the editor exits holds locks and ports.\n- Crashes are contained: the client reports unavailability for that language and\n  the editor keeps working without intelligence for it.\n\n## Position conversion — the classic silent corruption\n\nLSP counts UTF-16 code units. A caret counts runes, and the buffer counts bytes.\nThree units, three conversions, and getting one wrong corrupts text at the first\nemoji or astral character.\n\n- Conversion lives in one place and is covered by tests with surrogate pairs,\n  CJK, combining marks and RTL.\n- Positions from the server are clamped to the document; a server may report a\n  position past the end and the editor must not panic.\n- `TextEdit` application is ordered by position and applied from the end\n  backwards, so earlier edits do not invalidate later offsets.\n\n## Fail closed\n\nMissing binary, failed handshake, timeout, crash: each produces a status the user\ncan read and an editor that still edits. Never a crash, never a silent hang,\nnever a feature that appears to work and does nothing.\n\n## Sharing\n\nLanguage intelligence is expensive. Before spawning, check whether an equivalent\nserver is already running for this workspace; do not duplicate a server the\nharness already owns.\n\n## Verification\n\n- A stub server drives the handshake, a diagnostic push, a completion and an\n  edit round-trip, without depending on any real server being installed.\n- A test asserts the client survives a server that closes mid-message.\n",{"name":5,"description":7},"main","2e465213b972294984c8c9515a47f811e4b358da",".ai\u002Fskills\u002Flsp-client","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor","https:\u002F\u002Fgithub.com\u002Fraillen","https:\u002F\u002Fraillen.com","\u003C\u003CMarketing & IT>>\r\n\r\n@poppy-team\r\n@wasd-lat ","2026-10-16 09:17:52",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add raillen\u002Fdaisy-code-editor --skill lsp-client",{"tool":38,"command":39},"bunx","bunx skills add raillen\u002Fdaisy-code-editor --skill lsp-client",{"tool":41,"command":42},"pnpm","pnpm dlx skills add raillen\u002Fdaisy-code-editor --skill lsp-client","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Flsp-client\u002FSKILL.md",true,[],[47,53,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":6,"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},"01M7EKQYSDAX3SGSCRF873Z8E2","zoom-reflow","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fzoom-reflow\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7EKQX0MWJNQD482GGZPGES4","wireframe-styleguide","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fwireframe-styleguide\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7EKQS57FS6JYE6KWW6X5ADJ","visual-regression","Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fvisual-regression\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7EKQMFR7651NVH100P5781Z","ui-implementation","Component-driven UI implementation, multi-state matrix (default, hover, focus-visible, active, disabled, loading, empty, error), DTCG design tokens, responsive layout contracts, and accessibility tree mapping.","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fui-implementation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7EKQG3NVX6DPCYS6Q4PA71V","tui-editor-engine","Text buffer and editing semantics for a terminal code editor — index conversion, transaction-first editing, multi-cursor invariants, undo grouping, and large-file behaviour.","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftui-editor-engine\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7EKQEJ993JGC72FE2KFY3ZZ","tree-sitter-context-indexing","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftree-sitter-context-indexing\u002FSKILL.md",[],[]]