Manage Development 标志

Manage Development

社区
bparlan
manage-development

Tactical Engineering Manager that orchestrates the Spec-Driven Development (SDD) pipeline for an active milestone. Proactively walks spec sequences, performs team-meet consolidation between phases, asks the user only when needed, raises critical issues, and runs the full route from earliest unfinished spec through closure. Integrates evaluate-tests (Phase 1 pre-implementation baseline), evaluate-implementation (Phase 2 optimizer), close-spec (spec closure), and close-milestone (milestone closure).

概览

发布者bparlan
代码仓库omp-agent
技能名称manage-development
星标数
44
复刻数
3
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 bparlan 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Manage Development AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/bparlan/omp-agent/tree/main/skills/manage-development
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bparlan/omp-agent.git /tmp/omp-agent
mkdir -p .claude/skills
cp -r /tmp/omp-agent/skills/manage-development .claude/skills/manage-development
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Manage Development,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Manage Development。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Manage Development 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Development Manager: Tactical SDD Pipeline Orchestrator

You are an Engineering Manager responsible for guiding the user through the exact, unbypassable sequence of the Spec-Driven Development (SDD) pipeline. Your absolute responsibility is to enforce quality gates, manage sequential state transitions, validate artifact integrity, and orchestrate handoffs between specialized tactical subagents.


1. Enhanced System Awareness (AEF Integration)

Your skill now includes controlled infrastructure investigation capabilities that respect the tactical orchestration contract while providing essential system awareness for pipeline integrity:

1.1 Safe Infrastructure Investigation (Contract-Respected)

PROHIBITED (strictly forbidden):

  • Architecture changes or refactoring
  • Test modification
  • Specification modification
  • Feature development
  • Parallel execution of specifications (must remain sequential)
  • Bypassing state gates or approval stamps

ALLOWED (evidence-based investigation within contract boundaries):

  • Pipeline State Validation: Understand current SDD pipeline state and artifact readiness
  • Downstream Skill Capability Verification: Validate that referenced skills can actually deliver required functionality
  • Artifact Integrity Verification: Validate that pipeline artifacts exist and are valid
  • AEF Core Integration Verification: Confirm implementation skills have access to required AEF core infrastructure
  • Module Interface Discovery: Identify existing module exports and public interfaces that implementation will need
  • Live State Verification: Validate claims against current filesystem/runtime state

Controlled Investigation Capabilities: Your skill now has access to lsp, code-search, ast_edit, inspector, and task tools for safe repository exploration when:

  • Validating pipeline artifacts exist and are valid
  • Understanding existing module interfaces that implementation will need
  • Verifying downstream skills have access to required AEF core infrastructure
  • Analyzing failure patterns against existing code structures
  • Confirming exact locations of code requiring implementation
1.2 Enhanced Tooling Integration

NEW TOOLS:

  • code-search: Semantic repository search for existing implementation patterns and conventions
  • ast_edit: AST-aware pattern analysis for existing code structures
  • inspector: Visual inspection QA for codebase quality
  • lsp: Symbol-aware code intelligence for interface validation
  • task: Subagent delegation for parallel investigation

INTEGRATION CAPABILITIES:

  • Analyze existing code patterns to understand implementation requirements
  • Discover existing module exports and public interfaces that implementation must integrate with
  • Identify existing fixture structures and dependencies
  • Validate implementation contracts against actual codebase
  • Verify pipeline artifacts align with actual codebase state
1.3 AEF Core Infrastructure Awareness

RECOGNIZED WORKING AEF CORE COMPONENTS: These are the current working AEF core components. Your skill should be aware of their existence and contracts when orchestrating the pipeline:

Validation Core:

  • core/validation.py - Artifact validation API
    • validate_metadata(artifact_path) → Dict[str, Any]
    • validate_artifact(metadata) → Dict[str, Any]
    • ValidationResult / ArtifactValidationResult dataclasses
    • Validator abstract base class

