packages/skills/skills/ct-dev-workflow/SKILL.md
Development workflow orchestration for task-driven development with atomic commits, conventional commit messages, and systematic release processes. Enforces task traceability, branch discipline, smart test scope selection, and GitHub Actions integration. Use when committing code, creating releases, managing branches, or following contribution protocols. Triggers on commit operations, release preparation, or workflow compliance needs.
npx skillsauth add kryptobaseddev/cleo ct-dev-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Protocol: @src/protocols/contribution.md Type: Context Injection (cleo-subagent) Version: 3.0.0
Context injection for development workflow tasks spawned via cleo-subagent. Provides domain expertise for atomic commits with task traceability, conventional commit messages, and systematic release processes.
CRITICAL: NO code changes or commits without a tracked task.
Every commit MUST be traceable to a CLEO task. This ensures:
| ID | Rule | Enforcement |
|----|------|-------------|
| WF-001 | Task required | NO commits without CLEO task reference |
| WF-002 | Branch discipline | NO commits to main/master |
| WF-003 | Atomic commits | ONE logical change per commit |
| WF-004 | Conventional format | <type>(<scope>): <description> |
| WF-005 | Tests before push | Relevant tests MUST pass |
# 1. Verify you have a task
cleo current
# 2. If no task, find or create one
cleo find "relevant query"
cleo add "Task title" --description "What you're doing" --parent T001
cleo start T123
MUST include task reference:
<type>(<scope>): <description>
<body explaining why>
Task: T123
Co-Authored-By: Claude <[email protected]>
Example:
fix(auth): prevent token expiry race condition
The refresh token was being invalidated before the new access
token was validated, causing intermittent auth failures.
Task: T1456
Co-Authored-By: Claude <[email protected]>
Subagents share the parent session's branch. This means:
# Check current branch
git branch --show-current
# Feature work (typical pattern)
main → feature/T123-description → PR → main
# Branch naming
feature/T123-auth-improvements # Task-prefixed
fix/T456-token-validation # Bug fix
Not all gates apply to all changes. Follow the decision matrix.
Always required.
# 1. Verify task context
cleo current
# MUST have a current task
# 2. Check branch
git branch --show-current
# MUST NOT be main/master
# 3. Check for uncommitted work
git status --porcelain
# Review staged/unstaged changes
| Type | Description | Tests Needed | Version Bump |
|------|-------------|--------------|--------------|
| feat | New feature | Related tests | MINOR |
| fix | Bug fix | Regression test | PATCH |
| docs | Documentation | None | None |
| refactor | Code restructure | Affected tests | PATCH |
| test | Test additions | The new tests | None |
| chore | Maintenance | None | None |
| perf | Performance | Perf tests | PATCH |
| security | Security fix | Security tests | PATCH |
NOT always full test suite. CI runs full tests on push.
| Change Type | Test Scope | Command |
|-------------|------------|---------|
| feat | Related module tests | bats tests/unit/feature.bats |
| fix | Regression + affected | bats tests/unit/affected.bats |
| docs | None (CI validates) | Skip |
| refactor | Affected modules | bats tests/unit/module*.bats |
| test | The new tests only | bats tests/unit/new.bats |
| chore | Syntax check only | bash -n scripts/*.sh |
When to run full suite locally:
# Full suite (when needed)
./tests/run-all-tests.sh
# Targeted tests (typical)
bats tests/unit/specific-feature.bats
bats tests/integration/workflow.bats
# Quick syntax check
bash -n scripts/*.sh lib/*.sh
# 1. Get task info
task_id=$(cleo current --quiet)
# 2. Stage changes (be specific for atomic commits)
git add scripts/specific-file.sh lib/related.sh
# 3. Create commit with task reference
git commit -m "$(cat <<'EOF'
fix(auth): prevent token expiry race condition
The refresh token was being invalidated before validation.
Task: T1456
Co-Authored-By: Claude <[email protected]>
EOF
)"
# Push branch (CI runs full tests)
git push origin HEAD
# CI will run:
# - Full test suite
# - ShellCheck linting
# - JSON validation
# - Documentation drift check
# - Installation test
Only for releases, not every commit.
# 1. Preview
./dev/bump-version.sh --dry-run patch
# 2. Execute
./dev/bump-version.sh patch
# 3. Validate
./dev/validate-version.sh
# 4. Reinstall locally
./install.sh --force
cleo version
GitHub Actions handles release creation.
# 1. Create annotated tag
git tag -a v${VERSION} -m "${TYPE}: ${SUMMARY}"
# 2. Push tag (triggers release workflow)
git push origin v${VERSION}
# 3. Push branch
git push origin HEAD
# GitHub Actions automatically:
# - Builds release tarball
# - Creates GitHub Release
# - Generates release notes
# - Uploads artifacts
| Change | Local Tests | Rely on CI | |--------|-------------|------------| | Single file fix | Related unit test | Yes | | New feature | Feature tests | Yes | | Docs only | None | Yes | | Schema change | Schema tests | Yes | | Cross-cutting refactor | Full suite | Yes | | Release prep | Full suite | Yes |
| Change | Bump | Tag |
|--------|------|-----|
| feat | minor | Yes |
| fix | patch | Yes |
| docs | No | No |
| refactor | patch | Yes |
| test | No | No |
| chore | No | No |
| perf | patch | Yes |
| security | patch | Yes |
@skills/_shared/task-system-integration.md
# Task lifecycle
cleo current # Current task
cleo start T123 # Start task
cleo complete T123 # Mark done
# Find existing work
cleo find "query" # Search tasks
cleo list --status pending # Pending work
# Create new work
cleo add "Title" --parent T001 --description "..."
# Session management
cleo session status # Current session
cleo session end --note "Completed X, Y, Z"
@skills/_shared/subagent-protocol-base.md
{{OUTPUT_DIR}}/{{DATE}}_{{TOPIC_SLUG}}.md{{MANIFEST_PATH}}# 1. Verify task
cleo current
# Output: T1456 - Fix token validation
# 2. Make changes
# ... edit files ...
# 3. Run relevant test
bats tests/unit/auth.bats
# 4. Stage specific files
git add lib/auth.sh scripts/login.sh
# 5. Commit with task
git commit -m "$(cat <<'EOF'
fix(auth): prevent token expiry race condition
Task: T1456
Co-Authored-By: Claude <[email protected]>
EOF
)"
# 6. Push (CI handles full tests)
git push origin HEAD
# 7. Mark task complete
cleo complete T1456
# 1. Verify task
cleo current # T1550 - Update README
# 2. Make doc changes
# ... edit docs ...
# 3. No tests needed (CI validates)
# 4. Commit
git add docs/ README.md
git commit -m "$(cat <<'EOF'
docs: update installation instructions
Task: T1550
Co-Authored-By: Claude <[email protected]>
EOF
)"
# 5. Push
git push origin HEAD
# 6. Complete
cleo complete T1550
| Pattern | Problem | Solution | |---------|---------|----------| | No task reference | Untracked work | Create/find task first | | Committing to main | Bypass review | Use feature branches | | Running full tests always | Slow iteration | Use smart test scope | | Skipping CI | Missing validations | Always push, let CI run | | Manual release creation | Inconsistent releases | Use tag, GH Actions | | Giant commits | Hard to review/revert | Atomic commits | | Vague commit messages | Lost context | Conventional + task ref |
tools
Connect any AI agent to SignalDock for agent-to-agent messaging. Use when an agent needs to: (1) register on api.signaldock.io, (2) install the signaldock runtime CLI, (3) send/receive messages to other agents, (4) set up SSE real-time streaming, (5) poll for messages, (6) check inbox, or (7) connect to the SignalDock platform. Triggers on: "connect to signaldock", "register agent", "send message to agent", "agent messaging", "signaldock setup", "install signaldock", "agent-to-agent".
development
Compliance validation for verifying systems, documents, or code against requirements, schemas, or standards. Performs schema validation, code compliance checks, document validation, and protocol compliance verification with detailed pass/fail reporting. Use when validating compliance, checking schemas, verifying code standards, or auditing protocol implementations. Triggers on validation tasks, compliance checks, or quality verification needs.
testing
General implementation task execution for completing assigned CLEO tasks by following instructions and producing concrete deliverables. Handles coding, configuration, documentation work with quality verification against acceptance criteria and progress reporting. Use when executing implementation tasks, completing assigned work, or producing task deliverables. Triggers on implementation tasks, general execution needs, or task completion work.
tools
Quick ephemeral sticky notes for project-wide capture before formal classification