You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are in Code Review Mode. Your primary function is to review code for quality, correctness, and adherence to standards.
8
+
You are in Code Reviewer Mode. Your primary function is to review code for quality, correctness, and adherence to standards.
9
9
10
10
<!--
11
-
Purpose: Define Code Review Mode behavior and constraints. Treat sections below as rules for conducting effective reviews.
11
+
Purpose: Define Code Reviewer Mode behavior and constraints. Treat sections below as rules for conducting effective reviews.
12
12
How to interpret: Focus on reviewing changes; do not implement code. Provide specific, respectful, and actionable feedback aligned to repository standards.
Copy file name to clipboardExpand all lines: README.md
+217-2Lines changed: 217 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
Welcome! This repository is a GitHub Template created by Capgemini. It provides practical, portable, and useful examples of GitHub Copilot configuration for real-world projects.
4
4
5
-
6
5
## Who this is for
7
6
- Developers and teams adopting AI-assisted development
8
7
- Project and technical leads seeking practical best practices
@@ -22,7 +21,86 @@ Welcome! This repository is a GitHub Template created by Capgemini. It provides
22
21
2. Review and adapt the example [chat modes](.github/chatmodes/README.md), [instructions](.github/instructions/README.md), and [prompts](.github/prompts/README.md).
23
22
3. Read the project docs in [docs/README.md](docs/README.md).
24
23
25
-
### Copying Copilot Customisations
24
+
## Key Features and Functionalities
25
+
26
+
### 1. Custom Chat Modes
27
+
28
+
The repository includes specialized chat modes located in `.github/chatmodes/`:
29
+
30
+
-**Developer Mode**: Focuses on test-driven development with quality gates and design-first methodology
31
+
-**Planner Mode**: Provides structured planning with task breakdown and dependency management
32
+
-**Documentation Mode**: Standardizes documentation creation following repository templates
33
+
-**Code Reviewer Mode**: Implements systematic code review with best practices enforcement
34
+
-**Tester Mode**: Emphasizes BDD-focused testing approach with comprehensive test coverage
35
+
36
+
### 2. Reusable Prompt Templates
37
+
38
+
Located in `.github/prompts/`, these templates provide standardized approaches for:
39
+
40
+
-**`write-adr.prompt.md`**: Creates Architectural Decision Records with structured templates
41
+
-**`write-prd.prompt.md`**: Generates Product Requirements Documents with measurable objectives
42
+
-**`write-docs.prompt.md`**: Produces consistent documentation following repository standards
43
+
-**`write-ears-spec.prompt.md`**: Creates requirements using Easy Approach to Requirements Syntax
44
+
-**`copilot-setup-check.prompt.md`**: Evaluates and optimizes Copilot configuration
45
+
46
+
### 3. Comprehensive Instruction System
47
+
48
+
The `.github/instructions/` directory contains detailed guidelines for:
49
+
50
+
-**`backend.instructions.md`**: Server-side development best practices
51
+
-**`frontend.instructions.md`**: Client-side development guidelines
52
+
-**`docs.instructions.md`**: Documentation creation and maintenance standards
53
+
-**`bdd-tests.instructions.md`**: Behavior-driven development testing methodology
54
+
55
+
### 4. Repository Structure & Templates
56
+
57
+
The `docs/` directory provides organized templates for:
58
+
59
+
-**ADRs** (`docs/ADRs/`): Architecture decision documentation with context and consequences
60
+
-**PRDs** (`docs/PRDs/`): Product requirements with priorities and acceptance criteria
The custom chatmodes, instructions and prompts can be copied into the same directory structure of another repository. Each file has comments that explain the approach, structure and content of each file.
28
106
@@ -44,6 +122,17 @@ Reuse and reference instructions files in your prompt files and chat modes to ke
44
122
- Avoid embedding secrets or environment-specific data; reference where secure configs live (e.g., repo secrets, vault).
45
123
- When in doubt, be explicit: busy users prefer exact commands/phrases to adapt rather than broad theory.
46
124
125
+
### Adding New Features
126
+
127
+
When adding new chat modes, prompts, or instructions:
128
+
129
+
1. Follow existing naming conventions
130
+
2. Include comprehensive documentation
131
+
3. Add examples and usage guidelines
132
+
4. Update this master documentation
133
+
5. Test with multiple scenarios before finalizing
134
+
135
+
47
136
## Where to find more information
48
137
49
138
- See `AGENTS.md` for general AI agent instructions and project context
@@ -56,3 +145,129 @@ You can find more about how to [customise and extend Github Copilot](https://doc
56
145
57
146
You can find more examples of Copilot configuration in the [Awesome Copilot repository on Github.com](https://github.com/github/awesome-copilot/tree/main).
58
147
148
+
# Document Reference Hierarchy
149
+
150
+
This diagram shows how documents reference each other across the repository, mapping the interconnections between configuration files, instructions, prompts, documentation, and plans.
classDef plan fill:#f1f8e9,stroke:#689f38,stroke-width:2px,color:#000
244
+
245
+
class CI,AGENTS,README config
246
+
class DOC,PLAN,DEV,CR,TEST chatmode
247
+
class DOCINST,BACKEND,FRONTEND,BDD instruction
248
+
class DOC_PROMPT,ADR_PROMPT,PRD_PROMPT,SETUP_PROMPT prompt
249
+
class ADR_TEMPLATE,PRD_TEMPLATE,CODE_REVIEW content
250
+
class PLAN_TEMPLATE,TODO,ARCHIVE_PLAN plan
251
+
```
252
+
253
+
## Key Reference Patterns
254
+
255
+
### Central Configuration Hub
256
+
-`.github/copilot-instructions.md` serves as the primary configuration document, referencing most instruction files and core documentation
257
+
-`AGENTS.md` provides repository-wide context and references key directories and processes
258
+
259
+
### Documentation Workflow
260
+
-`Documentation.chatmode.md` heavily references documentation instructions and templates
261
+
-`docs.instructions.md` defines standards for all documentation types and their storage locations
262
+
- Prompt files like `write-adr.prompt.md` and `write-prd.prompt.md` reference their respective templates and directories
263
+
264
+
### Planning Integration
265
+
-`Planner.chatmode.md` integrates with the plans structure and references the plan template
266
+
- Plans reference core configuration files and maintain the TODO workflow
267
+
268
+
### Cross-Cutting Concerns
269
+
- Engineering guidelines (`code-review-guidelines.md`, `pull-request-guidelines.md`) are referenced by the main configuration
270
+
- Templates (`adr-template.md`, `prd-template.md`) are referenced by both instructions and prompts
271
+
- Directory structures are consistently referenced across multiple configuration files
272
+
273
+
This hierarchy shows how the repository maintains consistency through strategic cross-referencing, with clear patterns for documentation workflows, planning processes, and configuration management.
0 commit comments