promptsServiceImpl.ts ×2
Frontier kind: Code frontier
unlabeled · c_c5b5a5b7762f
28 tests · 67386 LOC · 326 files · introduces 0 tests · 3 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 3 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
promptsServiceImpl.ts ×2 — Focused concept
Introduced files:
promptsService.test|title=PromptsService listPromptFiles - extensions Contributed file sessionTypes metadata is preserved in core prompt models|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService Provider sessionTypes metadata is preserved in core prompt models|occurrence=1 — Ancestor (broader)
Introduced tests:
computeAutomaticInstructions.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
computeAutomaticInstructions.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
computeAutomaticInstructions.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
computeAutomaticInstructions.test|title=ComputeAutomaticInstructions instructions list variable should include skills from home folder in skills list|occurrence=1 — Ancestor (broader)
Introduced tests:
computeAutomaticInstructions.test|title=ComputeAutomaticInstructions instructions list variable should include skills list when readFile tool available|occurrence=1 — Ancestor (broader)
Introduced tests:
computeAutomaticInstructions.test|title=ComputeAutomaticInstructions skill telemetry should emit skillLoadedIntoContext for each loaded skill|occurrence=1 — Ancestor (broader)
Introduced tests:
computeAutomaticInstructions.test|title=ComputeAutomaticInstructions instructions list variable should include skills list when readFile tool unavailable and runInTerminal tool available|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should handle parsing errors gracefully|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
extensionPromptFileService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
extensionPromptFileService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
promptsServiceImpl.ts ×2 — Ancestor (broader)
Introduced files:
promptsService.test|title=PromptsService findAgentSkills should accept contributed skill with missing description|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should find skills in workspace and user home|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsServiceImpl.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should include skills where name does not match folder name using folder name as fallback|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should include skills with missing name attribute using folder name as fallback|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should remove XML tags from name and description|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should handle both truncation and XML removal|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should truncate long names and descriptions|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsServiceImpl.ts ×2 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×2 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×2 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×15 — Ancestor (broader)
Introduced files:
computeAutomaticInstructions.test|title=ComputeAutomaticInstructions skill telemetry should not emit skillLoadedIntoContext when skills feature is disabled|occurrence=1, computeAutomaticInstructions.test|title=ComputeAutomaticInstructions instructions list variable should not include skills list when USE_AGENT_SKILLS disabled|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsService.test|title=PromptsService findAgentSkills should return empty array when no skills found|occurrence=1 — Ancestor (broader)
Introduced tests:
promptsServiceImpl.ts ×8 — Ancestor (broader)
Introduced files:
promptsServiceImpl.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
promptsServiceImpl.ts ×15 — Descendant (narrower)
Introduced files:
modelService.ts ×3 — Descendant (narrower)
Introduced files:
modelService.ts ×30 — Descendant (narrower)
Introduced files:
textModel.ts ×190 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×1 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×1 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×4 — Descendant (narrower)
Introduced files:
computeAutomaticInstructions.ts ×13 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×1 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×1 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×2 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×2 — Descendant (narrower)
Introduced files:
promptsServiceImpl.ts ×65 — Descendant (narrower)
Introduced files:
workbenchTestServices.ts ×1 — Descendant (narrower)
Introduced files:
workbenchTestServices.ts ×1 — Descendant (narrower)
Introduced files:
workbenchTestServices.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
mockKeybindingService.ts ×1 — Descendant (narrower)
Introduced files:
agentPluginService.ts ×5 — Descendant (narrower)
Introduced files:
promptFilesLocator.ts ×31 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
constants.ts ×18 — Descendant (narrower)
Introduced files:
resources.ts ×7 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
enablement.ts ×17 — Descendant (narrower)
Introduced files:
editorInput.ts ×28 — Descendant (narrower)
Introduced files:
chatEntitlementService.ts ×52 — Descendant (narrower)
Introduced files:
workspaceTrust.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
remoteAgentService.ts ×2 — Descendant (narrower)
Introduced files:
textResourceConfiguration.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
label.ts ×1 — Descendant (narrower)
Introduced files:
extensions.ts ×23 — Descendant (narrower)
Introduced files:
languageModelToolsService.ts ×35 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
mockKeybindingService.ts ×1 — Descendant (narrower)
Introduced files:
mockKeybindingService.ts ×37 — Descendant (narrower)
Introduced files:
model.ts ×1 — Descendant (narrower)
Introduced files:
hookCompatibility.ts ×7 — Descendant (narrower)
Introduced files:
hookSchema.ts ×15 — Descendant (narrower)
Introduced files:
extensionManagement.test|title=Extension Identifier Pattern extension identifier pattern|occurrence=1 — Descendant (narrower)
Introduced tests:
extensionManagementUtil.ts ×17 — Descendant (narrower)
Introduced files:
instantiationServiceMock.ts ×3 — Descendant (narrower)
Introduced files:
chatVariableEntries.ts ×54 — Descendant (narrower)
Introduced files:
instantiationService.test|title=Instantiation Service @Param - fixed args|occurrence=1, instantiationService.test|title=Instantiation Service @Param - simple clase|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationServiceMock.ts ×2 — Descendant (narrower)
Introduced files:
instantiationServiceMock.ts ×2 — Descendant (narrower)
Introduced files:
instantiationServiceMock.ts ×18 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×3 — Descendant (narrower)
Introduced files:
instantiationService.test|title=Instantiation Service service collection, cannot overwrite|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
extensionManagement.ts ×10 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
glob.ts ×24 — Descendant (narrower)
Introduced files:
ast.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×3 — Descendant (narrower)
Introduced files:
ast.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
promptFileParser.ts ×38 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
workspace.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — Descendant (narrower)
Introduced files:
autorun.ts ×1 — Descendant (narrower)
Introduced files:
autorunImpl.ts ×15 — Descendant (narrower)
Introduced files:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
configuration.ts ×3 — Descendant (narrower)
Introduced files:
baseObservable.ts ×1 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
observableValue.ts ×3 — Descendant (narrower)
Introduced files:
baseObservable.ts ×1 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
debugLocation.ts ×2 — Descendant (narrower)
Introduced files:
editor.ts ×36 — Descendant (narrower)
Introduced files:
observableSignalFromEvent.ts ×1 — Descendant (narrower)
Introduced files:
promise.ts ×1 — Descendant (narrower)
Introduced files:
testConfigurationService.ts ×3 — Descendant (narrower)
Introduced files:
testConfigurationService.ts ×2 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
testConfigurationService.ts ×10 — Descendant (narrower)
Introduced files:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
promptFileLocations.ts ×1 — Descendant (narrower)
Introduced files:
promptFileLocations.ts ×1 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
promptFileLocations.ts ×7 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
config.ts ×1 — Descendant (narrower)
Introduced files:
config.ts ×9 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
config.ts ×6 — Descendant (narrower)
Introduced files:
resources.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×41 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
dialogs.ts ×8 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
telemetryUtils.ts ×15 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×8 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
markers.ts ×8 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
extensions.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×3 — Descendant (narrower)
Introduced files:
strings.ts ×1 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
strings.ts ×3 — Descendant (narrower)
Introduced files:
strings.ts ×3 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
map.ts ×4 — Descendant (narrower)
Introduced files:
cancellation.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
yaml.ts ×54 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, always slash|occurrence=1, uri.test|title=URI class URI cannot represent relative file paths #34449|occurrence=1 — Descendant (narrower)
Introduced tests:
offsetRange.ts ×40 — Descendant (narrower)
Introduced files:
keybindings.ts ×17 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, no path-is-uri check|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
jsonErrorMessages.ts ×1 — Descendant (narrower)
Introduced files:
linkedList.ts ×1 — Descendant (narrower)
Introduced files:
configuration.ts ×12 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower)
Introduced tests:
path.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
utils.ts ×1 — Descendant (narrower)
Introduced files:
uuid.test|title=UUID generation|occurrence=1 — Descendant (narrower)
Introduced tests:
types.test|title=Types isUndefinedOrNull|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×3 — Descendant (narrower)
Introduced files:
types.test|title=Types isString|occurrence=1 — Descendant (narrower)
Introduced tests:
types.test|title=Types isUndefined|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×2 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 3 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.ts 3 introduced LOC · 2 ranges
Open complete file
909
910
public async findAgentSkills ( token : CancellationToken ) : Promise < IAgentSkill [] | undefined > {
911
>
const useAgentSkills = this . configurationService . getValue ( PromptsConfig . USE_AGENT_SKILLS );
promptsServiceImpl.ts
912
>
if ( ! useAgentSkills ) {
913
return undefined ;
914
}
917
const result = this . skillsFromDiscoveryInfo ( discoveryInfo );
918
return result ;
920
921
/**