一键导入
creating-processes
Use when creating a new PAS process from a user's goal description. Invoked by the PAS router, not directly by users.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating a new PAS process from a user's goal description. Invoked by the PAS router, not directly by users.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating a local agent for a pas-clief workspace. Walks the user through naming the agent, defining its role, listing its skills, and writing CLAUDE.md and CONTEXT.md from templates. The agent lands in `library/agents/<name>/`.
Use when drafting and publishing a newsletter issue. Walks research → draft → publish phases, using the writer agent. Example library process for pas-clief — copy or extend it for your own use.
Use when applying a workspace's drafting conventions to written output — voice, format, sentence rhythm, the things that make output feel like it belongs to this project. Reads the workspace's style notes if any and adjusts the draft accordingly.
Use when line-editing a draft for clarity and economy. Tightens sentences, removes filler, rewrites awkward constructions, ensures every sentence earns its keep. Apply this skill on the final pass before output.
Use when an agent needs to gather sources or background information from the web for a topic. Produces a concise sources file with URLs, summaries, and the most relevant excerpts.
Use when checking that a pas-clief workspace is current with the latest plugin conventions, or when migrating from an older version. Walks a checklist of structural and template changes and offers to apply each.
| name | creating-processes |
| description | Use when creating a new PAS process from a user's goal description. Invoked by the PAS router, not directly by users. |
Create a complete process definition from a user's goal. A process defines WHAT needs to happen, in WHAT ORDER, to achieve a specific GOAL. It assigns work to agents, defines phase gates, and manages flow.
This skill IS the execution framework. When generating plans for process creation:
When creating a process, the workspace reflects the running process (PAS), not the artifact being created:
.pas/workspace/pas/create-songwriting-process/.pas/workspace/songwriting/create-process/The workspace slug should describe the task: create-{name}-process. The process field in status.yaml is always pas (since the PAS orchestrator is running).
A thin launcher is the .claude/skills/{name}/SKILL.md file generated by pas-create-process. It contains no logic — only Read directives pointing to the real process definition, lifecycle protocol, and orchestration pattern. Its purpose is to register the process as a Claude Code slash command (e.g., /songwriting) that loads the full process on invocation.
Never assume you understand what the user wants. Ask clarifying questions until the user confirms.
If the process requires domain knowledge from raw source material (transcripts, documentation, course content):
.pas/processes/{name}/reference/ directoryreference/source/ — this is the authoritative knowledge baseSkip this step if the process is based on general knowledge or user-provided specifications.
Break the goal into sequential phases. For each phase define:
Parallelism: infer from I/O dependencies. Phases sharing the same input but not depending on each other can run in parallel. Phases listing another phase's output as input must wait. No explicit depends_on needed. Optional sequential: true at process level to force linear.
Start with the minimum viable set. Every process needs an orchestrator. Add specialist agents only when:
For simple processes (1-3 phases, similar skills), the orchestrator handles everything (solo pattern).
Read ${CLAUDE_PLUGIN_ROOT}/library/orchestration/SKILL.md for the decision matrix. Then apply it:
| Agents | Discussion needed? | Parallel phases? | Pattern |
|---|---|---|---|
| 1 | N/A | N/A | solo |
| 2+ | Yes | N/A | discussion |
| 2+ | No | Yes | hub-and-spoke |
| 2+ | No | No | sequential-agents |
Default to hub-and-spoke when unsure.
Run the generation script with all decisions from steps 1-5:
bash ${CLAUDE_SKILL_DIR}/scripts/pas-create-process \
--name {process-name} \
--goal "{one-sentence goal}" \
--orchestration {pattern} \
--phase "{name}:{agent}:{input}:{output}:{gate}" \
--input "{name}:{description}" \
--description "{brief description}" \
--sequential {true|false} \
--base-dir {directory}
Repeatable flags: --phase (required, at least one), --input (required, at least one).
Optional: --base-dir sets the root directory for output (default: current directory). Use for test isolation to avoid generating into the project's real .pas/processes/ directory.
This creates the process directory (process.md, mode files, references/, feedback/), thin launcher, and changelog.
For each agent determined in step 4, use creating-agents/SKILL.md:
creating-agents/SKILL.md from the same skills directory as this skillEvaluate whether the process needs lifecycle hooks:
.pas/config.yaml has feedback: enabled, the PAS plugin's hooks handle self-eval and routing automatically. No per-process hooks needed for feedback.If hooks are needed, use creating-hooks/SKILL.md from the same skills directory as this skill.
Most processes do not need custom hooks — the PAS plugin's global hooks cover feedback lifecycle. Only add hooks when the process has domain-specific automation needs.
If Step 2 (Prepare Reference Material) was used, cross-check every created skill against the reference doc:
This is a mandatory step when source material exists. Do not skip it.