Skip to content

Commit 711c710

Browse files
author
Kristopher Turner
committed
chore(platform): add Claude Code configuration AB#15
1 parent b2c9d5a commit 711c710

2 files changed

Lines changed: 97 additions & 65 deletions

File tree

.claude/settings.json

Lines changed: 20 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,28 @@
11
{
2+
"env": {
3+
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
4+
},
25
"permissions": {
36
"allow": [
4-
"Bash(gh run:*)",
5-
"Bash(gh search:*)",
6-
"Bash(git -C e:/git/azurelocal-avd diff HEAD~1 HEAD -- mkdocs.yml)",
7-
"Bash(git -C e:/git/azurelocal-vm-conversion-toolkit push origin main)",
8-
"Bash(git -C e:/git/azurelocal-nutanix-migration push origin main)",
9-
"Bash(git -C e:/git/azurelocal-training push origin main)",
10-
"Bash(gh project:*)",
11-
"Bash(python3 -c ':*)",
12-
"Bash(git -C e:/git/azurelocal-copilot push origin main)",
13-
"Bash(python3)",
147
"Bash(git add:*)",
15-
"Bash(git commit -m ':*)",
16-
"WebSearch",
17-
"WebFetch(domain:aka.ms)",
18-
"WebFetch(domain:www.hciharrison.com)",
19-
"WebFetch(domain:manuals.plus)",
20-
"WebFetch(domain:www.thomas-krenn.com)",
21-
"WebFetch(domain:www.fujitsu.com)",
22-
"WebFetch(domain:dataon.io)",
23-
"WebFetch(domain:servers.asus.com)",
24-
"WebFetch(domain:www.dell.com)",
25-
"WebFetch(domain:buy.hpe.com)",
26-
"Bash(xargs grep:*)",
27-
"mcp__claude_ai_PDF_Viewer__read_pdf_bytes",
28-
"Bash(python3 -c \"import pymupdf; print\\('pymupdf available'\\)\")",
29-
"Bash(python3 -c \"import fitz; print\\('fitz available'\\)\")",
30-
"Bash(python3 -c \"import pdfplumber; print\\('pdfplumber available'\\)\")",
31-
"Bash(python3 -c \"import PyPDF2; print\\('PyPDF2 available'\\)\")",
32-
"Bash(npm run:*)",
8+
"Bash(git commit:*)",
339
"Bash(git push:*)",
34-
"Bash(npx tsc:*)",
35-
"Bash(gh milestone:*)",
36-
"Bash(gh api:*)",
10+
"Bash(git status:*)",
11+
"Bash(git log:*)",
12+
"Bash(git diff:*)",
13+
"Bash(gh issue:*)",
3714
"Bash(gh pr:*)",
38-
"Bash(grep -rn \"S2DSession = @{\" /e/git/azurelocal-S2DCartographer/Modules /e/git/azurelocal-S2DCartographer/*.psm1)",
39-
"Bash(gh release create v1.0.6 --repo AzureLocal/azurelocal-S2DCartographer --title 'v1.0.6 — TrustedHosts-first cluster name resolution and richer credential prompt' --notes ':*)",
40-
"Bash(gh repo:*)",
41-
"Read(//e/git/**)",
42-
"Bash(ls -la e:/git/azurelocal.github.io/*.code-workspace)",
43-
"Bash(md5sum /e/git/*/.github/CODEOWNERS)",
44-
"Bash([ -d \"$path/tests/trailhead\" ])",
45-
"Bash([ -d \"$path/tests/maproom\" ])",
46-
"Bash(gh auth:*)",
47-
"Bash(pwsh -NoProfile -File scripts/Seed-DocStubs.ps1)",
48-
"Bash(git -C /e/git/azurelocal-platform commit -m ':*)",
49-
"Bash(git -C /e/git/azurelocal-platform log --oneline -3)",
50-
"Bash(git -C /e/git/azurelocal-platform push origin main)",
51-
"Bash(pwsh -NoProfile -Command ':*)",
52-
"Bash(awk 'NR==38')",
53-
"Bash(git -C /e/git/azurelocal-platform add .github/workflows/platform-ci.yml .yamllint.yml)",
54-
"Bash(git -C /e/git/azurelocal-platform commit -m 'fix\\(ci\\): simplify platform-ci, extract yamllint config to .yamllint.yml:*)",
55-
"Bash(git -C /e/git/azurelocal-platform push)",
56-
"Bash(git -C /e/git/azurelocal-platform add .markdownlint.json)",
57-
"Bash(git -C /e/git/azurelocal-platform commit -m 'fix\\(ci\\): recognize frontmatter title as H1 so MD025 stops firing:*)",
58-
"Bash(curl -sI https://azurelocal.cloud/platform/)",
59-
"Bash(curl -sI https://azurelocal.github.io/platform/)",
60-
"Bash(grep -n '```' /e/git/azurelocal-platform/testing/maproom/README.md)",
61-
"Bash(grep -n '```' /e/git/azurelocal-platform/testing/trailhead/README.md)",
62-
"Bash(git -C /e/git/azurelocal-platform add docs/reusable-workflows/consumer-patterns.md repo-management/README.md testing/maproom/README.md testing/trailhead/README.md)",
63-
"Bash(git -C /e/git/azurelocal-platform commit -m \"fix\\(docs\\): add 'text' language to fenced folder-tree blocks \\(MD040\\)\")",
64-
"Bash(curl -s https://azurelocal.cloud/platform/)",
65-
"Bash(ls /e/git/azurelocal.github.io/*.code-workspace)",
66-
"Bash(git -C /e/git/azurelocal-platform add azurelocal-platform.code-workspace)",
67-
"Bash(git -C /e/git/azurelocal-platform commit -m 'chore: add VS Code workspace covering platform + all 13 sibling repos:*)"
68-
],
69-
"additionalDirectories": [
70-
"e:\\git\\azurelocal-platform"
15+
"Bash(gh run:*)",
16+
"Bash(gh api:*)",
17+
"Bash(gh workflow:*)",
18+
"WebSearch",
19+
"WebFetch(domain:github.com)",
20+
"WebFetch(domain:raw.githubusercontent.com)",
21+
"WebFetch(domain:learn.microsoft.com)",
22+
"WebFetch(domain:dev.azure.com)",
23+
"Bash(npm:*)",
24+
"Bash(bundle:*)",
25+
"Bash(jekyll:*)"
7126
]
7227
}
73-
}
28+
}

