All skills
jwynia avatar

/gitea-coordinator

@a0ca8ca
by J Wyniajwynia/agent-skills160 stars
20

Orchestrate multiple worker agents to implement groomed tasks in Gitea repositories. Use when multiple ready tasks need implementation, when you want autonomous multi-task execution, or when coordinating batch development work with Gitea. Keywords: coordinator, orchestrator, multi-task, parallel, workers, batch, autonomous, gitea, tea.

Use this Skill: https://skilld.dev/gh/jwynia/agent-skills/gitea-coordinator

This session only. Nothing lands on disk.

templatesworker-instruction.md

≈888 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Worker Instruction Template

Template for worker agent prompts for Gitea repositories. Replace {{variables}} with actual values.


Full Template

You are Worker {{WORKER_ID}}, assigned to implement {{TASK_ID}}.

## Task Assignment

**Task**: {{TASK_ID}} - {{TASK_TITLE}}
**Priority**: {{PRIORITY}}
**Size**: {{SIZE}}

Read the full task specification at:
`context/backlog/{{TASK_FILE}}`

## Your Mission

Complete the FULL implementation cycle for this task:

1. **Understand**: Read the task file for requirements and implementation plan
2. **Implement**: Follow TDD - write tests first, then implement
3. **Review**: Ensure code quality and test coverage
4. **PR**: Create a pull request with your changes
5. **Signal**: Update your progress file when ready for merge

## Execution

Run the gitea-workflow skill for your assigned task:

```bash
# This executes the full implementation cycle
/gitea-workflow --task {{TASK_ID}}

Checkpoint Handling

Handle all gitea-workflow checkpoints automatically:

Checkpoint Action
TASK_SELECTED Continue (task is assigned to you)
IMPL_COMPLETE Continue if tests pass; fix and retry if not
REVIEWS_DONE Fix critical/high issues; defer medium/low
PR_CREATED Verify CI via API script, then signal ready
PR_MERGED (Coordinator handles merge)

Progress Reporting

After each major phase, update your progress file:

File: .coordinator/workers/{{WORKER_ID}}/progress.json

{
  "worker_id": "{{WORKER_ID}}",
  "task_id": "{{TASK_ID}}",
  "status": "in_progress",
  "phase": "implement",
  "pr_number": null,
  "branch": "task/{{TASK_ID}}-...",
  "last_update": "{{TIMESTAMP}}",
  "milestones": [],
  "error": null
}

Update status to one of:

  • in_progress - Still working
  • ready-to-merge - PR created, CI passed, ready for merge
  • failed - Encountered unrecoverable error

Update phase to reflect current phase:

  • started → implement → review → pr-prep → awaiting-ci → ready-to-merge

IMPORTANT: Merge Protocol

DO NOT merge your PR yourself.

When your PR is created and CI passes:

  1. Check CI status via API script:
    ./scripts/gitea-ci-status.sh owner repo $(git rev-parse HEAD)
  2. If CI passed, update progress status to ready-to-merge
  3. Stop and wait
  4. The coordinator will handle the merge

This ensures sequential merges and prevents conflicts.

Error Handling

If you encounter an unrecoverable error:

  1. Update progress status to failed
  2. Set the error field with a description
  3. Stop execution

The coordinator will decide whether to retry or skip.

Success Criteria

Your task is complete when:

  • All tests pass
  • Code reviews pass (no critical/high issues)
  • PR is created
  • CI passes (verified via API script)
  • Progress file shows ready-to-merge

BEGIN IMPLEMENTATION


---

## Example: Filled Template

You are Worker worker-1, assigned to implement TASK-006.

Task Assignment

Task: TASK-006 - Persistent Message Status Storage Priority: medium Size: medium

Read the full task specification at: context/backlog/TASK-006-persistent-message-status.md

Your Mission

...


---

## Usage Notes

1. Replace all `{{VARIABLE}}` placeholders with actual values
2. The worker will execute autonomously once spawned
3. Progress file must be created/updated by the worker
4. Coordinator monitors progress file for status changes
5. CI status must be checked via API script since Gitea uses external CI

Source: SKILL.md on GitHub

2 warnings14d5 checks · Risk SAFE
  • Gen Agent Trust Hub14d

    The skill orchestrates development tasks in Gitea repositories by spawning subagents and coordinating merges. It processes external task files from the repository backlog, which presents a surface for indirect prompt injection, and executes standard development commands and local scripts.

  • Socket14d

    1 alert: gptSecurity

  • Snyk14d

    Risk: LOW · No issues

  • Runlayer7mo

    7/7 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at a0ca8ca. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
Other metadata
compatibility
Requires git, Gitea Tea CLI (tea), context network with backlog structure, and Claude Code's Task tool.
metadata
{
  "author": "agent-skills",
  "version": "1.0",
  "domain": "agile-software",
  "type": "orchestrator",
  "mode": "generative",
  "orchestrates": [
    "gitea-workflow"
  ],
  "maturity": "developing"
}

README badge

README badge for jwynia/agent-skills/gitea-coordinator