用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/digi4care/opencode-mastery --skill intermediate-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Persistent memory system with .memory.md, compaction, and cross-project sync
Analyzes sessions using ACE framework to generate prompt improvement suggestions focused on durable patterns.
Database technology selection and architecture - choose between SQL vs NoSQL, PostgreSQL vs MySQL vs MongoDB, scaling strategies, migration planning. Use for database DECISIONS. For PostgreSQL implementation use postgresql skill.
基于 SOC 职业分类
正在显示 SKILL.md
| name | intermediate-skill |
| description | Demonstrates helper script integration with sequential execution |
I demonstrate how OpenCode skills integrate with helper scripts for sequential task execution.
Skills + Scripts = Workflows. While the SKILL.md file provides instructions to the AI assistant, helper scripts do the actual work with structured execution, console output, and step-by-step processing.
This skill contains two files:
skills/intermediate/
├── SKILL.md ← You are here! (instructions)
└── helper.sh ← Helper script (execution)
The pattern:
Execute the helper script to see sequential execution with console output:
bash src/skill/opencode-mastery/examples/skills/intermediate/helper.sh
The script will:
Skills can reference external scripts for execution:
## How to Use Me
Execute the helper script:
```bash
bash path/to/helper.sh
```
The AI assistant reads this instruction and executes the script via the Bash tool.
### 2. Sequential Execution Pattern
The helper demonstrates ordered execution:
```bash
Step 1: Initializing...
Step 2: Processing data...
Step 3: Generating output...
Step 4: Validating results...
Step 5: Finalizing...
Each step completes before the next begins - sequential execution.
Rich console feedback for visibility:
Reusable pattern for multi-step workflows:
The helper.sh follows this structure:
#!/bin/bash
# Header
echo "====================================="
echo " Sequential Execution Example"
echo "====================================="
# Steps (sequential execution)
for step in {1..5}; do
echo "Step $step: Executing task..."
# ... do work ...
echo " ✓ Completed"
done
# Footer
echo "====================================="
echo " Execution Complete"
echo "====================================="
Use helper scripts when you need:
After studying this intermediate example, you should understand:
Difficulty: ⭐⭐ (Beginner to intermediate) Complexity: Low (2 files: SKILL.md + helper.sh) Learning Curve: Gentle - adds helper script concept Use Case: Multi-step tasks, console output, sequential processing