super-dolphin-workflow
Use when working in /Users/mima0000/Desktop/wj/super-agent-v3 on the user's recurring operations: inspecting current work status, implementing approved plans, fixing bugs with minimal verified changes, running CodeTrust-style audits plus repo-native checks, validating frontend-app or Go backend changes, updating/committing local main only when explicitly requested, or creating/updating repo-local skills.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- super-dolphin-workflow
- description
- Use when working in /Users/mima0000/Desktop/wj/super-agent-v3 on the user's recurring operations: inspecting current work status, implementing approved plans, fixing bugs with minimal verified changes, running CodeTrust-style audits plus repo-native checks, validating frontend-app or Go backend changes, updating/committing local main only when explicitly requested, or creating/updating repo-local skills.
02 资源文件 1
- 参考文档agents/openai.yaml263 B
03 SKILL.md 正文
Super Dolphin Workflow
Overview
This skill captures the user's normal working rhythm for the Super-Dolphin checkout. Use it to keep changes small, grounded in source truth, and backed by fresh verification.
Start by stating the current assumption and scope in one short sentence. If the user says 请你根据计划执行 or PLEASE IMPLEMENT THIS PLAN, treat the plan as approved and execute within its stated scope. If the user says 请你根据问题去修改解决bug, ship the smallest verified bug fix instead of a broad rewrite.
First Pass
Run these checks before editing:
git status --short
rg --files | rg '(^AGENTS.md$|README.md$|docs/doc/codemap/README.md$)'
Preserve unrelated dirty work. Do not revert, stage, format, or rename files you did not need to touch.
For path discovery, load context in this order:
README.mddocs/doc/codemap/README.md- One relevant
docs/doc/codemap/*.mdvolume - Targeted
rgsearches against source files - Exact source files and same-package tests
For behavior questions, prefer source code and tests first, then accepted decisions in docs/decisions/*.md or docs/adr/*.md, then contracts in docs/契约/*.md. Treat docs/plans/**, docs/迁移/**, and old reports as historical unless the user asks for migration history.
Route Common Requests
For "检查我工作情况" or similar status checks:
- Inspect
git status --short,git diff --stat, recent commits, and relevant untracked reports. - Report what is current, what appears unfinished, and what should not be touched.
- Use fresh screen/history evidence only when that capability is available and current; otherwise say it is unavailable and rely on repository evidence.
For bug fixes:
- Reproduce or identify the failing path when practical.
- Add or update a focused regression test for non-trivial fixes.
- Make the smallest source change that satisfies the test.
- Run focused verification first, then broader checks if the changed surface requires it.
For approved implementation plans:
- Review the plan for blockers before editing.
- Execute the plan steps in order.
- Stop on unclear destructive actions, data migration choices, or repeated verification failure.
For 使用codetrust:
- Produce the requested concrete test/audit document first.
- Use CodeTrust as frontend/JS/React evidence when available.
- Do not treat CodeTrust
HIGH_TRUSTwithfilesScanned=0as backend evidence. - Prove Go/backend coverage with repo-native commands such as
gofmt,go vet, and./scripts/test_with_guard.sh.
For "怎么实现的" questions:
- Answer from source/protocol truth, not guesses.
- Give file/function references and a directly reusable implementation skeleton when useful.
- Prefer Chinese when the user asks in Chinese.
Frequent Paths
Current React UI lives in frontend-app. cmd/agent-terminal/web-dist is only the generated Go embed asset directory synced from frontend-app/dist.
Common frontend paths:
- Chat/thread flow:
frontend-app/src/pages/chat/ChatPage.jsx - Client state:
frontend-app/src/entities/client/model/useClientStore.js - Backend bridge:
frontend-app/src/shared/api/backendApi.js - Wails bridge:
frontend-app/src/shared/api/wailsBridge.js - Theme contract:
frontend-app/src/styles.cssandfrontend-app/src/styles.test.js
Common Go/backend paths:
- App assembly:
internal/app - Business modules:
internal/module - Provider adapters:
internal/provider - Persistence:
internal/store - SQL queries:
sql/queries
Skill runtime truth:
- Canonical repo-local skills live under
.agent/skills. .agents/skillsand.claude/skillsare generated provider mirrors, not the normal edit target.- Runtime skill behavior usually lives under
internal/module/skill*,internal/provider/shared/provider_home.go, provider mirror tests, and toolbridge compatibility tests.
Verification Matrix
Choose verification by changed surface:
# Go package changes
./scripts/test_with_guard.sh <affected packages> -count=1
# Guard-only fast check
make guard
# Broad Go changes
make test
make build-plain
# Current React UI changes
cd frontend-app
npm run lint
npm test
npm run build
# SQL/store changes
make sqlc-verify
# Code-map changes
make codemap-check
For UI-visible changes, also verify in a browser when the route and dev server are available. Default Vite port 5175 may be busy; 5176 or 5177 are reasonable fallbacks.
Do not claim done, fixed, ready to commit, or ready to merge without fresh command output or explicit manual verification evidence.
Git Operations
The user often wants operational actions performed, not described.
- If asked to start a script, update
main, commit, push, or delete a tool, perform the action and verify it. - If asked to commit local work to
main, use localmainas requested; do not invent a feature-branch workflow. - Commit only when explicitly asked.
- Stage only owned files; never use
git add .. - Before and after Git operations, run
git status --short.
For dirty local main updates, use a stash-based fast-forward flow:
git status --short
git stash push -u -m '<short reason>'
git fetch origin main
git merge --ff-only origin/main
git stash pop
git status --short
Resolve conflicts only within the requested scope. Report unrelated dirty files separately.
Finish
Before the final response:
- Review
git diff --statand the exact diff for owned files. - Check for temporary/generated files, local paths, secrets, unused imports, and accidental broad formatting.
- Summarize what changed, what verification ran, and any skipped checks or remaining risks.
04 同仓库更多 Skills
mcp-lsp-project-config
配置、安装、检查、修复或迁移项目级 mcp-lsp stdio MCP,覆盖 Codex、Claude Code 和 Google Antigravity,以及 Windows 原生、WSL 原生和 Windows 宿主通过 wsl.exe 桥接 Linux sidecar 的自动选型。用户提到项目 MCP、LSP MCP、.codex/config.toml、.mcp.json、.agents/mcp_config.json、Codex 中 LSP 工具有时直接暴露有时只在延迟工具目录、ALL_TOOLS 过滤为空、工具已显示但调用报 client is closing、EOF、Transport closed,或希望三个客户端共用仓库内 mcp-lsp 时使用。
注释规范
当在 super-agent-v3 中编写或审查 Go 函数级中文注释、React hooks/service/controller 注释,或处理注释守卫失败时使用。
字段守卫
当新增、删除、重命名或跨层传递结构化字段,以及修改 DTO、mapper、schema、API/RPC、事件、配置、store、序列化或前后端契约时自动使用;追踪生产源到全部消费端并建立 fail-fast 字段守卫。
后端
在 super-agent-v3 中编写、审查或重构 Go 后端代码时使用。
前端
当在 super-agent-v3 中开发、审查或修复当前 React/Vite 前端 UI 时使用;前端源码只在 frontend-app。
全量项目地图生成
当在 super-agent-v3 中生成、更新或校验 docs/doc/codemap 项目地图、AI index 或能力清单时使用。