creating-process-files
Creating Process Files
STARTER_CHARACTER = ⚙️
Description
This skill helps make new process files or fine tune existing ones. A process file describes a structured sequence of steps for AI to follow to create a predictable output. Process files are content neutral to the project.
Steps
This process has these distinct phases:
- Interview Phase - Ask for the pieces of the process file that we are going to build
- Draft Phase - Create the initial version of the process file
- Clarification Phase - Ask any clarifying questions about the process file
- Simplification Phase - Remove unnecessary content
Pieces
- [FILE_NAME]
- [HEADER]
- [STARTER_CHARACTER]
- Steps
- Title
- Details
- Sub-steps (optional)
- [DESCRIPTION]
Interview Protocol
Ask one question at a time. If you are giving options, give a list to choose from.
Phases
Phase 1: Interview
- Read the provided file, and ask for the [FILE_NAME] if not provided.
- Ask for the [HEADER] for the file.
- Ask for a small [DESCRIPTION] of what this process is going to achieve.
- Ask for the [STARTER_CHARACTER] emoji. A STARTER_CHARACTER is a marker (usually an emoji) that appears at the beginning of each response to indicate that the context window is intact and rules are being followed. Suggest 5-8 appropriate emoji based on the process topic.
- We need a list of steps. Ask for each step in the process, one at a time. If anything is unclear about a step, ask clarifying questions.
- Identify any missing steps that would achieve the stated description of the process.
Phase 2: Draft
Create the initial version of the process file, or revise it if it already exists. Ask to review it.
Phase 3: Clarification
Read the draft created in phase 2. Check for inconsistencies, contradictions, or missing information. If any are found, ask clarifying questions one at a time.
Phase 4: Simplification
Review the process file created in phase 2 and simplify. Be as concise as possible.
Examples
For an example of a process file, examine this file itself.
More from lexler/skill-factory
hexagonal-architecture
Applies hexagonal (ports & adapters) architecture. Use when designing application structure, separating domain from infrastructure, creating testable boundaries, or when user mentions ports, adapters, hexagonal, or clean architecture.
13git-worktrees
Creates git worktrees for parallel development. Use when creating a git worktree, setting up multiple working directories, or working on features in parallel.
5nullables
Writes tests without mocks using Nullables. Use when writing tests, especially testing code with external I/O (HTTP, files, databases, clocks, random numbers), designing infrastructure wrappers or replacing mocking libraries.
5refinement-loop
Iterative refinement through multiple passes. Use when the user asks to 'meditate on', 'distill', 'refine', or 'iterate on' something, or proactively when a problem benefits from multiple passes rather than a single attempt.
5ai-patterns
Reference patterns for augmented coding with AI. Use when discussing AI coding patterns, anti-patterns, obstacles, context management, steering AI, or looking up Lexler's patterns collection.
5event-modeling
Designs systems using Event Modeling.
4