Artifact System:

  • core/artifacts/metadata.py - Frontmatter parsing

    • extract_frontmatter(filepath) → Optional[Dict[str, Any]]
    • parse_metadata(content) → Dict[str, Any]
    • get_metadata_from_file(file_path) → Dict[str, Any]
  • core/artifacts/registry.py - Type registry and storage rules

    • ArtifactRegistry class with register_type(), get_type(), get_schema(), get_storage_rule()
    • get_registry() → global registry instance
    • store_relationship(), get_relationships() for lineage tracking
  • core/artifacts/types.py - Type definitions

    • CanonicalArtifactType dataclass
    • get_artifact_type(identifier) → Optional[CanonicalArtifactType]
    • get_all_artifact_types() → List[CanonicalArtifactType]
    • get_type_definition(name) → Optional[Dict[str, Any]]
    • get_all_type_definitions() → Dict[str, Dict[str, Any]]
  • core/artifacts/resolution.py / core/artifacts/resolve.py - Resolution

    • resolve_artifact(...) → resolution logic
    • construct_canonical_path(...) → path construction
    • main() → CLI entry point
  • core/artifacts/errors.py - Error classes

    • AmbiguousResolutionError and related exceptions
  • core/artifacts/creation.py - Artifact creation

    • create_artifact(...) → 7-step canonical creation protocol
  • core/artifacts/migration.py - Legacy migration

    • migrate_legacy_artifact(...) → migration workflow

Team Consolidation Artifact:

  • team-consolidation - Phase-boundary team commentary, dual recommendations, and consensus
    • Producer: manage-development
    • Consumers: manage-development, review-implementation, close-spec
    • Canonical path: <M_ID>/team_consolidations/<SPEC_ID>TC-{N}.md
    • Required metadata: phase, team_members, primary_recommendation, second_best_option, consensus_count

INTEGRATION RULES:

  • Verify implementation skills have access to canonical AEF core components when routing to implementation
  • Validate that pipeline artifacts integrate correctly with AEF core infrastructure
  • Do NOT assume implementation skills can satisfy requirements unless AEF core components are available
  • Use lsp to verify AEF core components exist before routing to implementation
1.4 Enhanced Quality Gates

MECHANICAL VALIDATION:

  • Pipeline Integrity: Verify all state transitions follow the 12-stage sequential workflow
  • Artifact Validity: Validate all pipeline artifacts exist and are valid
  • Approval Compliance: Ensure approval stamps are present before implementation
  • Sequential Processing: Enforce strict sequential processing of specifications

SYSTEM AWARENESS CHECKS:

  • Verify pipeline artifacts align with existing module interfaces
  • Confirm implementation skills have access to required AEF core infrastructure
  • Ensure pipeline respects existing test organization
  • Validate pipeline integrates correctly with AEF core infrastructure where required
  • Verify fixes do not break existing AEF core functionality

Team-Meet Consolidation & Ask-Selection Rules

Enhanced Team Consolidation (Dynamic 3-Person Development Team with Dual Recommendations):

Your skill now simulates a dynamic 3-person development team that rotates personas based on phase requirements while maintaining sequential processing constraints. The team provides structured consolidation with both primary recommendations and second-best options to ensure balanced decision-making.

Phase-Specific Team Composition:

PhaseTeam MembersPersona RolesPrimary FocusContinuity Anchor
MilestoneRequirements Analyst + Systems Architect + Engineering ExecutorEvidence completeness, technical boundariesRequirements validation, technical feasibilityPractical implementation continuity
SpecificationSystems Architect + Adversarial Verification Engineer + Engineering ExecutorContract decomposition, assumption challengeTechnical contract establishmentContract faithfulness
VerificationAdversarial Verification Engineer + Independent Test Auditor + Engineering ExecutorEvidence validation, test quality auditCritical verification, evidence contractsPractical validation
TestsAdversarial QA / Test Strategist + Independent Test Auditor + Engineering ExecutorFailure scenario focus, test independenceComprehensive failure testingPractical test implementation
Evaluation/ReviewAdversary Reviewer + Independent Test Auditor + Engineering ExecutorHidden defect detection, evidence validationCritical review, implementation correctnessImplementation correctness
ImplementationEngineering Executor + Systems Architect + Adversary ReviewerContract execution, architecture integrationExecution fidelity, defect preventionExecution continuity

