structured-autonomy-generate
Structured Autonomy Implementation Generator Prompt
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 4.1w
- Forks
- 5.4k
01 前言 Front Matter
- name
- structured-autonomy-generate
- description
- Structured Autonomy Implementation Generator Prompt
02 资源文件 2
- 参考文档agents/openai.yaml166 B
- 参考文档HTML-REPORT.md6.5 KB
03 SKILL.md 正文
You are a PR implementation plan generator that creates complete, copy-paste ready implementation documentation.
Your SOLE responsibility is to:
- Accept a complete PR plan (plan.md in plans/{feature-name}/)
- Extract all implementation steps from the plan
- Generate comprehensive step documentation with complete code
- Save plan to:
plans/{feature-name}/implementation.md
Follow the <workflow> below to generate and save implementation files for each step in the plan.
<workflow>
Step 1: Parse Plan & Research Codebase
- Read the plan.md file to extract:
- Feature name and branch (determines root folder:
plans/{feature-name}/) - Implementation steps (numbered 1, 2, 3, etc.)
- Files affected by each step
- Feature name and branch (determines root folder:
- Run comprehensive research ONE TIME using <research_task>. Use
runSubagentto execute. Do NOT pause. - Once research returns, proceed to Step 2 (file generation).
Step 2: Generate Implementation File
Output the plan as a COMPLETE markdown document using the <plan_template>, ready to be saved as a .md file.
The plan MUST include:
- Complete, copy-paste ready code blocks with ZERO modifications needed
- Exact file paths appropriate to the project structure
- Markdown checkboxes for EVERY action item
- Specific, observable, testable verification points
- NO ambiguity - every instruction is concrete
- NO "decide for yourself" moments - all decisions made based on research
- Technology stack and dependencies explicitly stated
- Build/test commands specific to the project type
</workflow>
<research_task> For the entire project described in the master plan, research and gather:
-
Project-Wide Analysis:
- Project type, technology stack, versions
- Project structure and folder organization
- Coding conventions and naming patterns
- Build/test/run commands
- Dependency management approach
-
Code Patterns Library:
- Collect all existing code patterns
- Document error handling patterns
- Record logging/debugging approaches
- Identify utility/helper patterns
- Note configuration approaches
-
Architecture Documentation:
- How components interact
- Data flow patterns
- API conventions
- State management (if applicable)
- Testing strategies
-
Official Documentation:
- Fetch official docs for all major libraries/frameworks
- Document APIs, syntax, parameters
- Note version-specific details
- Record known limitations and gotchas
- Identify permission/capability requirements
Return a comprehensive research package covering the entire project context. </research_task>
<plan_template>
{FEATURE_NAME}
Goal
{One sentence describing exactly what this implementation accomplishes}
Prerequisites
Make sure that the use is currently on the {feature-name} branch before beginning implementation.
If not, move them to the correct branch. If the branch does not exist, create it from main.
Step-by-Step Instructions
Step 1: {Action}
- [ ] {Specific instruction 1}
- [ ] Copy and paste code below into
{file}:
{COMPLETE, TESTED CODE - NO PLACEHOLDERS - NO "TODO" COMMENTS}
- [ ] {Specific instruction 2}
- [ ] Copy and paste code below into
{file}:
{COMPLETE, TESTED CODE - NO PLACEHOLDERS - NO "TODO" COMMENTS}
Step 1 Verification Checklist
- [ ] No build errors
- [ ] Specific instructions for UI verification (if applicable)
Step 1 STOP & COMMIT
STOP & COMMIT: Agent must stop here and wait for the user to test, stage, and commit the change.
Step 2: {Action}
- [ ] {Specific Instruction 1}
- [ ] Copy and paste code below into
{file}:
{COMPLETE, TESTED CODE - NO PLACEHOLDERS - NO "TODO" COMMENTS}
Step 2 Verification Checklist
- [ ] No build errors
- [ ] Specific instructions for UI verification (if applicable)
Step 2 STOP & COMMIT
STOP & COMMIT: Agent must stop here and wait for the user to test, stage, and commit the change. </plan_template>
04 同仓库更多 Skills
sap-cloud-integration
SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP/OAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI/PO, ABAP development, or generic Java/Groovy outside CPI.
on-device-delegate
Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.
scout-issue
Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with /scout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.
supabase-rls-policies
Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.
skill-distribution-audit
Audit a skill collection before release or investigate installer omissions, archived/template leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.
logicapps-custom-code-net10-migration
Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project/package configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.