All skills
aktsmm avatar

/opportunity-factory

@e63d714
by yamapanaktsmm/agent-skills26 stars
4

Run a reusable opportunity-to-artifact workflow: discover unmet needs, set up workspace factories, schedule recurring commander/worker/reporter prompts, batch-refine many items, optionally use SQLite state, build small artifacts, review quality, and track outcomes. Use when the user wants to repeatedly create apps, games, products, content, or experiments from market/user needs.

Use this Skill: https://skilld.dev/gh/aktsmm/agent-skills/opportunity-factory

This session only. Nothing lands on disk.

referencesbatch-refinement.md

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

Batch Refinement

Use this when the user asks to refine many items repeatedly, such as /Refine-Product-100 all, all do for this skill, or "review three times".

Intake

Capture these before running:

Field Meaning
targetSet all, changed, top-N, folder, file list, product area
batchSize how many items one worker pass should handle
passCount usually 3 for rubber-duck review loops
stateBackend JSON for small/manual work, SQLite for large/resumable work
doneCriteria what must be true before an item leaves the batch

Three-Pass Rubber-Duck Loop

Run each item through distinct passes. Do not repeat the same review in different words.

Pass Persona Main question Output
1 User/operator Can someone use this without hidden context? missing setup, unclear next action, friction
2 Runtime/scheduler Can this run repeatedly without corrupting state or wasting budget? idempotency, limits, locks, persistence issues
3 Next AI maintainer Can another agent resume, validate, and improve it safely? guard gaps, schema drift, unclear contracts

Queue Pattern

Recommended task kinds for batch refinement:

discover/evaluate target set -> review pass 1 -> review pass 2 -> review pass 3 -> repair -> independent re-review -> learn

Each pass writes one artifact or one structured review row. A pass with no blocking issue writes ## required fixes as none. A pass with findings assigns stable finding IDs and creates one repair child task for a fixed subset. The repair records machine-comparable acceptance checks, then must pass independent re-review before the finding can close. Follow references/rubber-duck-review.md for parent iteration accounting, different-family checks, and recovery.

State Backend Choice

Use JSON when:

  • fewer than about 30 items
  • one agent or one human runs the loop
  • history can be summarized in artifacts

Use SQLite when:

  • 100+ items, repeated passes, or long-running scheduled workers are expected
  • dedupe, resume, claim locks, or aggregate queries matter
  • multiple workers may process tasks over time

See references/sqlite-state-store.md for the optional schema.

Stop Conditions

  • Stop a batch item when independent re-review confirms all blocking finding IDs resolved and remaining issues are Guard now or Block. A repair worker's own claim that fixes are closed is not completion.
  • Stop the batch when the next action requires approval, missing credentials, external publishing, or product-specific capability confirmation.
  • Stop repeating review passes when two consecutive passes produce no new actionable finding.

Output Shape

## Batch Refinement Summary

- Target set:
- Passes completed:
- Items fixed:
- Items guarded:
- Items blocked:
- State backend:
- Next batch:

Source: SKILL.md on GitHub

2 warnings22d3 checks · Risk MEDIUM
  • Gen Agent Trust Hub22d

    This skill is an autonomous agent framework that manages complex workflows. It is rated as medium severity because it is self-modifying (the AI edits its own instructions), establishes persistent automated loops, and automatically accesses local secrets for its operations. While it includes many internal safety rules, the high degree of autonomy requires review before deployment.

  • Socket22d

    No alerts

  • Snyk22d

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub 18 hours ago.

Activeupdated 4 weeks ago
argument-hint
対象ドメイン、成果物タイプ、制約、今回の入力
user-invocable
true
metadata
{
  "author": "yamapan (https://github.com/aktsmm)"
}

README badge

README badge for aktsmm/agent-skills/opportunity-factory