@skillbrickai/mcp-server 0.2.0 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/server.js +10 -5
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -126,8 +126,11 @@ Search SkillBrick for relevant skills before implementing any feature:
126
126
 
127
127
  ### When Corrected
128
128
  1. Apply the correction immediately
129
- 2. Save the insight to SkillBrick (\`upload_research\`, PRIVATE)
130
- 3. Suggest PUBLIC visibility if the lesson applies beyond this project
129
+ 2. Before saving to SkillBrick, apply the quality filter:
130
+ - Is this non-obvious to a competent engineer in this domain?
131
+ - Does it generalize beyond this specific project or situation?
132
+ If both are yes, save it (\`upload_research\`, PRIVATE)
133
+ 3. Suggest PUBLIC visibility if the lesson applies broadly
131
134
 
132
135
  ### SkillBrick Access
133
136
  - **NEVER call the SkillBrick REST API directly** — use MCP tools only
@@ -198,9 +201,9 @@ Write this as a concrete rule. Example:
198
201
  ## When Corrected
199
202
  When the user corrects your behavior:
200
203
  1. Apply the correction immediately
201
- 2. Save the insight to SkillBrick (upload_research, PRIVATE) as a behavioral lesson
202
- 3. Suggest PUBLIC visibility if the lesson applies beyond this project
203
- Never let a correction go unsaved. These are the most valuable learning signals.
204
+ 2. Apply the quality filter before saving: Is this non-obvious? Does it generalize beyond this project? Would a competent engineer find it surprising? Only save if yes.
205
+ 3. Save qualifying insights to SkillBrick (upload_research, PRIVATE) as behavioral lessons
206
+ 4. Suggest PUBLIC visibility if the lesson applies beyond this project
204
207
  \`\`\`
205
208
 
206
209
  **Section 2: Project Overview** — What this project is, tech stack, deployment.
@@ -1456,6 +1459,8 @@ export function createSkillBrickServer() {
1456
1459
  `- **Raw code dumps** — code without explanation is not a skill, and a solution without insight is not worth sharing`,
1457
1460
  `- **Generic advice** — "write clean code" or "follow best practices" adds nothing`,
1458
1461
  `- **Project-specific solutions** — anything that only makes sense in one codebase. Extract the insight, leave the specifics behind.`,
1462
+ `- **Common knowledge** — if any competent engineer in this domain would already know this, don't upload it`,
1463
+ `- **Low-generalizability observations** — technically an insight but applies to such a narrow situation that it would rarely be useful to others`,
1459
1464
  `- **Personally identifiable information** — names, emails, internal URLs`,
1460
1465
  ].join("\n"));
1461
1466
  // ── Section 6: Public vs Private ──
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillbrickai/mcp-server",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server for discovering and installing skills from the SkillBrick AI platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",