Initial commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"name": "api-connector-marketplace",
|
||||
"owner": {
|
||||
"name": "Skill Porter User",
|
||||
"email": "user@example.com"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Connect to REST APIs, manage authentication, and process responses. Use for API integration tasks.",
|
||||
"version": "2.1.0"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "api-connector",
|
||||
"description": "Connect to REST APIs, manage authentication, and process responses. Use for API integration tasks.",
|
||||
"source": ".",
|
||||
"strict": false,
|
||||
"author": "Converted from Gemini",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/user/api-connector"
|
||||
},
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"connect",
|
||||
"rest",
|
||||
"apis,",
|
||||
"manage",
|
||||
"authentication,"
|
||||
],
|
||||
"category": "general",
|
||||
"tags": [],
|
||||
"skills": [
|
||||
"."
|
||||
],
|
||||
"mcpServers": {
|
||||
"api-client": {
|
||||
"command": "node",
|
||||
"args": [
|
||||
"mcp-server/api-client.js"
|
||||
],
|
||||
"env": {
|
||||
"API_BASE_URL": "${API_BASE_URL}",
|
||||
"API_KEY": "${API_KEY}",
|
||||
"API_TIMEOUT": "${API_TIMEOUT}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
37
examples/before-after/api-connector-converted/GEMINI.md
Normal file
37
examples/before-after/api-connector-converted/GEMINI.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# API Connector - Gemini CLI Extension
|
||||
|
||||
Connect to REST APIs, manage authentication, and process responses.
|
||||
|
||||
## Features
|
||||
|
||||
- Make GET, POST, PUT, DELETE requests
|
||||
- Automatic authentication header management
|
||||
- JSON response parsing
|
||||
- Rate limiting and retry logic
|
||||
- Response caching
|
||||
|
||||
## Configuration
|
||||
|
||||
**Required:**
|
||||
- `API_KEY`: Your API authentication key
|
||||
|
||||
**Optional:**
|
||||
- `API_BASE_URL`: Base URL (default: https://api.example.com)
|
||||
- `API_TIMEOUT`: Timeout in ms (default: 30000)
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
"Get data from /users endpoint"
|
||||
"POST this JSON to /api/create"
|
||||
"Check the API status"
|
||||
```
|
||||
|
||||
## Safety
|
||||
|
||||
This extension operates in read-only mode:
|
||||
- Cannot execute bash commands
|
||||
- Cannot edit local files
|
||||
- Cannot write files to disk
|
||||
|
||||
Only makes HTTP requests to configured API endpoints.
|
||||
72
examples/before-after/api-connector-converted/SKILL.md
Normal file
72
examples/before-after/api-connector-converted/SKILL.md
Normal file
@@ -0,0 +1,72 @@
|
||||
---
|
||||
name: api-connector
|
||||
description: Connect to REST APIs, manage authentication, and process responses. Use for API integration tasks.
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Glob
|
||||
- Grep
|
||||
- Task
|
||||
- WebFetch
|
||||
- WebSearch
|
||||
- TodoWrite
|
||||
- AskUserQuestion
|
||||
- SlashCommand
|
||||
- Skill
|
||||
- NotebookEdit
|
||||
- BashOutput
|
||||
- KillShell
|
||||
---
|
||||
|
||||
# api-connector - Claude Code Skill
|
||||
|
||||
Connect to REST APIs, manage authentication, and process responses. Use for API integration tasks.
|
||||
|
||||
## Configuration
|
||||
|
||||
This skill requires the following environment variables:
|
||||
|
||||
- `API_BASE_URL`: Base URL for API requests (default: https://api.example.com)
|
||||
- `API_KEY`: API authentication key **(required)**
|
||||
- `API_TIMEOUT`: Request timeout in milliseconds (default: 30000)
|
||||
|
||||
Set these in your environment or Claude Code configuration.
|
||||
|
||||
Connect to REST APIs, manage authentication, and process responses.
|
||||
|
||||
## Features
|
||||
|
||||
- Make GET, POST, PUT, DELETE requests
|
||||
- Automatic authentication header management
|
||||
- JSON response parsing
|
||||
- Rate limiting and retry logic
|
||||
- Response caching
|
||||
|
||||
## Configuration
|
||||
|
||||
**Required:**
|
||||
- `API_KEY`: Your API authentication key
|
||||
|
||||
**Optional:**
|
||||
- `API_BASE_URL`: Base URL (default: https://api.example.com)
|
||||
- `API_TIMEOUT`: Timeout in ms (default: 30000)
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
"Get data from /users endpoint"
|
||||
"POST this JSON to /api/create"
|
||||
"Check the API status"
|
||||
```
|
||||
|
||||
## Safety
|
||||
|
||||
This extension operates in read-only mode:
|
||||
- Cannot execute bash commands
|
||||
- Cannot edit local files
|
||||
- Cannot write files to disk
|
||||
|
||||
Only makes HTTP requests to configured API endpoints.
|
||||
|
||||
---
|
||||
|
||||
*This skill was converted from a Gemini CLI extension using [skill-porter](https://github.com/jduncan-rva/skill-porter)*
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "api-connector",
|
||||
"version": "2.1.0",
|
||||
"description": "Connect to REST APIs, manage authentication, and process responses. Use for API integration tasks.",
|
||||
"contextFileName": "GEMINI.md",
|
||||
"settings": [
|
||||
{
|
||||
"name": "API_BASE_URL",
|
||||
"description": "Base URL for API requests",
|
||||
"default": "https://api.example.com"
|
||||
},
|
||||
{
|
||||
"name": "API_KEY",
|
||||
"description": "API authentication key",
|
||||
"secret": true,
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "API_TIMEOUT",
|
||||
"description": "Request timeout in milliseconds",
|
||||
"default": "30000"
|
||||
}
|
||||
],
|
||||
"mcpServers": {
|
||||
"api-client": {
|
||||
"command": "node",
|
||||
"args": ["${extensionPath}/mcp-server/api-client.js"],
|
||||
"env": {
|
||||
"API_BASE_URL": "${API_BASE_URL}",
|
||||
"API_KEY": "${API_KEY}",
|
||||
"API_TIMEOUT": "${API_TIMEOUT}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"excludeTools": [
|
||||
"Bash",
|
||||
"Edit",
|
||||
"Write"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Usage Examples
|
||||
|
||||
Comprehensive usage examples and tutorials.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Technical Reference
|
||||
|
||||
Detailed API documentation and technical reference.
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "code-formatter-marketplace",
|
||||
"owner": {
|
||||
"name": "Example Developer",
|
||||
"email": "dev@example.com"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Formats code files using prettier and eslint",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "code-formatter",
|
||||
"description": "Formats code files using prettier and eslint. Use when the user wants to format code.",
|
||||
"source": ".",
|
||||
"strict": false,
|
||||
"author": "Example Developer",
|
||||
"license": "MIT",
|
||||
"keywords": ["formatting", "prettier", "eslint", "code-quality"],
|
||||
"category": "development",
|
||||
"tags": ["formatting", "tools"],
|
||||
"skills": ["."],
|
||||
"mcpServers": {
|
||||
"formatter-tools": {
|
||||
"command": "node",
|
||||
"args": ["mcp-server/index.js"],
|
||||
"env": {
|
||||
"PRETTIER_CONFIG": "${PRETTIER_CONFIG}",
|
||||
"ESLINT_CONFIG": "${ESLINT_CONFIG}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
47
examples/before-after/code-formatter-converted/GEMINI.md
Normal file
47
examples/before-after/code-formatter-converted/GEMINI.md
Normal file
@@ -0,0 +1,47 @@
|
||||
# code-formatter - Gemini CLI Extension
|
||||
|
||||
Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.
|
||||
|
||||
## Quick Start
|
||||
|
||||
After installation, you can use this extension by asking questions or giving commands naturally.
|
||||
|
||||
|
||||
# Code Formatter Skill
|
||||
|
||||
Automatically formats code files using industry-standard tools.
|
||||
|
||||
## Capabilities
|
||||
|
||||
- Format JavaScript/TypeScript with Prettier
|
||||
- Fix ESLint issues automatically
|
||||
- Format JSON, YAML, and Markdown files
|
||||
- Run format checks before commits
|
||||
|
||||
## Usage Examples
|
||||
|
||||
**Format a single file:**
|
||||
```
|
||||
"Format the src/index.js file"
|
||||
```
|
||||
|
||||
**Format entire directory:**
|
||||
```
|
||||
"Format all files in the src/ directory"
|
||||
```
|
||||
|
||||
**Check formatting without changes:**
|
||||
```
|
||||
"Check if files in src/ are properly formatted"
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Set these environment variables for custom configuration:
|
||||
- `PRETTIER_CONFIG`: Path to prettier config (default: .prettierrc)
|
||||
- `ESLINT_CONFIG`: Path to eslint config (default: .eslintrc.js)
|
||||
|
||||
|
||||
---
|
||||
|
||||
*This extension was converted from a Claude Code skill using [skill-porter](https://github.com/jduncan-rva/skill-porter)*
|
||||
42
examples/before-after/code-formatter-converted/SKILL.md
Normal file
42
examples/before-after/code-formatter-converted/SKILL.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
name: code-formatter
|
||||
description: Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
- Bash
|
||||
---
|
||||
|
||||
# Code Formatter Skill
|
||||
|
||||
Automatically formats code files using industry-standard tools.
|
||||
|
||||
## Capabilities
|
||||
|
||||
- Format JavaScript/TypeScript with Prettier
|
||||
- Fix ESLint issues automatically
|
||||
- Format JSON, YAML, and Markdown files
|
||||
- Run format checks before commits
|
||||
|
||||
## Usage Examples
|
||||
|
||||
**Format a single file:**
|
||||
```
|
||||
"Format the src/index.js file"
|
||||
```
|
||||
|
||||
**Format entire directory:**
|
||||
```
|
||||
"Format all files in the src/ directory"
|
||||
```
|
||||
|
||||
**Check formatting without changes:**
|
||||
```
|
||||
"Check if files in src/ are properly formatted"
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Set these environment variables for custom configuration:
|
||||
- `PRETTIER_CONFIG`: Path to prettier config (default: .prettierrc)
|
||||
- `ESLINT_CONFIG`: Path to eslint config (default: .eslintrc.js)
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "code-formatter",
|
||||
"version": "1.0.0",
|
||||
"description": "Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.",
|
||||
"contextFileName": "GEMINI.md",
|
||||
"mcpServers": {
|
||||
"formatter-tools": {
|
||||
"command": "node",
|
||||
"args": [
|
||||
"${extensionPath}/mcp-server/index.js"
|
||||
],
|
||||
"env": {
|
||||
"PRETTIER_CONFIG": "${PRETTIER_CONFIG}",
|
||||
"ESLINT_CONFIG": "${ESLINT_CONFIG}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"excludeTools": [
|
||||
"Edit",
|
||||
"Glob",
|
||||
"Grep",
|
||||
"Task",
|
||||
"WebFetch",
|
||||
"WebSearch",
|
||||
"TodoWrite",
|
||||
"AskUserQuestion",
|
||||
"SlashCommand",
|
||||
"Skill",
|
||||
"NotebookEdit",
|
||||
"BashOutput",
|
||||
"KillShell"
|
||||
],
|
||||
"settings": [
|
||||
{
|
||||
"name": "PRETTIER_CONFIG",
|
||||
"description": "Prettier Config"
|
||||
},
|
||||
{
|
||||
"name": "ESLINT_CONFIG",
|
||||
"description": "Eslint Config"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Usage Examples
|
||||
|
||||
Comprehensive usage examples and tutorials.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Technical Reference
|
||||
|
||||
Detailed API documentation and technical reference.
|
||||
Reference in New Issue
Block a user