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
- Fixed all 3-way merge conflict markers from recent governance updates merge
- Preserved comprehensive content from both branches
- Maintained clean document structure and SSOT references
- README is now readable and properly formatted
Copy file name to clipboardExpand all lines: README.md
+35-26Lines changed: 35 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,26 +2,51 @@
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
+
5
6
## Who this is for
6
7
- Developers and teams adopting AI-assisted development
7
-
- Project and technical leads seeking practical best practices
8
+
- Project and technical leads seeking guidance on best practices
8
9
- AI agents (including GitHub Copilot) needing repository context
9
10
10
11
## What this repository provides
11
-
- A ready-to-use template to bootstrap new projects (“Use this template” on GitHub)
12
+
13
+
This repository is intended to help teams adopt Copilot best practices, understand configuration options, and accelerate AI-powered development. It contains:
-A GitHub Copilot [configuration overview](.github/README.github.md)
17
20
- Clear documentation to understand, configure, and extend Copilot
21
+
- Examples of prompting techniques for each custom configuration
22
+
- A ready-to-use template to bootstrap new projects (“Use this template” on GitHub)
23
+
- Comprehensive documentation and explanatory README.md files throughout the project.
18
24
19
25
## How to get started
26
+
20
27
1. Create a new repository using “Use this template” (or fork/clone).
21
28
2. Review and adapt the example [chat modes](.github/chatmodes/README.md), [instructions](.github/instructions/README.md), and [prompts](.github/prompts/README.md).
22
29
3. Read the project docs in [docs/README.md](docs/README.md).
23
30
24
-
## Key Features and Functionalities
31
+
32
+
<!-- Replace this paragraph with hints on finding information elsehwere in the repository -->
33
+
34
+
## Best Practices
35
+
36
+
Reuse and reference instructions files in your prompt files and chat modes to keep them clean and focused, and to avoid duplicating instructions.
37
+
38
+
- Keep instructions modular and single-purpose: one file = one responsibility (e.g., safety rules, tone, examples).
39
+
- Use clear file names and a one-line summary at the top so contributors can find intent quickly.
40
+
- Provide one short example and one minimal counterexample for each rule so users and agents see expected output.
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.
106
131
107
-
## Best Practices
108
-
109
132
Reuse and reference instructions files in your prompt files and chat modes to keep them clean and focused, and to avoid duplicating instructions.
110
133
111
-
- Keep instructions modular and single-purpose: one file = one responsibility (e.g., safety rules, tone, examples).
112
-
- Use clear file names and a one-line summary at the top so contributors can find intent quickly.
113
-
- Lead with an explicit, human-readable “What to do” section: 1–3 concrete steps or a checklist people can follow immediately.
114
-
- Provide one short example and one minimal counterexample for each rule so users and agents see expected output.
- Include required constraints up front (security, privacy, licensing, disallowed content) and where to raise exceptions.
117
-
- Surface usage patterns: when to reuse this file vs. override it; link to canonical files rather than duplicating content.
118
-
- Add machine-friendly snippets or templates (prompts, code blocks, placeholders) that can be copy-pasted into prompts or chat modes.
119
-
- Keep guidance short (1–3 sentences per rule) and add a “Why this matters” one-liner for context when necessary.
120
-
- Version and change-log key updates so consumers know when behavior changed.
121
-
- Include a brief test plan or example queries that validate the instruction works as intended.
122
-
- Avoid embedding secrets or environment-specific data; reference where secure configs live (e.g., repo secrets, vault).
123
-
- When in doubt, be explicit: busy users prefer exact commands/phrases to adapt rather than broad theory.
124
-
125
134
### Adding New Features
126
135
127
136
When adding new chat modes, prompts, or instructions:
@@ -132,19 +141,19 @@ When adding new chat modes, prompts, or instructions:
132
141
4. Update this master documentation
133
142
5. Test with multiple scenarios before finalizing
134
143
135
-
136
144
## Where to find more information
137
145
138
146
- See `AGENTS.md` for general AI agent instructions and project context
139
147
- See `.github/copilot-instructions.md` for Copilot-specific rules and configuration
140
148
141
-
<!-- Replace this paragraph with hints on finding other relevant information about the repository -->
142
149
### Copilot Customisation
143
150
144
151
You can find more about how to [customise and extend Github Copilot](https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=vscode), or how to customise Copilot behaviour in [Visual Studio Code](https://code.visualstudio.com/docs/copilot/customization/overview), and other IDEs such as [Jetbrains](https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=jetbrains), [Eclipse](https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=eclipse), and [XCode](https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=xcode).
145
152
153
+
146
154
You can find more examples of Copilot configuration in the [Awesome Copilot repository on Github.com](https://github.com/github/awesome-copilot/tree/main).
147
155
156
+
148
157
# Document Reference Hierarchy
149
158
150
159
This diagram shows how documents reference each other across the repository, mapping the interconnections between configuration files, instructions, prompts, documentation, and plans.
@@ -309,4 +318,4 @@ Authoritative single sources of truth (SSOT) for key policies and templates. Pre
309
318
310
319
Notes:
311
320
- Chat modes and prompts should reference these SSOT files. Avoid duplicating numeric thresholds, templates, or process steps in multiple places.
312
-
- CI tasks (if added) should validate adherence to SSOT anchors where practical.
321
+
- CI tasks (if added) should validate adherence to SSOT anchors where practical.
0 commit comments