Commit fdde915
Proposal on how to add Azure SDK information to skills (#791)
* Add Azure SDK information to security and storage skills
- Add Azure SDK package tables for Identity, Key Vault, and Storage
- Add quick start code examples for all 6 languages (Python, JavaScript, C#, Java, Go, Rust)
- Include installation commands for each language
- Security skill: Key Vault secrets examples with identity authentication
- Storage skill: Blob download examples with identity authentication
* Add SDK integration tests for azure-storage and azure-security skills
* Fix ESLint errors: use 'unknown' type instead of 'any' for error handling
* Update plugin/skills/azure-storage/SKILL.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update plugin/skills/azure-security/SKILL.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update plugin/skills/azure-security/SKILL.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove secret logging from Quick Start examples - store in variable instead
* Add note explaining Rust uses DeveloperToolsCredential (no DefaultAzureCredential equivalent)
* Add full Go imports to azure-storage example for consistency
* Address PR review feedback: move SDK to references, add imports, fix formatting
- Move SDK sections to references/sdk-usage.md for progressive disclosure
- Add C# using directives to code examples
- Add Java wildcard imports to reduce verbosity
- Restore blank lines between MCP and CLI sections
- Revert error handling to e: any for codebase consistency
* chore: add eslint-disable comments for e: any pattern
* chore: match existing integration test pattern (no eslint-disable)
* fix: use e: unknown pattern for ESLint compliance
* docs: add inline summary for SDK reference sections
* Update plugin/skills/azure-storage/references/sdk-usage.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove SDK integration tests that don't match skill triggers
The SDK content is in reference files (progressive disclosure) that are
shown when the skill is already invoked. SDK-specific prompts like
'How do I use the Azure SDK...' don't reliably trigger the storage or
prepare skills since their descriptions focus on service management,
not SDK usage.
Integration tests should test what triggers the skill, not what content
is inside the skill after it's invoked.
* Add SDK-related integration tests for azure-storage and azure-prepare
- azure-storage: Add blob SDK usage test with prompt that triggers at 100%
- azure-storage: Skip pre-existing failing storage tiers test
- azure-prepare: Add Key Vault secrets integration test (100%)
- azure-prepare: Add Azure Identity authentication test (100%)
Test results:
- azure-storage: 2 passed, 1 skipped
- azure-prepare: 4 passed
* Rename 'SDK Access' to 'Connection Patterns' for consistency
* Skip pre-existing failing storage tiers test with better explanation
The storage tiers test was already failing (0% invocation) in main,
but appeared to pass because the SDK couldn't load due to missing
ESM configuration. Now that ESM works, the test actually runs and
reveals the prompt doesn't trigger the azure-storage skill.
Restored original prompt from main and skipped until fixed.
* Add access tiers to azure-storage skill description
Added 'access tiers (hot, cool, archive) and lifecycle management' to
the skill description to improve trigger matching for storage tier prompts.
This fixes the pre-existing storage tiers integration test that was
failing at 20% invocation rate (now passes at 60%).
* Update SDK examples to upload, fix review issues, revert lockfile churn
- Changed all SDK quick-start examples from blob download to upload (simpler)
- Added missing 'import os' in Python examples (storage.md, key-vault.md)
- Fixed invalid C# string interpolation in storage.md
- Reverted unrelated package-lock.json peer:true changes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 46d3634 commit fdde915
File tree
7 files changed
+394
-35
lines changed- plugin/skills
- azure-prepare/references
- services
- azure-storage
- references
- tests
- azure-prepare
- azure-storage
7 files changed
+394
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
224 | 243 | | |
225 | 244 | | |
226 | 245 | | |
| |||
Lines changed: 76 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
127 | 134 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
132 | 138 | | |
| 139 | + | |
133 | 140 | | |
134 | | - | |
| 141 | + | |
135 | 142 | | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
139 | 146 | | |
| 147 | + | |
140 | 148 | | |
141 | 149 | | |
142 | 150 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 151 | + | |
148 | 152 | | |
149 | | - | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | | - | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
| 162 | + | |
160 | 163 | | |
161 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
162 | 216 | | |
163 | 217 | | |
164 | 218 | | |
| |||
Lines changed: 99 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
141 | 152 | | |
142 | 153 | | |
143 | | - | |
| 154 | + | |
| 155 | + | |
144 | 156 | | |
145 | | - | |
146 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
147 | 160 | | |
148 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
149 | 164 | | |
150 | 165 | | |
151 | 166 | | |
152 | 167 | | |
153 | 168 | | |
| 169 | + | |
| 170 | + | |
154 | 171 | | |
155 | 172 | | |
156 | | - | |
157 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
158 | 176 | | |
159 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
160 | 180 | | |
161 | 181 | | |
162 | | - | |
| 182 | + | |
163 | 183 | | |
164 | 184 | | |
165 | | - | |
166 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
167 | 192 | | |
168 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
169 | 256 | | |
170 | 257 | | |
171 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
0 commit comments