microsoft/hve-core

Public

mirrored from https://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
hve-core-v3.0.2

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/hve-guide/lifecycle/implementation.md

162lines · modecode

1---
2title: "Stage 6: Implementation"
3description: Build features, write code, and create content with the full suite of AI-assisted development tools
4author: Microsoft
5ms.date: 2026-02-18
6ms.topic: how-to
7keywords:
8 - ai-assisted project lifecycle
9 - implementation
10 - coding
11 - RPI
12 - development
13estimated_reading_time: 8
14---
15
16## Overview
17
18Implementation is the highest-density stage in the project lifecycle, with 30 assets spanning agents, prompts, instructions, and skills. This stage covers coding, content creation, prompt engineering, data analysis, and infrastructure work. The RPI (Research, Plan, Implement) methodology provides structured execution guidance for complex tasks.
19
20## When You Enter This Stage
21
22You enter Implementation after completing [Stage 5: Sprint Planning](sprint-planning.md) with assigned work items. You also re-enter this stage from [Stage 7: Review](review.md) when rework is needed, from [Stage 8: Delivery](delivery.md) at the start of each new sprint, or from [Stage 9: Operations](operations.md) for hotfixes.
23
24> [!NOTE]
25> Prerequisites: Sprint planned with assigned work items. Development environment configured from [Stage 1: Setup](setup.md).
26
27## Available Tools
28
29### Primary Agents
30
31| Tool | Type | How to Invoke | Purpose |
32|-------------------------|-------|------------------------------------------|-------------------------------------------------------|
33| rpi-agent | Agent | Select **rpi-agent** agent | Orchestrate the full research-plan-implement workflow |
34| task-researcher | Agent | Select **task-researcher** agent | Research requirements and gather codebase evidence |
35| task-planner | Agent | Select **task-planner** agent | Create implementation plans from research findings |
36| task-implementor | Agent | Select **task-implementor** agent | Build components following plans |
37| task-reviewer | Agent | Select **task-reviewer** agent | Validate implementation against plan and research |
38| gen-jupyter-notebook | Agent | Select **gen-jupyter-notebook** agent | Create data analysis notebooks |
39| gen-streamlit-dashboard | Agent | Select **gen-streamlit-dashboard** agent | Generate Streamlit dashboards |
40| prompt-builder | Agent | Select **prompt-builder** agent | Create and refine prompt engineering artifacts |
41
42### Supporting Agents
43
44| Tool | Type | How to Invoke | Purpose |
45|---------------------|-------|--------------------------------------|------------------------------------------|
46| phase-implementor | Agent | Select **phase-implementor** agent | Execute individual implementation phases |
47| prompt-updater | Agent | Select **prompt-updater** agent | Update existing prompts and instructions |
48| researcher-subagent | Agent | Select **researcher-subagent** agent | Conduct focused research within tasks |
49
50### Prompts
51
52| Tool | Type | How to Invoke | Purpose |
53|--------------------|--------|-----------------------|----------------------------------------------|
54| rpi | Prompt | `/rpi` | Start the full RPI workflow |
55| task-research | Prompt | `/task-research` | Research requirements for a task |
56| task-plan | Prompt | `/task-plan` | Create an implementation plan from research |
57| task-implement | Prompt | `/task-implement` | Begin implementation of a specific task |
58| task-review | Prompt | `/task-review` | Review implementation against the plan |
59| prompt-build | Prompt | `/prompt-build` | Create a new prompt engineering artifact |
60| prompt-analyze | Prompt | `/prompt-analyze` | Analyze prompt quality and effectiveness |
61| prompt-refactor | Prompt | `/prompt-refactor` | Refactor and improve existing prompts |
62| git-commit | Prompt | `/git-commit` | Stage and commit changes |
63| git-commit-message | Prompt | `/git-commit-message` | Generate a commit message for staged changes |
64
65### Auto-Activated Instructions
66
67All coding standard instructions activate automatically based on file type:
68
69| Instruction | Activates On | Purpose |
70|-------------------|---------------------------|----------------------------------------|
71| csharp | `**/*.cs` | C# coding standards |
72| python-script | `**/*.py` | Python scripting standards |
73| bash | `**/*.sh` | Bash script standards |
74| bicep | `**/bicep/**` | Bicep infrastructure standards |
75| terraform | `**/*.tf` | Terraform infrastructure standards |
76| workflows | `.github/workflows/*.yml` | GitHub Actions workflow standards |
77| markdown | `**/*.md` | Markdown formatting rules |
78| writing-style | `**/*.md` | Voice and tone conventions |
79| prompt-builder | AI artifacts | Prompt engineering authoring standards |
80| hve-core-location | `**` | Reference resolution for hve-core |
81
82### Skills
83
84| Tool | Type | How to Invoke | Purpose |
85|--------------|-------|--------------------|---------------------------------|
86| video-to-gif | Skill | Referenced in chat | Convert video to optimized GIFs |
87
88## Role-Specific Guidance
89
90Engineers are the primary users of Implementation, spending the majority of their engagement time here. Tech Leads contribute architecture-sensitive implementations. Data Scientists use notebook and dashboard generators. SREs handle infrastructure code. New Contributors start with guided tasks.
91
92* [Engineer Guide](../roles/engineer.md)
93* [Tech Lead Guide](../roles/tech-lead.md)
94* [Data Scientist Guide](../roles/data-scientist.md)
95* [SRE/Operations Guide](../roles/sre-operations.md)
96* [New Contributor Guide](../roles/new-contributor.md)
97
98## Starter Prompts
99
100### Full RPI Workflow
101
102```text
103/rpi Implement the pagination logic for the /api/v2/search endpoint.
104Add cursor-based pagination with a default page size of 50 and a maximum
105of 200 results per request. Follow the existing pagination pattern in
106src/api/handlers/list-resources.py.
107```
108
109### Step-by-Step RPI Agents
110
111Use individual task agents when you want more control over each phase.
112
113```text
114/task-research Investigate how the existing list-resources handler in
115src/api/handlers/list-resources.py implements pagination. Identify the
116cursor encoding strategy, default and maximum page sizes, and response
117envelope structure.
118```
119
120After research completes, plan the implementation:
121
122```text
123/task-plan Create an implementation plan for adding cursor-based pagination
124to the /api/v2/search endpoint following the patterns documented in the
125research output.
126```
127
128Execute the plan:
129
130Select **task-implementor** agent:
131
132```text
133Build the webhook delivery system following the plan in
134.copilot-tracking/plans/webhook-delivery-plan.md. Start with the event
135dispatcher component and implement the retry queue second.
136```
137
138Select **gen-jupyter-notebook** agent:
139
140```text
141Create a data analysis notebook for the Q4 sales transactions dataset in
142data/sales-q4-2025.parquet. Include data quality assessment, revenue trend
143analysis by product category and region, and customer cohort segmentation
144using RFM scoring with matplotlib visualizations.
145```
146
147After implementation, validate the changes:
148
149```text
150/task-review Validate the pagination implementation against the plan.
151Check cursor encoding, page size limits, response envelope consistency,
152and error handling for invalid cursor values.
153```
154
155## Stage Outputs and Next Stage
156
157Implementation produces source code, documentation, notebooks, dashboards, prompt artifacts, and infrastructure definitions. Transition to [Stage 7: Review](review.md) when implementation is complete. Use `/clear` to reset context before starting the review cycle.
158
159<!-- markdownlint-disable MD036 -->
160*🤖 Crafted with precision by ✨Copilot following brilliant human instruction,
161then carefully refined by our team of discerning human reviewers.*
162<!-- markdownlint-enable MD036 -->
163