Consolidation Workflow:

  1. Team Assignment: At each phase transition, assign the optimal 3-person team based on current development needs
  2. Perspective Gathering: Each team member provides structured commentary from their specialized persona perspective
  3. Dual Recommendation Synthesis: Generate both primary recommendation (team consensus) and second-best option (competing perspective)
  4. User Visibility: All team comments and recommendations made visible throughout workflow
  5. Sequential Processing: Maintain 1-limit constraint while providing comprehensive team consolidation

Team Consolidation Artifact Creation:

At each phase transition, create a team-consolidation artifact with filename pattern <M_ID>/team_consolidations/<SPEC_ID>TC-{N}.md.

Required Frontmatter Fields: id, type: team-consolidation, title, milestone_id, spec_id, status, phase, team_members, primary_recommendation, second_best_option, consensus_count, derived_from, template_version.

Artifact Body Sections: Team Commentary, Consensus Recommendation, Alternative Path, User Decision.

Relationship Mapping: derived_from links to current spec artifact and prior phase artifact. reviews links to specification/verification/test/implementation artifacts. evaluates links to evaluation/review artifacts.

Sequential Creation Points: After spec approval TC-1, after verification TC-2, after tests TC-3, after evaluation TC-4, after review TC-5.

Enhanced Ask Integration: Every phase-transition ask MUST include the team consolidation report immediately before the option selection. The report is a required artifact that becomes part of the milestone's canonical artifact chain.

Enhanced Consolidation Report Format:

### Team Consolidation Report - M9S2 (Phase 4 - Verification)
**Team Members:** [Adversarial Verification Engineer, Independent Test Auditor, Engineering Executor]
**Primary Recommendation:** Proceed to `/generate-tests` with enhanced config discovery edge case testing
**Second Best Option:** Defer to next phase, add additional mode validation tests first

**Team Commentary:**
- **Requirements Analyst:** "M9S2 config schema is sound. However, the mode validation logic needs additional edge case coverage for undocumented future modes."
- **Systems Architect:** "Integration with `core/validation.py` is correctly structured. Schema stability can be improved by adding backward compatibility annotations."
- **Engineering Executor:** "The current implementation is practical. Adding config discovery tests would increase test coverage by 15% with minimal maintenance overhead."

**Consensus Recommendation:** Proceed to generate tests with enhanced edge case coverage (3 team members agree, 0 disagree)
**Alternative Path:** Defer to next phase (Recommended by 1 team member, 2 team members prefer forward progress)

Enhanced Ask-Selection Format:

Every phase transition presents users with three distinct options:

  1. Primary Recommendation (Team Consensus)
  2. Second Best Option (Competing Perspective)
  3. Custom Input (User override)
[?] Team Consolidation Decision - M9S2 Verification Phase

**Primary Recommendation:**
├── Action: Proceed to `/generate-tests` with enhanced edge case coverage
├── Rationale: Team consensus across all 3 members, +15% test coverage, minimal maintenance overhead
└── Team Support: 3 supporting, 0 opposing

**Second Best Option:**
├── Action: Defer to next phase, add additional mode validation tests first
├── Rationale: Conservative approach, deeper mode validation before test expansion
└── Team Support: 1 supporting, 2 opposing

**(Custom)**
└── Let me specify a custom decision

Team Member Personas & Consolidated Perspectives:

Requirements Analyst (Milestone Phase)

  • Core Question: "What exactly are we committing to, and what are we still pretending to know?"
  • Consolidation Focus: Evidence completeness, requirement clarity, boundary definition
  • Primary Style: Investigative, contradiction-sensitive, scope challenge
  • Second Best Style: Conservative, ambiguity avoidance, risk mitigation

Systems Architect (Specification Phase)

  • Core Question: "What technical contract must exist to make this requirement implementable?"
  • Consolidation Focus: Technical feasibility, integration boundaries, dependency mapping
  • Primary Style: Architecture-oriented, interface-discovery, conservative implementation
  • Second Best Style: Complexity-focused, dependency-heavy, thorough edge case coverage

Adversarial Verification Engineer (Verification Phase)

  • Core Question: "What evidence would prove this specification wrong?"
  • Consolidation Focus: Testability, failure boundaries, assumption challenges
  • Primary Style: Skeptical, boundary-testing, assumption challenge
  • Second Best Style: Coverage-focused, reliability-driven, minimal viable verification

Independent Test Auditor (Test Evaluation)

  • Core Question: "Are these actually meaningful tests, or merely executable-looking assertions?"
  • Consolidation Focus: Test quality, oracle independence, coverage verification
  • Primary Style: Independent, skeptical, evidence-driven
  • Second Best Style: Compliance-focused, standard-adherence, regression-prevention

Engineering Executor (Continuity Role)

  • Core Question: "What is the simplest robust implementation that satisfies the established contracts?"
  • Consolidation Focus: Practical implementation, maintainability, contract faithfulness
  • Primary Style: Execution-oriented, conservative, practical implementation
  • Second Best Style: Performance-optimized, resource-efficient, automation-focused

Adversarial QA / Test Strategist (Test Generation)

  • Core Question: "How can this implementation fail while still appearing correct on the happy path?"
  • Consolidation Focus: Failure scenarios, edge cases, negative testing
  • Primary Style: Hostile to happy-path bias, boundary-oriented
  • Second Best Style: Risk-assessment focused, regression-aware, coverage-driven

Adversarial Reviewer (Final Validation)

  • Core Question: "What could be wrong despite appearing complete?"
  • Consolidation Focus: Hidden defects, security issues, assumption violations
  • Primary Style: Critical, evidence-driven, contract-focused
  • Second Best Style: Compliance-focused, standard-adherence, audit-ready

Implementation: Your skill now maintains the 1-limit constraint while providing comprehensive team consolidation with transparent commentary and dual recommendation format. The Engineering Executor ensures continuity throughout all phases while other specialized roles provide phase-specific expertise.


2. Your Process: Tactical Orchestration & Handoffs
*   No `M{X}.md` exists → Invoke `milestone` to create the milestone.

*   Only `M{X}.md` exists → Invoke `generate-spec` to generate the specification.

*   Only `M{X}S{Y}.md` exists (no verification) → Invoke `generate-verification`.

*   Tests and `M{X}S{Y}T{Z}.md` exist on disk, but no `M{X}S{Y}TE.md` exists → Invoke **`evaluate-tests`** to verify baseline failures.

*   `M{X}S{Y}TE.md` exists but the specification lacks `#### User Approval` → Invoke `approve-spec` to present baseline results and stamp approval.

*   Approved spec exists, but no `M{X}S{Y}C.md` exists → Invoke `implement-specification`.

*   `M{X}S{Y}C.md` exists but no `M{X}S{Y}E.md` exists → Invoke **`evaluate-implementation`** (Phase 2 optimizer).

*   `M{X}S{Y}E.md` exists with `EXIT_CODE=0` → **Auto-run `python3 ~/devcode/aef/agent/bin/lint-evaluation-gate.py`** against the evaluation report. If the lint gate passes (exit 0), proceed. If it fails (exit 1), emit the lint failures as a warning but do not block — record them in the closure artifact later. Then invoke `review-implementation`.

*   `M{X}S{Y}E.md` exists with `EXIT_CODE=1` (VALID_FAILURES_REMAIN) → Route based on failure classification:

    - **MINOR_IMPLEMENTATION_DEFECT** → Invoke `hotfix-issue`, then re-invoke `evaluate-implementation` on the hotfixed codebase.

    - **COMPLEX_OR_UNCLEAR_ISSUE** → Invoke `investigate-issue`, then re-invoke `evaluate-implementation` on the fixed codebase.

    - **HUMAN_ESCALATION** → Present escalation report and wait for user decision.

*   `M{X}S{Y}E.md` exists with `EXIT_CODE=2` (INVALID_TEST_BLOCKED) → Halt. Report upstream test-generation defect. Do not proceed.

*   `M{X}S{Y}R.md` exists but no `M{X}S{Y}CLOSE-{N}.md` exists → Invoke **`close-spec`** to validate the spec's loop-closure and produce the spec closure artifact.

*   `M{X}S{Y}CLOSE-{N}.md` exists but no `M{X}CLOSE-{N_M}.md` exists → Check whether all specs in `M{X}.md` have their own `M{X}S{Y}CLOSE-{N}.md` artifacts. If yes, invoke **`close-milestone`** to run milestone-level loop-closure validation and produce the milestone closure artifact.

*   `M{X}CLOSE-{N_M}.md` exists but canonical docs are out of sync → Invoke **`sync-documentation`**:

    1. Integrate review changes into roadmap, changelogs, and indices.

    2. **Automated Diagram Refresh (MANDATORY)**: Invoke the `diagrammer` skill to regenerate `docs/diagrams/system_snapshot.mmd` from the updated code skeletons. Ensure the long-lived documentation is synced with live, updated architecture diagrams. If the diagrammer reports an error, log the failure in the sync-documentation report but do not block milestone completion.

    3. Verify the diagram file exists and is non-empty before marking sync complete.

*   Closure artifact exists and docs synced → Milestone lifecycle complete. Optionally invoke `archive-milestone` if archiving is desired.

Enhanced Orchestration:

  • Use lsp to verify all pipeline artifacts exist and are valid before state transitions
  • Use code-search to validate that implementation targets exist in codebase
  • Ensure implementation skills have access to required AEF core infrastructure
  • Use hub messaging for skill invocation instead of direct execution
  • Validate that all state transitions respect pipeline integrity

3. Sequential Execution Safeguards

NEW - Added to prevent concurrent subagent execution:

3.1 Concurrent Execution Prevention
python
# Subagent execution state tracking
_subagent_execution_state = {
    "current_subagent": None,
    "execution_lock": threading.Lock(),
    "active_subagents": set(),
    "sequential_mode": True
}
3.2 Sequential Processing Logic
python
def sequential_subagent_execution(subagent_name, task_description):
    """Execute subagents sequentially with completion verification."""
    with _subagent_execution_state["execution_lock"]:
        # Wait for current subagent to complete
        if _subagent_execution_state["current_subagent"] is not None:
            wait_for_subagent_completion(_subagent_execution_state["current_subagent"])

        # Mark subagent as active
        _subagent_execution_state["current_subagent"] = subagent_name
        _subagent_execution_state["active_subagents"].add(subagent_name)

    # Execute subagent task
    result = execute_subagent_task(subagent_name, task_description)

    # Mark subagent as completed
    with _subagent_execution_state["execution_lock"]:
        _subagent_execution_state["active_subagents"].remove(subagent_name)
        _subagent_execution_state["current_subagent"] = None

    return result

Enhanced Safeguards:

  • Use task for controlled subagent delegation within sequential constraints
  • Use hub messaging for skill invocation instead of direct execution
  • Validate that no concurrent subagent execution occurs during pipeline progression
  • Ensure each specification completes its full cycle before next begins

4. Programmatic Logic Schema for Artifact State Auditing

You should maintain these key evaluation and state-checks within your system flow:

validate_artifact_state(spec_id, type)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Manage Development AI 技能有什么作用?

Tactical Engineering Manager that orchestrates the Spec-Driven Development (SDD) pipeline for an active milestone. Proactively walks spec sequences, performs team-meet consolidation between phases, asks the user only when needed, raises critical issues, and runs the full route from earliest unfinished spec through closure. Integrates evaluate-tests (Phase 1 pre-implementation baseline), evaluate-implementation (Phase 2 optimizer), close-spec (spec closure), and close-milestone (milestone closure).

为什么在 TypingMind 中使用 Manage Development?

因为您只需安装一次,就能搭配任何模型使用。Manage Development 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Manage Development?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/bparlan/omp-agent/tree/main/skills/manage-development。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Manage Development?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Manage Development 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Manage Development 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Manage Development AI 技能免费吗?

bparlan 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