{"record":{"id":"c4d15c7fa4d148b4","repo":"larksuite/cli","slug":"s-child-skill-list-mismatch-got-v-want-v","errorCode":null,"errorMessage":"%s child Skill list mismatch: got %v, want %v","messagePattern":"(.+?) child Skill list mismatch: got (.+?), want (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/skillscheck/layout.go","lineNumber":213,"sourceCode":"\treturn nil\n}\n\nfunc removeSkills(runner SkillsRunner, names []string) error {\n\tif len(names) == 0 {\n\t\treturn nil\n\t}\n\tresult := runner.RemoveGlobalSkills(uniqueSorted(names))\n\tif result == nil || result.Err != nil {\n\t\treturn fmt.Errorf(\"remove stale official skills failed: %s\", resultDetail(result))\n\t}\n\treturn nil\n}\n\nfunc assertSameSkillNames(got, want []string, label string) error {\n\tgot = uniqueSorted(got)\n\twant = uniqueSorted(want)\n\tif strings.Join(got, \"\\x00\") != strings.Join(want, \"\\x00\") {\n\t\treturn fmt.Errorf(\"%s child Skill list mismatch: got %v, want %v\", label, got, want)\n\t}\n\treturn nil\n}\n","sourceCodeStart":195,"sourceCodeEnd":217,"githubUrl":"https://github.com/larksuite/cli/blob/7fd6ef3c07182257ce776cdc5a614e122d5bd4b3/internal/skillscheck/layout.go#L195-L217","documentation":"assertSameSkillNames compares the directory listing under a suite's references/ against the expected skill set and the lists differ - the archive (or the cropped result) contains skills it should not or misses ones it should have. The label names which comparison failed.","triggerScenarios":"Thrown at internal/skillscheck/layout.go:213 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Align the reference directories with the declared skill list and re-run the sync"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7fd6ef3c07182257ce776cdc5a614e122d5bd4b3","analyzedAt":"2026-09-04T21:17:44.649Z","contentChangedAt":"2026-09-04T21:17:44.649Z","schemaVersion":2},"datasetVersion":"2026-09-12T02:17:10.037Z"}