← Back to list

copal-engineering-loop
by royisme
CoPal (Command-line Orchestration Playbook for AI coders) is a universal collaboration framework designed for terminal-based AI coding assistants such as OpenAI Codex CLI, Anthropic Claude Code, GitHub Copilot CLI, and similar tools.
⭐ 0🍴 0📅 Dec 10, 2025
SKILL.md
name: Copal Engineering Loop description: Use when implementing features with structured TDD workflow, task tracking via todo.json, and engineering best practices.
Copal Engineering Loop Skill
This skill integrates with the Copal CLI to provide structured, state-driven development workflows.
When to Use This Skill
Activate this skill when:
- User asks to implement a feature or fix a bug
- User wants structured development workflow (Plan → Research → Work → Review)
- Project has
.copal/directory withtodo.json
Available Commands
Task Management
# Get and start the next pending task
copal next [--worktree]
# Mark a task as completed
copal done <task_id>
# Show project status, task summary, and recent session history
copal status
# Validate project state before starting work
copal validate --pre-task
# Search project memory
copal memory search --query "search term"
Workflow
1. Session Initialization (Get Bearings)
- Run
copal statusto see active tasks. - Run
copal nextto get context and see recent session history. - If you need more context, use
copal memory search. - Run
copal validate --pre-taskto ensure:- Git working directory is clean
- Baseline tests are passing
2. Execution Loop
- Run
copal next(orcopal next --worktreefor isolation) to claim a task. - Worktree: If using worktree,
cdinto the new directory. - TDD: Write tests -> Fail -> Implement -> Pass.
- Commit: Make atomic commits for the task.
3. Completion & Handover
- Run
copal done <id>. This will:- Mark task as done in
todo.json - Save a session summary to memory automatically
- Mark task as done in
- If using worktree, merge changes back to main branch.
Task States
| Status | Meaning |
|---|---|
todo | Not started |
in_progress | Currently being worked on |
done | Completed |
blocked | Cannot proceed |
Best Practices
- Trust the Harness: Rely on
copal validateand memory chains. - One Feature, One Branch: Use
copal next --worktreefor complex tasks. - Validation Gates: Never start a task on a dirty or broken state.
- Self-Correction: If
copal donefails, fix the issue and retry.
File Locations
- Task list:
.copal/artifacts/todo.json - Memories:
.copal/memory.sqlite(managed via CLI)
Score
Total Score
70/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon