majesticlabs-dev/majestic-marketplace

skill-archetypes

Four common skill archetypes with structure templates - CLI reference, methodology, safety/security, and orchestration.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill skill-archetypes

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Skill Archetypes

Identify which archetype fits best and follow its structure.

1. CLI Reference Skill

For tools, CLIs, APIs. Structure by operations, minimize prose.

markdown
## Authentication
[How to authenticate]

## Core Operations
| Command | Description |
|---------|-------------|
| `tool init` | Initialize project |
| `tool run` | Execute task |

## Common Workflows
[Task-oriented examples]

Examples: kamal-coder, wrangler-coder, gh-cli

2. Methodology Skill

For development practices, workflows, philosophies.

markdown
## Core Philosophy
[Why this approach matters - 2-3 sentences max]

## The Process
1. [Step with criteria]
2. [Step with criteria]

## Decision Criteria
| Situation | Action |
|-----------|--------|
| [condition] | [response] |

Examples: tdd-workflow, dhh-coder, founder-mode

3. Safety/Security Skill

For operations with risk. Include tiered approvals.

markdown
## Risk Tiers

| Tier | Operations | Approval |
|------|------------|----------|
| Low | Read-only queries | Auto |
| Medium | Modifications | Confirm |
| High | Destructive ops | Explicit |

## Blocking Patterns
[What to never do]

## Allowing Patterns
[Safe operations]

Examples: infra-security-review, devops-verifier

4. Orchestration Skill

For multi-step processes that coordinate other tools.

markdown
## Quick Start
[Minimal invocation]

## Workflow Phases
1. [Phase]: [What happens]
2. [Phase]: [What happens]

## Machine-Readable Output
[JSON/YAML schema for automation]

Examples: build-task-workflow, quality-gate

Advanced Patterns

THE EXACT PROMPT Pattern

For reproducible agent-to-agent handoffs, encode prompts in ALL CAPS:

markdown
## THE EXACT PROMPT

ANALYZE THE FOLLOWING CODE FOR SECURITY VULNERABILITIES:
1. CHECK FOR HARDCODED SECRETS
2. IDENTIFY SQL INJECTION RISKS
3. FLAG INSECURE DEPENDENCIES

RETURN FINDINGS AS JSON WITH SEVERITY LEVELS.

Checklist Pattern

For multi-step processes with progress tracking:

markdown
## Checklist

- [ ] Step 1: [Action with success criteria]
- [ ] Step 2: [Action with success criteria]
- [ ] Step 3: [Action with success criteria]

Mark each complete before proceeding.

Feedback Loop Pattern

For operations requiring validation:

markdown
## Validation Loop

1. Execute action
2. Verify result matches criteria
3. If FAIL: diagnose → fix → goto 1
4. If PASS: proceed to next step

Never advance without validation passing.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills