| name | resourcex-author |
| description | Create, develop, and publish AI resources (prompts, tools, agents) to ResourceX registry. Use when user asks to "create a prompt", "publish resource", "develop AI tool", "share prompt", or mentions "resourcex", "rx add", "rx push". |
| allowed-tools | Bash(resourcex-author:*), Read, Write, Edit |
ResourceX Author Skill
Create and publish AI resources (prompts, tools, agents) to ResourceX registry.
Quick start
mkdir my-prompt && cd my-prompt
echo '{"name":"my-prompt","type":"text","tag":"1.0.0"}' > resource.json
echo 'You are a helpful assistant...' > content
rx add .
rx resolve my-prompt:1.0.0
rx push my-prompt:1.0.0 --registry https://registry.example.com
Core workflow
- Create: Make directory with
resource.json + content files
- Add:
rx add ./path to local storage
- Test:
rx resolve name:tag to verify
- Iterate:
rx link ./path for live development
- Publish:
rx push name:tag to registry
Resource structure
my-prompt/
├── resource.json # Required: metadata
└── content # Required: main content (or any files)
resource.json format
{
"name": "my-prompt",
"type": "text",
"tag": "1.0.0",
"description": "A helpful assistant prompt",
"author": "your-name",
"license": "MIT"
}
Required fields:
name: Resource identifier (lowercase, hyphens allowed)
type: Resource type (text, json, binary, or custom)
Optional fields:
tag: Version tag (default: latest)
registry: Target registry domain
path: Namespace path (e.g., tools/ai)
description, author, license, keywords
Commands
Local operations
rx add ./my-prompt
rx link ./my-prompt
rx unlink my-prompt:1.0.0
rx list
rx info my-prompt:1.0.0
rx resolve my-prompt:1.0.0
rx remove my-prompt:1.0.0
Remote operations
rx push my-prompt:1.0.0
rx push my-prompt:1.0.0 --registry https://...
rx search my-prompt
Configuration
rx config list
rx config set registry https://registry.example.com
Development workflow with link
rx link creates a symlink for rapid iteration - changes are reflected immediately without re-adding.
rx link ./my-prompt
rx resolve my-prompt:1.0.0
rx resolve my-prompt:1.0.0
rx add ./my-prompt
rx unlink my-prompt:1.0.0
rx push my-prompt:1.0.0
Example: Create a code review prompt
mkdir code-review-prompt
cd code-review-prompt
cat > resource.json << 'EOF'
{
"name": "code-review-prompt",
"type": "text",
"tag": "1.0.0",
"description": "AI code review assistant prompt"
}
EOF
cat > content << 'EOF'
You are an expert code reviewer. Review the provided code for:
1. Bugs and potential issues
2. Performance improvements
3. Code style and best practices
4. Security vulnerabilities
Provide specific, actionable feedback with code examples.
EOF
rx add .
rx resolve code-review-prompt:1.0.0
rx push code-review-prompt:1.0.0 --registry https://registry.example.com
Example: Iterate with link
rx link ./code-review-prompt
rx resolve code-review-prompt:1.0.0
rx add ./code-review-prompt
rx unlink code-review-prompt:1.0.0
rx push code-review-prompt:1.0.0
Resource types
| Type | Description | Content format |
|---|
text | Plain text, prompts | UTF-8 text |
json | Configuration, structured data | JSON |
binary | Images, compiled assets | Any binary |
Locator format
[registry/][path/]name[:tag]
Examples:
my-prompt # Local, latest tag
my-prompt:1.0.0 # Local, specific tag
registry.example.com/my-prompt:1.0.0 # Remote
registry.example.com/tools/my-prompt:1.0.0 # Remote with path
Tips
- Use
rx link during development for instant feedback
- Test with
rx resolve before publishing
- Use semantic versioning for tags (1.0.0, 1.1.0, 2.0.0)
- Add description and keywords for discoverability