indexer-cli 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,7 @@ const SKILL_DEFINITIONS = [
|
|
|
30
30
|
{
|
|
31
31
|
name: "semantic-search",
|
|
32
32
|
directory: "semantic-search",
|
|
33
|
-
description:
|
|
33
|
+
description: "FIRST choice for concept and behavior questions. Load this before grep when the task asks how something works, is calculated, or flows through the codebase rather than pointing to an exact symbol or literal string.",
|
|
34
34
|
heading: "Use semantic-search for implementation hunting",
|
|
35
35
|
purpose: "Use this when the agent already knows it needs semantic search results, not a tree or architecture map. Keep the prompt short and centered on the code concept to find.",
|
|
36
36
|
allowedTools: ["Bash(npx indexer-cli search:*)"],
|
|
@@ -59,7 +59,7 @@ const SKILL_DEFINITIONS = [
|
|
|
59
59
|
{
|
|
60
60
|
name: "repo-structure",
|
|
61
61
|
directory: "repo-structure",
|
|
62
|
-
description: "
|
|
62
|
+
description: "FIRST choice for file-and-symbol layout questions. Load this before opening many files when you need the shape of a directory or subsystem before reading implementation details.",
|
|
63
63
|
heading: "Use repo-structure for tree and symbol-map questions",
|
|
64
64
|
purpose: "Use this when the agent needs to see how files and symbols are organized in an area of the repo before reading implementation details.",
|
|
65
65
|
allowedTools: ["Bash(npx indexer-cli structure:*)"],
|
|
@@ -86,7 +86,7 @@ const SKILL_DEFINITIONS = [
|
|
|
86
86
|
{
|
|
87
87
|
name: "repo-architecture",
|
|
88
88
|
directory: "repo-architecture",
|
|
89
|
-
description: "
|
|
89
|
+
description: "FIRST choice for high-level repo shape questions. Load this before manual exploration when you need entry points, major modules, and cross-module dependencies for a subsystem or repo.",
|
|
90
90
|
heading: "Use repo-architecture for dependency-graph questions",
|
|
91
91
|
purpose: "Use this when the agent needs a high-level snapshot of modules, entry points, and dependency shape before going deeper.",
|
|
92
92
|
allowedTools: ["Bash(npx indexer-cli architecture:*)"],
|
|
@@ -111,7 +111,7 @@ const SKILL_DEFINITIONS = [
|
|
|
111
111
|
{
|
|
112
112
|
name: "repo-context",
|
|
113
113
|
directory: "repo-context",
|
|
114
|
-
description: "
|
|
114
|
+
description: "FIRST choice for changed-area and subsystem summaries. Load this before opening many files when you need whole-repo orientation, changed-scope context, or a dependency-neighborhood snapshot without exact implementation snippets.",
|
|
115
115
|
heading: "Use repo-context for dense summaries",
|
|
116
116
|
purpose: "Use this when the agent wants a compressed view of a subsystem, changed area, or dependency neighborhood without opening many files.",
|
|
117
117
|
allowedTools: ["Bash(npx indexer-cli context:*)"],
|
|
@@ -138,7 +138,7 @@ const SKILL_DEFINITIONS = [
|
|
|
138
138
|
{
|
|
139
139
|
name: "context-pack",
|
|
140
140
|
directory: "context-pack",
|
|
141
|
-
description: "
|
|
141
|
+
description: "START HERE when the task is concrete, the owning repo area is unclear, and no more specific skill already matches. Load this before broad search to pick the most relevant repo area, explain why, and suggest the next files to read.",
|
|
142
142
|
heading: "Use context-pack for token-aware repo routing",
|
|
143
143
|
purpose: "Use this when the agent has a concrete task but does not yet know which module to inspect first. Start here to get selected scope, module goals, compact structure, and next reads without broad blind discovery.",
|
|
144
144
|
allowedTools: ["Bash(npx indexer-cli context-pack:*)"],
|
|
@@ -169,7 +169,7 @@ const SKILL_DEFINITIONS = [
|
|
|
169
169
|
{
|
|
170
170
|
name: "symbol-explain",
|
|
171
171
|
directory: "symbol-explain",
|
|
172
|
-
description: "
|
|
172
|
+
description: "FIRST choice once the symbol name is known. Load this before manual caller/signature tracing to get one symbol's signature, module context, and callers fast.",
|
|
173
173
|
heading: "Use symbol-explain for one symbol at a time",
|
|
174
174
|
purpose: "Use this when the task centers on one function, class, type, or symbol and the agent needs signature, usage, and containing module context fast.",
|
|
175
175
|
allowedTools: ["Bash(npx indexer-cli explain:*)"],
|
|
@@ -195,7 +195,7 @@ const SKILL_DEFINITIONS = [
|
|
|
195
195
|
{
|
|
196
196
|
name: "dependency-trace",
|
|
197
197
|
directory: "dependency-trace",
|
|
198
|
-
description: "
|
|
198
|
+
description: "FIRST choice once the file or module is known and impact matters. Load this before manual import tracing to see callers, callees, and likely change impact.",
|
|
199
199
|
heading: "Use dependency-trace for impact analysis",
|
|
200
200
|
purpose: "Use this when the agent needs to know who imports a module, what it imports, or how far change impact may spread.",
|
|
201
201
|
allowedTools: ["Bash(npx indexer-cli deps:*)"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../../../src/cli/commands/skills.ts"],"names":[],"mappings":";;;AAaA,SAAS,WAAW,CAAC,UAA2B;IAC/C,MAAM,QAAQ,GAAG;QAChB,KAAK;QACL,SAAS,UAAU,CAAC,IAAI,EAAE;QAC1B,gBAAgB,UAAU,CAAC,WAAW,EAAE;QACxC,kBAAkB,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QACtD,KAAK;QACL,EAAE;QACF,KAAK,UAAU,CAAC,OAAO,EAAE;QACzB,EAAE;QACF,UAAU,CAAC,OAAO;QAClB,EAAE;QACF,UAAU;QACV,EAAE;QACF,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC;KAC9C,CAAC;IAEF,IAAI,UAAU,CAAC,QAAQ,IAAI,UAAU,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC3D,QAAQ,CAAC,IAAI,CACZ,EAAE,EACF,cAAc,EACd,EAAE,EACF,GAAG,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CACjD,CAAC;IACH,CAAC;IAED,QAAQ,CAAC,IAAI,CACZ,EAAE,EACF,oBAAoB,EACpB,EAAE,EACF,mEAAmE,EACnE,EAAE,EACF,SAAS,EACT,GAAG,UAAU,CAAC,cAAc,EAC5B,KAAK,CACL,CAAC;IAEF,IAAI,UAAU,CAAC,YA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