Skill Market

autonomous loops

自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。

GitHub
githubcommunityclaudeclaude-code
0.0
0 installs262.1K GitHub starsby affaan-m

Skill Introduction

Overview
自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。

Core value

Turns reusable Documentation know-how into an installable skill, helping users complete github, community, claude, claude-code work faster.

Target users

  • Developers, testers, and maintainers who handle Documentation tasks in Focus Code.
  • Teams that already trust workflows or content from affaan-m.
  • Users who want standardized prompts, steps, or conventions instead of repeating setup work.

Best practices

  • Read the skill content first to confirm required inputs, expected outputs, and dependencies.
  • Try it on a small task before relying on it for critical work.
  • Add project-specific constraints such as coding style, target platform, test expectations, and delivery format.
  • For external sources, verify the source link, version, and recent maintenance activity.

Best use cases

  • Tasks related to github, community, claude, claude-code that need a reusable execution flow.
  • Converting a community repo, team convention, or personal workflow into day-to-day assistance.
  • Starting from a proven skill instead of writing prompts or procedures from scratch.

Limits and boundaries

  • Results depend on the quality of the original skill content and may need human correction.
  • It does not replace code review, tests, security review, or professional judgment.
  • External tools, APIs, account permissions, and local dependencies still need separate setup.

Differentiation

  • Structured around Documentation, making it easier to discover and reuse than loose prompt snippets.
  • Marked as GitHub, which helps users judge trust and maintenance expectations.
  • Keeps the original source link available for repository, documentation, or discussion follow-up.
  • Tagged with github, community, claude, claude-code, so it can be filtered by concrete task intent.

Install and use

Install
Copy Install Command
focus install autonomous-loops-360ad2
View source

Detail Preview

SKILL.md

Primary filemarkdown5 KB

name: autonomous-loops description: "自動Claude Codeループのパターンとアーキテクチャ — シンプルな順序パイプラインからRFC駆動マルチエージェントDAGシステムまで。" origin: ECC

自動ループスキル

互換性に関する注記(v1.8.0):autonomous-loopsは1つのリリースのために保持されます。 正規スキル名はcontinuous-agent-loopです。新しいループガイダンスは そこで作成される必要があります。このスキルは既存のワークフローの破断を避けるために利用可能なままです。

Claude Codeをループで自動的に実行するためのパターン、アーキテクチャ、参照実装。シンプルなclaude -pパイプラインから完全なRFC駆動マルチエージェントDAGオーケストレーションまですべてをカバーします。

使用時期

  • 人間の介入なしで実行される自動化開発ワークフローを設定
  • 問題に対して正しいループアーキテクチャを選択(シンプル対複雑)
  • CI/CDスタイルの継続的開発パイプラインを構築
  • マージ調整を備えた平行エージェントを実行
  • ループ反復全体のコンテキスト永続性を実装
  • 品質ゲートとクリーンアップパスを自動化ワークフローに追加

ループパターンスペクトラム

最も単純なものから最も洗練されたものまで:

PatternComplexityBest For
順序パイプライン低日次開発ステップ、スクリプト化されたワークフロー
NanoClaw REPL低インタラクティブな永続的なセッション
無限エージェントループ中平行コンテンツ生成、仕様駆動作業
継続的なClaude PRループ中CIゲートを備えた複数日の反復的プロジェクト
De-Sloppifyパターンアドオン任意の実装ステップ後の品質クリーンアップ
Ralphinho / RFC駆動DAG高大規模機能、マージキューを備えた複数ユニット平行作業

1. 順序パイプライン(claude -p)

**最も単純なループ。**日次開発を非対話的なclaude -p呼び出しの順序に分割します。各呼び出しは、明確なプロンプトを持つ焦点を絞ったステップです。

コア洞察

このようなループを理解できない場合、対話型モードでもLLMをコード修正に駆動することさえできないことを意味します。

claude -pフラグはClaude Codeを非対話的にプロンプト付きで実行し、完了時に終了します。パイプラインを構築するための呼び出しをチェーンします:

#!/bin/bash
# daily-dev.sh — 機能ブランチの順序パイプライン

set -e

# ステップ1:機能を実装
claude -p "docs/auth-spec.mdのスペックを読む。src/auth/にOAuth2ログインを実装します。TDDを最初にテストを書いてください。新しいドキュメントファイルを作成しないでください。"

# ステップ2:De-sloppify(クリーンアップパス)
claude -p "前回のコミットで変更されたすべてのファイルを確認します。不要なタイプテスト、過度に防御的なチェック、またはテスト言語機能を削除します(例:TypeScriptジェネリクスが機能するテスト)。実際のビジネスロジックテストを保つ。クリーンアップ後にテストスイートを実行します。"

# ステップ3:検証
claude -p "完全なビルド、lint、型チェック、テストスイートを実行します。失敗を修正します。新しい機能を追加しないでください。"

# ステップ4:コミット
claude -p "ステージングされたすべての変更の従来的なコミットを作成します。メッセージとして「feat: add OAuth2 login flow」を使用します。"

主要な設計原則

  1. 各ステップは分離されている — claude -p呼び出しごとの新鮮なコンテキストウィンドウは、ステップ間でコンテキストブリードがないことを意味します。
  2. 順序が重要である — ステップは順序を実行します。各々は前回によって残されたファイルシステム状態に基づいています。
  3. ネガティブな指示は危険 — 「テスト型システムを実行しないでください」と言わないでください。代わりに、別のクリーンアップステップを追加してください(De-Sloppifyパターンを参照)。
  4. 終了コードは伝播する — set -eは失敗でパイプラインを停止します。

モデルルーティングおよび他の高度な機能

詳細についてはドキュメントを参照してください。

Reviews

Overall rating

0.0
0.0

0 comments

No reviews yet