CLAUDE.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# azurelocal.github.io — Claude Code Context
2+
3+
## What this repo is
4+
5+
Static site / blog in the AzureLocal organization. Published via GitHub Pages.
6+
7+
---
8+
9+
## ADO project details
10+
11+
- **ADO org:** https://dev.azure.com/hybridcloudsolutions
12+
- **ADO project:** AzureLocal
13+
- **Work item format:** `AB#<id>` in commit messages and PR descriptions
14+
15+
---
16+
17+
## Standards
18+
19+
This repo follows all HCS platform standards defined in the Platform Engineering repo:
20+
21+
| Standard | Reference |
22+
|---|---|
23+
| Governance | [docs/standards/governance.md](https://dev.azure.com/hybridcloudsolutions/Platform%20Engineering/_git/Platform%20Engineering?path=/docs/standards/governance.md) |
24+
| Scripting (PowerShell 7) | [docs/standards/scripting.md](https://dev.azure.com/hybridcloudsolutions/Platform%20Engineering/_git/Platform%20Engineering?path=/docs/standards/scripting.md) |
25+
| Automation | [docs/standards/automation.md](https://dev.azure.com/hybridcloudsolutions/Platform%20Engineering/_git/Platform%20Engineering?path=/docs/standards/automation.md) |
26+
| Variables and naming | [docs/standards/variables.md](https://dev.azure.com/hybridcloudsolutions/Platform%20Engineering/_git/Platform%20Engineering?path=/docs/standards/variables.md) |
27+
| Documentation | [docs/standards/documentation.md](https://dev.azure.com/hybridcloudsolutions/Platform%20Engineering/_git/Platform%20Engineering?path=/docs/standards/documentation.md) |
28+
| Claude Code | [docs/standards/claude-code.md](https://dev.azure.com/hybridcloudsolutions/Platform%20Engineering/_git/Platform%20Engineering?path=/docs/standards/claude-code.md) |
29+
30+
Key rules:
31+
- All scripts: PowerShell 7+ only. `#Requires -Version 7.0`, `Set-StrictMode -Version Latest`, `\Stop = 'Stop'`.
32+
- All docs: Markdown only. No Word documents in any repo.
33+
- Commit format: `type(scope): short description` — types: `feat`, `fix`, `docs`, `chore`, `refactor`, `test`
34+
- No secrets, tokens, or credentials committed to any file.
35+
36+
---
37+
38+
## Key facts
39+
40+
| Fact | Value |
41+
|---|---|
42+
| Primary language | Markdown / HTML |
43+
| GitHub org | AzureLocal |
44+
| Azure login | kris@hybridsolutions.cloud |
45+
| Key Vault | kv-hcs-vault-01 |
46+
47+
Load environment before starting a session:
48+
```powershell
49+
. E:\git\platform\scripts\Load-HCSEnvironment.ps1
50+
```
51+
52+
---
53+
54+
## Claude Code actions
55+
56+
**Run autonomously:**
57+
- Read, search, and grep any file in this repo
58+
- Write and edit files in this repo
59+
- `git add`, `git commit`, `git push`
60+
- `gh issue`, `gh pr`, `gh run` CLI commands
61+
- `npm` or `bundle` commands for local preview
62+
63+
**Always confirm before:**
64+
- Any operation that modifies Azure resources
65+
- Installing or upgrading dependencies
66+
- Running destructive operations
67+
- Making API calls to external services
68+
69+
---
70+
71+
## Owner
72+
73+
**Kristopher Turner**
74+
kris@hybridsolutions.cloud
75+
Senior Product Technology Architect, TierPoint | Microsoft MVP (Azure) | MCT
76+
Owner, Hybrid Cloud Solutions LLC — hybridsolutions.cloud
77+
Country Cloud Boy — thisismydemo.cloud

0 commit comments

Comments
 (0)