MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / F65

Function F65

package/cli.js:8328–8332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8326`),niY=["## Validation with /doctor","",'The `/doctor` command includes a "Keybinding Configuration Issues" section that validates `~/.claude/keybindings.json`.',"","### Common Issues and Fixes","",uA7(["Issue","Cause","Fix"],[['`keybindings.json must have a "bindings" array`',"Missing wrapper object",'Wrap bindings in `{ "bindings": [...] }`'],['`"bindings" must be an array`',"`bindings` is not an array",'Set `"bindings"` to an array: `[{ context: ..., bindings: ... }]`'],['`Unknown context "X"`',"Typo or invalid context name","Use exact context names from the Available Contexts table"],['`Duplicate key "X" in Y bindings`',"Same key defined twice in one context","Remove the duplicate; JSON uses only the last value"],['`"X" may not work: ...`',"Key conflicts with terminal/OS reserved shortcut","Choose a different key (see Reserved Shortcuts section)"],['`Could not parse keystroke "X"`',"Invalid key syntax","Check syntax: use `+` between modifiers, valid key names"],['`Invalid action for "X"`',"Action value is not a string or null",'Actions must be strings like `"app:help"` or `null` to unbind']]),"","### Example /doctor Output","","```","Keybinding Configuration Issues","Location: ~/.claude/keybindings.json",' └ [Error] Unknown context "chat"'," → Valid contexts: Global, Chat, Autocomplete, ...",' └ [Warning] "ctrl+c" may not work: Terminal interrupt (SIGINT)',"```","","**Errors** prevent bindings from working and must be fixed. **Warnings** indicate potential conflicts but the binding may still work."].join(`
8327`)});function u65(q){let K=0,_="";while(K<q){let z=10+Math.floor(Math.random()*11),Y=0;for(let $=0;$<z&&K<q;$++){let A=I65[Math.floor(Math.random()*I65.length)];if(_+=A,K++,Y++,$===z-1||K>=q)_+=". ";else _+=" "}if(Y>0&&Math.random()<0.2&&K<q)_+=`
8328
8329`}return _.trim()}function m65(){return}var I65;var p65=y(()=>{WT();I65=["the","a","an","I","you","he","she","it","we","they","me","him","her","us","them","my","your","his","its","our","this","that","what","who","is","are","was","were","be","been","have","has","had","do","does","did","will","would","can","could","may","might","must","shall","should","make","made","get","got","go","went","come","came","see","saw","know","take","think","look","want","use","find","give","tell","work","call","try","ask","need","feel","seem","leave","put","time","year","day","way","man","thing","life","hand","part","place","case","point","fact","good","new","first","last","long","great","little","own","other","old","right","big","high","small","large","next","early","young","few","public","bad","same","able","in","on","at","to","for","of","with","from","by","about","like","through","over","before","between","under","since","without","and","or","but","if","than","because","as","until","while","so","though","both","each","when","where","why","how","not","now","just","more","also","here","there","then","only","very","well","back","still","even","much","too","such","never","again","most","once","off","away","down","out","up","test","code","data","file","line","text","word","number","system","program","set","run","value","name","type","state","end","start"]});function B65(){return}var g65=y(()=>{rw();WT()});function F65(){rO({name:"simplify",description:"Review changed code for reuse, quality, and efficiency, then fix any issues found.",userInvocable:!0,async getPromptForCommand(q){let K=iiY;if(q)K+=`
8330
8331## Additional Focus
8332
8333${q}`;return[{type:"text",text:K}]}})}var iiY;var U65=y(()=>{Z$();WT();iiY=`# Simplify: Code Review and Cleanup
8334
8335Review all changed files for reuse, quality, and efficiency. Fix any issues found.

Callers 1

G15Function · 0.85

Calls 1

rOFunction · 0.85

Tested by

no test coverage detected