devskill 2.0.10 → 2.0.12

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.
package/meta.ts CHANGED
@@ -26,6 +26,7 @@ export const submodules: Record<string, string> = {
26
26
  // 'react': 'https://github.com/reactjs/react.dev',
27
27
  'vue': 'https://github.com/vuejs/docs',
28
28
  'pinia': 'https://github.com/vuejs/pinia',
29
+ 'deepinfra': 'https://github.com/deepinfra/docs',
29
30
  }
30
31
 
31
32
  /**
@@ -156,6 +157,7 @@ export const collections: Record<string, string[]> = {
156
157
  'builderx_api-rabbitmq',
157
158
  'builderx_api-mongodb',
158
159
  'git-commit',
160
+ 'deepinfra',
159
161
  ]
160
162
  }
161
163
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devskill",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "description": "Equip Cursor, Windsurf, Cline, Antigravity, Claude Code, Codex, GitHub Copilot and other AI Agents with expert programming superpowers via a single interactive prompt.",
5
5
  "homepage": "https://vskill.vercel.app",
6
6
  "repository": {
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: add-educational-comments
3
3
  description: 'Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.'
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
4
8
  ---
5
9
 
6
10
  # Add Educational Comments
@@ -9,6 +9,10 @@ description: |
9
9
  - Building audit trails for agent actions and decisions
10
10
  - Enforcing rate limits, content filters, or tool restrictions on agents
11
11
  - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)
12
+ metadata:
13
+ author: Vũ Lưu
14
+ version: "2026.03.25"
15
+ source: base
12
16
  ---
13
17
 
14
18
  # Agent Governance Patterns
@@ -8,6 +8,10 @@ description: |
8
8
  - Designing rubric-based or LLM-as-judge evaluation systems
9
9
  - Adding iterative improvement to agent outputs (code, reports, analysis)
10
10
  - Measuring and improving agent response quality
11
+ metadata:
12
+ author: Vũ Lưu
13
+ version: "2026.03.25"
14
+ source: base
11
15
  ---
12
16
 
13
17
  # Agentic Evaluation Patterns
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  name: azure-role-selector
3
3
  description: When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role.
4
- allowed-tools: ['Azure MCP/documentation', 'Azure MCP/bicepschema', 'Azure MCP/extension_cli_generate', 'Azure MCP/get_bestpractices']
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
5
8
  ---
6
9
  Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.
@@ -2,8 +2,8 @@
2
2
  name: builderx_api-contexts
3
3
  description: Guide to Context logic structure in builderx_api.
4
4
  metadata:
5
- author: AI Assistant
6
- version: "2026.03.23"
5
+ author: Lưu
6
+ version: "2026.03.25"
7
7
  source: Source code builderx_api
8
8
  ---
9
9
 
@@ -2,8 +2,8 @@
2
2
  name: builderx_api-controllers
3
3
  description: Guide to Phoenix Controller structure in builderx_api using FallbackController and standard tuple responses.
4
4
  metadata:
5
- author: AI Assistant
6
- version: "2026.03.23"
5
+ author: Lưu
6
+ version: "2026.03.25"
7
7
  source: Source code builderx_api
8
8
  ---
9
9
 
@@ -1,5 +1,10 @@
1
1
  ---
2
+ name: builderx_api-kafka
2
3
  description: Patterns for using Kafka (:brod), creating producers, consumers, and offset management in BuilderX API
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: Source code builderx_api
3
8
  ---
4
9
 
5
10
  # BuilderX API Kafka Skill
@@ -1,5 +1,10 @@
1
1
  ---
2
+ name: builderx_api-mongodb
2
3
  description: Patterns for using MongoDB driver and dynamic collections in BuilderX API
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: Source code builderx_api
3
8
  ---
4
9
 
5
10
  # BuilderX API MongoDB Skill
@@ -1,5 +1,10 @@
1
1
  ---
2
+ name: builderx_api-rabbitmq
2
3
  description: Patterns for using RabbitMQ (AMQP), creating consumers/workers, and publishing messages in BuilderX API
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: Source code builderx_api
3
8
  ---
4
9
 
5
10
  # BuilderX API RabbitMQ Skill
@@ -1,5 +1,10 @@
1
1
  ---
2
+ name: builderx_api-redis
2
3
  description: Patterns for using Redis caching, PubSub, and Poolboy in BuilderX API
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: Source code builderx_api
3
8
  ---
4
9
 
5
10
  # BuilderX API Redis Skill
@@ -2,8 +2,8 @@
2
2
  name: builderx_api-schemas
3
3
  description: Guidelines for creating Ecto Schemas in builderx_api, including composite primary keys, custom json function and Ecto.Changeset.
4
4
  metadata:
5
- author: AI Assistant
6
- version: "2026.03.23"
5
+ author: Lưu
6
+ version: "2026.03.25"
7
7
  source: Source code builderx_api
8
8
  ---
9
9
 
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: deepinfra
3
+ description: Guide to setting up and using DeepInfra API for LLM and image generation models.
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: Generated from sources/deepinfra
8
+ ---
9
+
10
+ # DeepInfra API
11
+
12
+ > This skill focuses on integrating DeepInfra's REST API into any project. **Do not use language-specific SDKs** (like the `openai` NodeJS package or LangChain) unless the project already heavily depends on them.
13
+
14
+ ## Key Integration Rules
15
+
16
+ - **Use the Repository's Native HTTP Client**: Before writing code to call the DeepInfra API, **you must analyze the current repository** to identify how external HTTP requests are typically made (e.g., a custom `useFetch` wrapper, an Axios instance, Elixir `Req`, or standard `fetch`).
17
+ - **Adapt to Existing Patterns**: Send the DeepInfra request using the exact fetching mechanism discovered in the project. Do not introduce raw `fetch` commands or new libraries if a standard API wrapper already exists.
18
+ - **Endpoint**: The base URL for most AI inference tasks (chat completions) is `POST https://api.deepinfra.com/v1/openai/chat/completions`.
19
+ - **Authentication**: You must set the `Authorization: Bearer <API_KEY>` header. Always read the API key from environment variables (e.g., `process.env.DEEPINFRA_API_KEY` or `System.get_env("DEEPINFRA_API_KEY")`) rather than hardcoding.
20
+ - **Headers**: Always include `Content-Type: application/json`.
21
+
22
+ ## Quick Reference
23
+
24
+ ### Standard JSON Payload
25
+
26
+ Adapt this payload to the project's standard API caller:
27
+
28
+ ```json
29
+ {
30
+ "model": "meta-llama/Meta-Llama-3-70B-Instruct",
31
+ "messages": [
32
+ {
33
+ "role": "user",
34
+ "content": "Hello!"
35
+ }
36
+ ]
37
+ }
38
+ ```
39
+
40
+ ### Example Response Structure
41
+
42
+ DeepInfra yields an OpenAI-compatible JSON structure. Handle the response parsing according to the repository's typical data-transformation layers:
43
+
44
+ ```json
45
+ {
46
+ "id": "chatcmpl-guMTxWgpFf",
47
+ "object": "chat.completion",
48
+ "created": 1694623155,
49
+ "model": "meta-llama/Meta-Llama-3-70B-Instruct",
50
+ "choices": [
51
+ {
52
+ "index": 0,
53
+ "message": {
54
+ "role": "assistant",
55
+ "content": "Hello! It's nice to meet you."
56
+ },
57
+ "finish_reason": "stop"
58
+ }
59
+ ],
60
+ "usage": {
61
+ "prompt_tokens": 15,
62
+ "completion_tokens": 16,
63
+ "total_tokens": 31
64
+ }
65
+ }
66
+ ```
67
+
68
+ ### Supported Models
69
+
70
+ Always use the exact model ID from the DeepInfra catalog, such as:
71
+ - `deepseek-ai/DeepSeek-V3`
72
+ - `meta-llama/Meta-Llama-3-70B-Instruct`
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: first-ask
3
3
  description: 'Interactive, input-tool powered, task refinement workflow: interrogates scope, deliverables, constraints before carrying out the task; Requires the Joyride extension.'
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
4
8
  ---
5
9
 
6
10
  # Act Informed: First understand together with the human, then do
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: playwright-explore-website
3
3
  description: 'Website exploration for testing using Playwright MCP'
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
4
8
  ---
5
9
 
6
10
  # Website Exploration for Testing
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: playwright-generate-test
3
3
  description: 'Generate a Playwright test based on a scenario using Playwright MCP'
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
4
8
  ---
5
9
 
6
10
  # Test Generation with Playwright MCP
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: remember-interactive-programming
3
3
  description: 'A micro-prompt that reminds the agent that it is an interactive programmer. Works great in Clojure when Copilot has access to the REPL (probably via Backseat Driver). Will work with any system that has a live REPL that the agent can use. Adapt the prompt with any specific reminders in your workflow and/or workspace.'
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
4
8
  ---
5
9
 
6
10
  Remember that you are an interactive programmer with the system itself as your source of truth. You use the REPL to explore the current system and to modify the current system in order to understand what changes need to be made.
@@ -1,7 +1,10 @@
1
1
  ---
2
2
  name: unit-test-vue-pinia
3
- category: testing
4
3
  description: 'Write and review unit tests for Vue 3 + TypeScript + Vitest + Pinia codebases. Use when creating or updating tests for components, composables, and stores; mocking Pinia with createTestingPinia; applying Vue Test Utils patterns; and enforcing black-box assertions over implementation details.'
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
5
8
  ---
6
9
 
7
10
  # unit-test-vue-pinia
@@ -1,9 +1,10 @@
1
1
  ---
2
2
  name: vue-pinia-best-practices
3
3
  description: "Pinia stores, state management patterns, store setup, and reactivity with stores."
4
- version: 1.0.0
5
- license: MIT
6
- author: github.com/vuejs-ai
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
7
8
  ---
8
9
 
9
10
  Pinia best practices, common gotchas, and state management patterns.
@@ -1,9 +1,10 @@
1
1
  ---
2
2
  name: vue-router-best-practices
3
3
  description: "Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions."
4
- version: 1.0.0
5
- license: MIT
6
- author: github.com/vuejs-ai
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
7
8
  ---
8
9
 
9
10
  Vue Router best practices, common gotchas, and navigation patterns.
@@ -1,9 +1,10 @@
1
1
  ---
2
2
  name: vue-testing-best-practices
3
- version: 1.0.0
4
- license: MIT
5
- author: github.com/vuejs-ai
6
3
  description: Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
4
+ metadata:
5
+ author: Vũ Lưu
6
+ version: "2026.03.25"
7
+ source: base
7
8
  ---
8
9
 
9
10
  Vue.js testing best practices, patterns, and common gotchas.