claude-autopm 2.8.1 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -8
- package/bin/autopm.js +2 -0
- package/bin/commands/plugin.js +395 -0
- package/bin/commands/team.js +184 -10
- package/install/install.js +223 -4
- package/lib/plugins/PluginManager.js +1328 -0
- package/lib/plugins/PluginManager.old.js +400 -0
- package/package.json +4 -1
- package/scripts/publish-plugins.sh +166 -0
- package/autopm/.claude/agents/cloud/README.md +0 -55
- package/autopm/.claude/agents/cloud/aws-cloud-architect.md +0 -521
- package/autopm/.claude/agents/cloud/azure-cloud-architect.md +0 -436
- package/autopm/.claude/agents/cloud/gcp-cloud-architect.md +0 -385
- package/autopm/.claude/agents/cloud/gcp-cloud-functions-engineer.md +0 -306
- package/autopm/.claude/agents/cloud/gemini-api-expert.md +0 -880
- package/autopm/.claude/agents/cloud/kubernetes-orchestrator.md +0 -566
- package/autopm/.claude/agents/cloud/openai-python-expert.md +0 -1087
- package/autopm/.claude/agents/cloud/terraform-infrastructure-expert.md +0 -454
- package/autopm/.claude/agents/core/agent-manager.md +0 -296
- package/autopm/.claude/agents/core/code-analyzer.md +0 -131
- package/autopm/.claude/agents/core/file-analyzer.md +0 -162
- package/autopm/.claude/agents/core/test-runner.md +0 -200
- package/autopm/.claude/agents/data/airflow-orchestration-expert.md +0 -52
- package/autopm/.claude/agents/data/kedro-pipeline-expert.md +0 -50
- package/autopm/.claude/agents/data/langgraph-workflow-expert.md +0 -520
- package/autopm/.claude/agents/databases/README.md +0 -50
- package/autopm/.claude/agents/databases/bigquery-expert.md +0 -392
- package/autopm/.claude/agents/databases/cosmosdb-expert.md +0 -368
- package/autopm/.claude/agents/databases/mongodb-expert.md +0 -398
- package/autopm/.claude/agents/databases/postgresql-expert.md +0 -321
- package/autopm/.claude/agents/databases/redis-expert.md +0 -52
- package/autopm/.claude/agents/devops/README.md +0 -52
- package/autopm/.claude/agents/devops/azure-devops-specialist.md +0 -308
- package/autopm/.claude/agents/devops/docker-containerization-expert.md +0 -298
- package/autopm/.claude/agents/devops/github-operations-specialist.md +0 -335
- package/autopm/.claude/agents/devops/mcp-context-manager.md +0 -319
- package/autopm/.claude/agents/devops/observability-engineer.md +0 -574
- package/autopm/.claude/agents/devops/ssh-operations-expert.md +0 -1093
- package/autopm/.claude/agents/devops/traefik-proxy-expert.md +0 -444
- package/autopm/.claude/agents/frameworks/README.md +0 -64
- package/autopm/.claude/agents/frameworks/e2e-test-engineer.md +0 -360
- package/autopm/.claude/agents/frameworks/nats-messaging-expert.md +0 -254
- package/autopm/.claude/agents/frameworks/react-frontend-engineer.md +0 -217
- package/autopm/.claude/agents/frameworks/react-ui-expert.md +0 -226
- package/autopm/.claude/agents/frameworks/tailwindcss-expert.md +0 -770
- package/autopm/.claude/agents/frameworks/ux-design-expert.md +0 -244
- package/autopm/.claude/agents/integration/message-queue-engineer.md +0 -794
- package/autopm/.claude/agents/languages/README.md +0 -50
- package/autopm/.claude/agents/languages/bash-scripting-expert.md +0 -541
- package/autopm/.claude/agents/languages/javascript-frontend-engineer.md +0 -197
- package/autopm/.claude/agents/languages/nodejs-backend-engineer.md +0 -226
- package/autopm/.claude/agents/languages/python-backend-engineer.md +0 -214
- package/autopm/.claude/agents/languages/python-backend-expert.md +0 -289
- package/autopm/.claude/agents/testing/frontend-testing-engineer.md +0 -395
- package/autopm/.claude/commands/ai/langgraph-workflow.md +0 -65
- package/autopm/.claude/commands/ai/openai-chat.md +0 -65
- package/autopm/.claude/commands/azure/COMMANDS.md +0 -107
- package/autopm/.claude/commands/azure/COMMAND_MAPPING.md +0 -252
- package/autopm/.claude/commands/azure/INTEGRATION_FIX.md +0 -103
- package/autopm/.claude/commands/azure/README.md +0 -246
- package/autopm/.claude/commands/azure/active-work.md +0 -198
- package/autopm/.claude/commands/azure/aliases.md +0 -143
- package/autopm/.claude/commands/azure/blocked-items.md +0 -287
- package/autopm/.claude/commands/azure/clean.md +0 -93
- package/autopm/.claude/commands/azure/docs-query.md +0 -48
- package/autopm/.claude/commands/azure/feature-decompose.md +0 -380
- package/autopm/.claude/commands/azure/feature-list.md +0 -61
- package/autopm/.claude/commands/azure/feature-new.md +0 -115
- package/autopm/.claude/commands/azure/feature-show.md +0 -205
- package/autopm/.claude/commands/azure/feature-start.md +0 -130
- package/autopm/.claude/commands/azure/fix-integration-example.md +0 -93
- package/autopm/.claude/commands/azure/help.md +0 -150
- package/autopm/.claude/commands/azure/import-us.md +0 -269
- package/autopm/.claude/commands/azure/init.md +0 -211
- package/autopm/.claude/commands/azure/next-task.md +0 -262
- package/autopm/.claude/commands/azure/search.md +0 -160
- package/autopm/.claude/commands/azure/sprint-status.md +0 -235
- package/autopm/.claude/commands/azure/standup.md +0 -260
- package/autopm/.claude/commands/azure/sync-all.md +0 -99
- package/autopm/.claude/commands/azure/task-analyze.md +0 -186
- package/autopm/.claude/commands/azure/task-close.md +0 -329
- package/autopm/.claude/commands/azure/task-edit.md +0 -145
- package/autopm/.claude/commands/azure/task-list.md +0 -263
- package/autopm/.claude/commands/azure/task-new.md +0 -84
- package/autopm/.claude/commands/azure/task-reopen.md +0 -79
- package/autopm/.claude/commands/azure/task-show.md +0 -126
- package/autopm/.claude/commands/azure/task-start.md +0 -301
- package/autopm/.claude/commands/azure/task-status.md +0 -65
- package/autopm/.claude/commands/azure/task-sync.md +0 -67
- package/autopm/.claude/commands/azure/us-edit.md +0 -164
- package/autopm/.claude/commands/azure/us-list.md +0 -202
- package/autopm/.claude/commands/azure/us-new.md +0 -265
- package/autopm/.claude/commands/azure/us-parse.md +0 -253
- package/autopm/.claude/commands/azure/us-show.md +0 -188
- package/autopm/.claude/commands/azure/us-status.md +0 -320
- package/autopm/.claude/commands/azure/validate.md +0 -86
- package/autopm/.claude/commands/azure/work-item-sync.md +0 -47
- package/autopm/.claude/commands/cloud/infra-deploy.md +0 -38
- package/autopm/.claude/commands/github/workflow-create.md +0 -42
- package/autopm/.claude/commands/infrastructure/ssh-security.md +0 -65
- package/autopm/.claude/commands/infrastructure/traefik-setup.md +0 -65
- package/autopm/.claude/commands/kubernetes/deploy.md +0 -37
- package/autopm/.claude/commands/playwright/test-scaffold.md +0 -38
- package/autopm/.claude/commands/pm/blocked.md +0 -28
- package/autopm/.claude/commands/pm/clean.md +0 -119
- package/autopm/.claude/commands/pm/context-create.md +0 -136
- package/autopm/.claude/commands/pm/context-prime.md +0 -170
- package/autopm/.claude/commands/pm/context-update.md +0 -292
- package/autopm/.claude/commands/pm/context.md +0 -28
- package/autopm/.claude/commands/pm/epic-close.md +0 -86
- package/autopm/.claude/commands/pm/epic-decompose.md +0 -370
- package/autopm/.claude/commands/pm/epic-edit.md +0 -83
- package/autopm/.claude/commands/pm/epic-list.md +0 -30
- package/autopm/.claude/commands/pm/epic-merge.md +0 -222
- package/autopm/.claude/commands/pm/epic-oneshot.md +0 -119
- package/autopm/.claude/commands/pm/epic-refresh.md +0 -119
- package/autopm/.claude/commands/pm/epic-show.md +0 -28
- package/autopm/.claude/commands/pm/epic-split.md +0 -120
- package/autopm/.claude/commands/pm/epic-start.md +0 -195
- package/autopm/.claude/commands/pm/epic-status.md +0 -28
- package/autopm/.claude/commands/pm/epic-sync-modular.md +0 -338
- package/autopm/.claude/commands/pm/epic-sync-original.md +0 -473
- package/autopm/.claude/commands/pm/epic-sync.md +0 -486
- package/autopm/.claude/commands/pm/help.md +0 -28
- package/autopm/.claude/commands/pm/import.md +0 -115
- package/autopm/.claude/commands/pm/in-progress.md +0 -28
- package/autopm/.claude/commands/pm/init.md +0 -28
- package/autopm/.claude/commands/pm/issue-analyze.md +0 -202
- package/autopm/.claude/commands/pm/issue-close.md +0 -119
- package/autopm/.claude/commands/pm/issue-edit.md +0 -93
- package/autopm/.claude/commands/pm/issue-reopen.md +0 -87
- package/autopm/.claude/commands/pm/issue-show.md +0 -41
- package/autopm/.claude/commands/pm/issue-start.md +0 -234
- package/autopm/.claude/commands/pm/issue-status.md +0 -95
- package/autopm/.claude/commands/pm/issue-sync.md +0 -411
- package/autopm/.claude/commands/pm/next.md +0 -28
- package/autopm/.claude/commands/pm/prd-edit.md +0 -82
- package/autopm/.claude/commands/pm/prd-list.md +0 -28
- package/autopm/.claude/commands/pm/prd-new.md +0 -55
- package/autopm/.claude/commands/pm/prd-parse.md +0 -42
- package/autopm/.claude/commands/pm/prd-status.md +0 -28
- package/autopm/.claude/commands/pm/search.md +0 -28
- package/autopm/.claude/commands/pm/standup.md +0 -28
- package/autopm/.claude/commands/pm/status.md +0 -28
- package/autopm/.claude/commands/pm/sync.md +0 -99
- package/autopm/.claude/commands/pm/test-reference-update.md +0 -151
- package/autopm/.claude/commands/pm/validate.md +0 -28
- package/autopm/.claude/commands/pm/what-next.md +0 -28
- package/autopm/.claude/commands/python/api-scaffold.md +0 -50
- package/autopm/.claude/commands/python/docs-query.md +0 -48
- package/autopm/.claude/commands/react/app-scaffold.md +0 -50
- package/autopm/.claude/commands/testing/prime.md +0 -314
- package/autopm/.claude/commands/testing/run.md +0 -125
- package/autopm/.claude/commands/ui/bootstrap-scaffold.md +0 -65
- package/autopm/.claude/commands/ui/tailwind-system.md +0 -64
- package/autopm/.claude/rules/ai-integration-patterns.md +0 -219
- package/autopm/.claude/rules/ci-cd-kubernetes-strategy.md +0 -25
- package/autopm/.claude/rules/database-management-strategy.md +0 -17
- package/autopm/.claude/rules/database-pipeline.md +0 -94
- package/autopm/.claude/rules/devops-troubleshooting-playbook.md +0 -450
- package/autopm/.claude/rules/docker-first-development.md +0 -404
- package/autopm/.claude/rules/infrastructure-pipeline.md +0 -128
- package/autopm/.claude/rules/performance-guidelines.md +0 -403
- package/autopm/.claude/rules/ui-development-standards.md +0 -281
- package/autopm/.claude/rules/ui-framework-rules.md +0 -151
- package/autopm/.claude/rules/ux-design-rules.md +0 -209
- package/autopm/.claude/rules/visual-testing.md +0 -223
- package/autopm/.claude/scripts/azure/README.md +0 -192
- package/autopm/.claude/scripts/azure/active-work.js +0 -524
- package/autopm/.claude/scripts/azure/active-work.sh +0 -20
- package/autopm/.claude/scripts/azure/blocked.js +0 -520
- package/autopm/.claude/scripts/azure/blocked.sh +0 -20
- package/autopm/.claude/scripts/azure/daily.js +0 -533
- package/autopm/.claude/scripts/azure/daily.sh +0 -20
- package/autopm/.claude/scripts/azure/dashboard.js +0 -970
- package/autopm/.claude/scripts/azure/dashboard.sh +0 -20
- package/autopm/.claude/scripts/azure/feature-list.js +0 -254
- package/autopm/.claude/scripts/azure/feature-list.sh +0 -20
- package/autopm/.claude/scripts/azure/feature-show.js +0 -7
- package/autopm/.claude/scripts/azure/feature-show.sh +0 -20
- package/autopm/.claude/scripts/azure/feature-status.js +0 -604
- package/autopm/.claude/scripts/azure/feature-status.sh +0 -20
- package/autopm/.claude/scripts/azure/help.js +0 -342
- package/autopm/.claude/scripts/azure/help.sh +0 -20
- package/autopm/.claude/scripts/azure/next-task.js +0 -508
- package/autopm/.claude/scripts/azure/next-task.sh +0 -20
- package/autopm/.claude/scripts/azure/search.js +0 -469
- package/autopm/.claude/scripts/azure/search.sh +0 -20
- package/autopm/.claude/scripts/azure/setup.js +0 -745
- package/autopm/.claude/scripts/azure/setup.sh +0 -20
- package/autopm/.claude/scripts/azure/sprint-report.js +0 -1012
- package/autopm/.claude/scripts/azure/sprint-report.sh +0 -20
- package/autopm/.claude/scripts/azure/sync.js +0 -563
- package/autopm/.claude/scripts/azure/sync.sh +0 -20
- package/autopm/.claude/scripts/azure/us-list.js +0 -210
- package/autopm/.claude/scripts/azure/us-list.sh +0 -20
- package/autopm/.claude/scripts/azure/us-status.js +0 -238
- package/autopm/.claude/scripts/azure/us-status.sh +0 -20
- package/autopm/.claude/scripts/azure/validate.js +0 -626
- package/autopm/.claude/scripts/azure/validate.sh +0 -20
- package/autopm/.claude/scripts/azure/wrapper-template.sh +0 -20
- package/autopm/.claude/scripts/github/dependency-tracker.js +0 -554
- package/autopm/.claude/scripts/github/dependency-validator.js +0 -545
- package/autopm/.claude/scripts/github/dependency-visualizer.js +0 -477
- package/autopm/.claude/scripts/pm/analytics.js +0 -425
- package/autopm/.claude/scripts/pm/blocked.js +0 -164
- package/autopm/.claude/scripts/pm/blocked.sh +0 -78
- package/autopm/.claude/scripts/pm/clean.js +0 -464
- package/autopm/.claude/scripts/pm/context-create.js +0 -216
- package/autopm/.claude/scripts/pm/context-prime.js +0 -335
- package/autopm/.claude/scripts/pm/context-update.js +0 -344
- package/autopm/.claude/scripts/pm/context.js +0 -338
- package/autopm/.claude/scripts/pm/epic-close.js +0 -347
- package/autopm/.claude/scripts/pm/epic-edit.js +0 -382
- package/autopm/.claude/scripts/pm/epic-list.js +0 -273
- package/autopm/.claude/scripts/pm/epic-list.sh +0 -109
- package/autopm/.claude/scripts/pm/epic-show.js +0 -291
- package/autopm/.claude/scripts/pm/epic-show.sh +0 -105
- package/autopm/.claude/scripts/pm/epic-split.js +0 -522
- package/autopm/.claude/scripts/pm/epic-start/epic-start.js +0 -183
- package/autopm/.claude/scripts/pm/epic-start/epic-start.sh +0 -94
- package/autopm/.claude/scripts/pm/epic-status.js +0 -291
- package/autopm/.claude/scripts/pm/epic-status.sh +0 -104
- package/autopm/.claude/scripts/pm/epic-sync/README.md +0 -208
- package/autopm/.claude/scripts/pm/epic-sync/create-epic-issue.sh +0 -77
- package/autopm/.claude/scripts/pm/epic-sync/create-task-issues.sh +0 -86
- package/autopm/.claude/scripts/pm/epic-sync/update-epic-file.sh +0 -79
- package/autopm/.claude/scripts/pm/epic-sync/update-references.sh +0 -89
- package/autopm/.claude/scripts/pm/epic-sync.sh +0 -137
- package/autopm/.claude/scripts/pm/help.js +0 -92
- package/autopm/.claude/scripts/pm/help.sh +0 -90
- package/autopm/.claude/scripts/pm/in-progress.js +0 -178
- package/autopm/.claude/scripts/pm/in-progress.sh +0 -93
- package/autopm/.claude/scripts/pm/init.js +0 -321
- package/autopm/.claude/scripts/pm/init.sh +0 -178
- package/autopm/.claude/scripts/pm/issue-close.js +0 -232
- package/autopm/.claude/scripts/pm/issue-edit.js +0 -310
- package/autopm/.claude/scripts/pm/issue-show.js +0 -272
- package/autopm/.claude/scripts/pm/issue-start.js +0 -181
- package/autopm/.claude/scripts/pm/issue-sync/format-comment.sh +0 -468
- package/autopm/.claude/scripts/pm/issue-sync/gather-updates.sh +0 -460
- package/autopm/.claude/scripts/pm/issue-sync/post-comment.sh +0 -330
- package/autopm/.claude/scripts/pm/issue-sync/preflight-validation.sh +0 -348
- package/autopm/.claude/scripts/pm/issue-sync/update-frontmatter.sh +0 -387
- package/autopm/.claude/scripts/pm/lib/README.md +0 -85
- package/autopm/.claude/scripts/pm/lib/epic-discovery.js +0 -119
- package/autopm/.claude/scripts/pm/lib/logger.js +0 -78
- package/autopm/.claude/scripts/pm/next.js +0 -189
- package/autopm/.claude/scripts/pm/next.sh +0 -72
- package/autopm/.claude/scripts/pm/optimize.js +0 -407
- package/autopm/.claude/scripts/pm/pr-create.js +0 -337
- package/autopm/.claude/scripts/pm/pr-list.js +0 -257
- package/autopm/.claude/scripts/pm/prd-list.js +0 -242
- package/autopm/.claude/scripts/pm/prd-list.sh +0 -103
- package/autopm/.claude/scripts/pm/prd-new.js +0 -684
- package/autopm/.claude/scripts/pm/prd-parse.js +0 -547
- package/autopm/.claude/scripts/pm/prd-status.js +0 -152
- package/autopm/.claude/scripts/pm/prd-status.sh +0 -63
- package/autopm/.claude/scripts/pm/release.js +0 -460
- package/autopm/.claude/scripts/pm/search.js +0 -192
- package/autopm/.claude/scripts/pm/search.sh +0 -89
- package/autopm/.claude/scripts/pm/standup.js +0 -362
- package/autopm/.claude/scripts/pm/standup.sh +0 -95
- package/autopm/.claude/scripts/pm/status.js +0 -148
- package/autopm/.claude/scripts/pm/status.sh +0 -59
- package/autopm/.claude/scripts/pm/sync-batch.js +0 -337
- package/autopm/.claude/scripts/pm/sync.js +0 -343
- package/autopm/.claude/scripts/pm/template-list.js +0 -141
- package/autopm/.claude/scripts/pm/template-new.js +0 -366
- package/autopm/.claude/scripts/pm/validate.js +0 -274
- package/autopm/.claude/scripts/pm/validate.sh +0 -106
- package/autopm/.claude/scripts/pm/what-next.js +0 -660
- package/bin/node/azure-feature-show.js +0 -7
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Task, Read, Write, Edit, MultiEdit, Bash, Glob, Grep
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# GitHub Workflow Creation
|
|
6
|
-
|
|
7
|
-
Creates GitHub Actions workflows for CI/CD pipelines.
|
|
8
|
-
|
|
9
|
-
**Usage**: `/github:workflow-create [--type=ci|cd|release] [--stack=node|python|dotnet] [--deploy-to=aws|azure|gcp]`
|
|
10
|
-
|
|
11
|
-
## Required Documentation Access
|
|
12
|
-
|
|
13
|
-
**MANDATORY:** Before creating GitHub workflows, query Context7 for best practices:
|
|
14
|
-
|
|
15
|
-
**Documentation Queries:**
|
|
16
|
-
- `mcp://context7/github/workflows` - workflows best practices
|
|
17
|
-
- `mcp://context7/ci-cd/github-actions` - github actions best practices
|
|
18
|
-
- `mcp://context7/devops/pipeline-design` - pipeline design best practices
|
|
19
|
-
- `mcp://context7/ci-cd/best-practices` - best practices best practices
|
|
20
|
-
|
|
21
|
-
**Why This is Required:**
|
|
22
|
-
- Ensures adherence to current industry standards and best practices
|
|
23
|
-
- Prevents outdated or incorrect implementation patterns
|
|
24
|
-
- Provides access to latest framework/tool documentation
|
|
25
|
-
- Reduces errors from stale knowledge or assumptions
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
**Example**: `/github:workflow-create --type=ci --stack=node --deploy-to=aws`
|
|
29
|
-
|
|
30
|
-
**What this does**:
|
|
31
|
-
- Creates .github/workflows directory structure
|
|
32
|
-
- Generates workflow YAML with best practices
|
|
33
|
-
- Configures secrets and environment variables
|
|
34
|
-
- Sets up caching for dependencies
|
|
35
|
-
- Implements matrix testing strategies
|
|
36
|
-
- Adds deployment stages if needed
|
|
37
|
-
|
|
38
|
-
Use the github-operations-specialist agent to create comprehensive GitHub Actions workflows.
|
|
39
|
-
|
|
40
|
-
**CRITICAL INSTRUCTION FOR AGENT:**
|
|
41
|
-
The generated workflow MUST adhere to the Kubernetes-native CI/CD strategy for `containerd` runners.
|
|
42
|
-
Refer to the rules in `.claude/rules/ci-cd-kubernetes-strategy.md` for specific implementation details (use `kubectl` and `nerdctl`, not Docker services).
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ssh-security-and-operations
|
|
3
|
-
type: epic-management
|
|
4
|
-
category: infrastructure
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# SSH Security and Operations Command
|
|
8
|
-
|
|
9
|
-
Set up secure SSH configurations, key management, and remote operations.
|
|
10
|
-
|
|
11
|
-
## Command
|
|
12
|
-
```
|
|
13
|
-
/infra:ssh-security
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Use the ssh-operations-expert agent to create secure SSH configurations, implement key rotation strategies, and set up remote management workflows.
|
|
18
|
-
|
|
19
|
-
## Parameters
|
|
20
|
-
- `scope`: Configuration scope (client, server, both)
|
|
21
|
-
- `security_level`: Security hardening level (basic, advanced, paranoid)
|
|
22
|
-
- `key_management`: Key management strategy (manual, automated, ca-based)
|
|
23
|
-
- `features`: Additional features (tunneling, jump-hosts, automation)
|
|
24
|
-
|
|
25
|
-
## Agent Usage
|
|
26
|
-
```
|
|
27
|
-
Use the ssh-operations-expert agent to create comprehensive SSH security and operations setup.
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Expected Outcome
|
|
31
|
-
- Hardened SSH client/server configurations
|
|
32
|
-
- SSH key generation and management scripts
|
|
33
|
-
- Automated key rotation workflows
|
|
34
|
-
- Tunnel and port forwarding setup
|
|
35
|
-
- Jump host and bastion configuration
|
|
36
|
-
- Remote operations and automation scripts
|
|
37
|
-
- Security audit and monitoring tools
|
|
38
|
-
|
|
39
|
-
## Example Usage
|
|
40
|
-
```
|
|
41
|
-
## Required Documentation Access
|
|
42
|
-
|
|
43
|
-
**MANDATORY:** Before SSH security hardening, query Context7 for best practices:
|
|
44
|
-
|
|
45
|
-
**Documentation Queries:**
|
|
46
|
-
- `mcp://context7/security/ssh-hardening` - ssh hardening best practices
|
|
47
|
-
- `mcp://context7/security/authentication` - authentication best practices
|
|
48
|
-
- `mcp://context7/infrastructure/security` - security best practices
|
|
49
|
-
- `mcp://context7/security/best-practices` - best practices best practices
|
|
50
|
-
|
|
51
|
-
**Why This is Required:**
|
|
52
|
-
- Ensures adherence to current industry standards and best practices
|
|
53
|
-
- Prevents outdated or incorrect implementation patterns
|
|
54
|
-
- Provides access to latest framework/tool documentation
|
|
55
|
-
- Reduces errors from stale knowledge or assumptions
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Task: Set up secure SSH infrastructure with key rotation, jump hosts, and automated remote operations
|
|
59
|
-
Agent: ssh-operations-expert
|
|
60
|
-
Parameters: scope=both, security_level=advanced, key_management=automated, features=tunneling,jump-hosts,automation
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Related Agents
|
|
64
|
-
- bash-scripting-expert: For automation scripts
|
|
65
|
-
- terraform-infrastructure-expert: For infrastructure automation
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: traefik-reverse-proxy-setup
|
|
3
|
-
type: epic-management
|
|
4
|
-
category: infrastructure
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Traefik Reverse Proxy Setup Command
|
|
8
|
-
|
|
9
|
-
Configure Traefik reverse proxy with SSL termination, load balancing, and service discovery.
|
|
10
|
-
|
|
11
|
-
## Command
|
|
12
|
-
```
|
|
13
|
-
/infra:traefik-setup
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Use the traefik-proxy-expert agent to create a complete Traefik reverse proxy configuration with SSL automation, load balancing, and microservices routing.
|
|
18
|
-
|
|
19
|
-
## Parameters
|
|
20
|
-
- `environment`: Target environment (development, staging, production)
|
|
21
|
-
- `ssl`: SSL configuration (letsencrypt, custom-certs, self-signed)
|
|
22
|
-
- `discovery`: Service discovery method (docker, kubernetes, file)
|
|
23
|
-
- `features`: Additional features (dashboard, metrics, rate-limiting, auth)
|
|
24
|
-
|
|
25
|
-
## Agent Usage
|
|
26
|
-
```
|
|
27
|
-
Use the traefik-proxy-expert agent to create a comprehensive Traefik reverse proxy setup.
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Expected Outcome
|
|
31
|
-
- Complete Traefik configuration (traefik.yml)
|
|
32
|
-
- Docker Compose setup with Traefik service
|
|
33
|
-
- SSL certificate automation
|
|
34
|
-
- Service discovery configuration
|
|
35
|
-
- Load balancing and health checks
|
|
36
|
-
- Security middleware and authentication
|
|
37
|
-
- Monitoring and logging setup
|
|
38
|
-
|
|
39
|
-
## Example Usage
|
|
40
|
-
```
|
|
41
|
-
## Required Documentation Access
|
|
42
|
-
|
|
43
|
-
**MANDATORY:** Before Traefik setup, query Context7 for best practices:
|
|
44
|
-
|
|
45
|
-
**Documentation Queries:**
|
|
46
|
-
- `mcp://context7/infrastructure/reverse-proxy` - reverse proxy best practices
|
|
47
|
-
- `mcp://context7/traefik/configuration` - configuration best practices
|
|
48
|
-
- `mcp://context7/devops/networking` - networking best practices
|
|
49
|
-
- `mcp://context7/security/tls` - tls best practices
|
|
50
|
-
|
|
51
|
-
**Why This is Required:**
|
|
52
|
-
- Ensures adherence to current industry standards and best practices
|
|
53
|
-
- Prevents outdated or incorrect implementation patterns
|
|
54
|
-
- Provides access to latest framework/tool documentation
|
|
55
|
-
- Reduces errors from stale knowledge or assumptions
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Task: Set up Traefik reverse proxy for microservices with Let's Encrypt SSL and Docker discovery
|
|
59
|
-
Agent: traefik-proxy-expert
|
|
60
|
-
Parameters: environment=production, ssl=letsencrypt, discovery=docker, features=dashboard,metrics,auth
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Related Agents
|
|
64
|
-
- docker-containerization-expert: For container configuration
|
|
65
|
-
- kubernetes-orchestrator: For K8s integration
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Task, Read, Write, Edit, MultiEdit, Bash, Glob, Grep
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Kubernetes Deployment
|
|
6
|
-
|
|
7
|
-
Deploys applications to Kubernetes clusters.
|
|
8
|
-
|
|
9
|
-
**Usage**: `/kubernetes:deploy [app-name] [--chart=helm|kustomize] [--namespace=default] [--gitops=argocd|flux]`
|
|
10
|
-
|
|
11
|
-
## Required Documentation Access
|
|
12
|
-
|
|
13
|
-
**MANDATORY:** Before Kubernetes deployment, query Context7 for best practices:
|
|
14
|
-
|
|
15
|
-
**Documentation Queries:**
|
|
16
|
-
- `mcp://context7/kubernetes/deployment` - deployment best practices
|
|
17
|
-
- `mcp://context7/kubernetes/best-practices` - best practices best practices
|
|
18
|
-
- `mcp://context7/devops/container-orchestration` - container orchestration best practices
|
|
19
|
-
|
|
20
|
-
**Why This is Required:**
|
|
21
|
-
- Ensures adherence to current industry standards and best practices
|
|
22
|
-
- Prevents outdated or incorrect implementation patterns
|
|
23
|
-
- Provides access to latest framework/tool documentation
|
|
24
|
-
- Reduces errors from stale knowledge or assumptions
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
**Example**: `/kubernetes:deploy my-app --chart=helm --namespace=production --gitops=argocd`
|
|
28
|
-
|
|
29
|
-
**What this does**:
|
|
30
|
-
- Creates Kubernetes manifests or Helm charts
|
|
31
|
-
- Configures deployments with best practices
|
|
32
|
-
- Sets up services and ingress
|
|
33
|
-
- Implements autoscaling and monitoring
|
|
34
|
-
- Configures GitOps if requested
|
|
35
|
-
- Adds security policies
|
|
36
|
-
|
|
37
|
-
Use the kubernetes-orchestrator agent to deploy applications to Kubernetes.
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Task, Read, Write, Edit, MultiEdit, Bash, Glob, Grep
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Playwright Test Scaffolding
|
|
6
|
-
|
|
7
|
-
Creates Playwright test suite with Page Object Model.
|
|
8
|
-
|
|
9
|
-
**Usage**: `/playwright:test-scaffold [app-name] [--framework=react|vue|angular] [--auth=yes|no]`
|
|
10
|
-
|
|
11
|
-
## Required Documentation Access
|
|
12
|
-
|
|
13
|
-
**MANDATORY:** Before scaffolding Playwright tests, query Context7 for best practices:
|
|
14
|
-
|
|
15
|
-
**Documentation Queries:**
|
|
16
|
-
- `mcp://context7/playwright/scaffolding` - scaffolding best practices
|
|
17
|
-
- `mcp://context7/testing/e2e` - e2e best practices
|
|
18
|
-
- `mcp://context7/testing/page-objects` - page objects best practices
|
|
19
|
-
- `mcp://context7/playwright/best-practices` - best practices best practices
|
|
20
|
-
|
|
21
|
-
**Why This is Required:**
|
|
22
|
-
- Ensures adherence to current industry standards and best practices
|
|
23
|
-
- Prevents outdated or incorrect implementation patterns
|
|
24
|
-
- Provides access to latest framework/tool documentation
|
|
25
|
-
- Reduces errors from stale knowledge or assumptions
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
**Example**: `/playwright:test-scaffold my-app --framework=react --auth=yes`
|
|
29
|
-
|
|
30
|
-
**What this does**:
|
|
31
|
-
- Creates Playwright configuration
|
|
32
|
-
- Sets up Page Object Model structure
|
|
33
|
-
- Generates test helpers and fixtures
|
|
34
|
-
- Configures browsers and devices
|
|
35
|
-
- Adds visual regression setup
|
|
36
|
-
- Creates CI/CD integration scripts
|
|
37
|
-
|
|
38
|
-
Use the frontend-testing-engineer agent to create comprehensive E2E test suite.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Bash
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Run `node .claude/scripts/pm/blocked.js` using the Bash tool and show me the complete output.
|
|
6
|
-
|
|
7
|
-
- DO NOT truncate.
|
|
8
|
-
- DO NOT collapse.
|
|
9
|
-
- DO NOT abbreviate.
|
|
10
|
-
- Show ALL lines in full.
|
|
11
|
-
## Required Documentation Access
|
|
12
|
-
|
|
13
|
-
**MANDATORY:** Before project management workflows, query Context7 for best practices:
|
|
14
|
-
|
|
15
|
-
**Documentation Queries:**
|
|
16
|
-
- `mcp://context7/agile/epic-management` - epic management best practices
|
|
17
|
-
- `mcp://context7/project-management/issue-tracking` - issue tracking best practices
|
|
18
|
-
- `mcp://context7/agile/task-breakdown` - task breakdown best practices
|
|
19
|
-
- `mcp://context7/project-management/workflow` - workflow best practices
|
|
20
|
-
|
|
21
|
-
**Why This is Required:**
|
|
22
|
-
- Ensures adherence to current industry standards and best practices
|
|
23
|
-
- Prevents outdated or incorrect implementation patterns
|
|
24
|
-
- Provides access to latest framework/tool documentation
|
|
25
|
-
- Reduces errors from stale knowledge or assumptions
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- DO NOT print any other comments.
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Bash, Read, Write, LS
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Clean
|
|
6
|
-
|
|
7
|
-
Clean up completed work and archive old epics.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```
|
|
11
|
-
/pm:clean [--dry-run]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Options:
|
|
15
|
-
- `--dry-run` - Show what would be cleaned without doing it
|
|
16
|
-
|
|
17
|
-
## Required Documentation Access
|
|
18
|
-
|
|
19
|
-
**MANDATORY:** Before project management workflows, query Context7 for best practices:
|
|
20
|
-
|
|
21
|
-
**Documentation Queries:**
|
|
22
|
-
- `mcp://context7/agile/epic-management` - epic management best practices
|
|
23
|
-
- `mcp://context7/project-management/issue-tracking` - issue tracking best practices
|
|
24
|
-
- `mcp://context7/agile/task-breakdown` - task breakdown best practices
|
|
25
|
-
- `mcp://context7/project-management/workflow` - workflow best practices
|
|
26
|
-
|
|
27
|
-
**Why This is Required:**
|
|
28
|
-
- Ensures adherence to current industry standards and best practices
|
|
29
|
-
- Prevents outdated or incorrect implementation patterns
|
|
30
|
-
- Provides access to latest framework/tool documentation
|
|
31
|
-
- Reduces errors from stale knowledge or assumptions
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## Instructions
|
|
35
|
-
|
|
36
|
-
### 1. Identify Completed Epics
|
|
37
|
-
|
|
38
|
-
Find epics with:
|
|
39
|
-
- `status: completed` in frontmatter
|
|
40
|
-
- All tasks closed
|
|
41
|
-
- Last update > 30 days ago
|
|
42
|
-
|
|
43
|
-
### 2. Identify Stale Work
|
|
44
|
-
|
|
45
|
-
Find:
|
|
46
|
-
- Progress files for closed issues
|
|
47
|
-
- Update directories for completed work
|
|
48
|
-
- Orphaned task files (epic deleted)
|
|
49
|
-
- Empty directories
|
|
50
|
-
|
|
51
|
-
### 3. Show Cleanup Plan
|
|
52
|
-
|
|
53
|
-
```
|
|
54
|
-
🧹 Cleanup Plan
|
|
55
|
-
|
|
56
|
-
Completed Epics to Archive:
|
|
57
|
-
{epic_name} - Completed {days} days ago
|
|
58
|
-
{epic_name} - Completed {days} days ago
|
|
59
|
-
|
|
60
|
-
Stale Progress to Remove:
|
|
61
|
-
{count} progress files for closed issues
|
|
62
|
-
|
|
63
|
-
Empty Directories:
|
|
64
|
-
{list_of_empty_dirs}
|
|
65
|
-
|
|
66
|
-
Space to Recover: ~{size}KB
|
|
67
|
-
|
|
68
|
-
{If --dry-run}: This is a dry run. No changes made.
|
|
69
|
-
{Otherwise}: Proceed with cleanup? (yes/no)
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
### 4. Execute Cleanup
|
|
73
|
-
|
|
74
|
-
If user confirms:
|
|
75
|
-
|
|
76
|
-
**Archive Epics:**
|
|
77
|
-
```bash
|
|
78
|
-
mkdir -p .claude/epics/.archived
|
|
79
|
-
mv .claude/epics/{completed_epic} .claude/epics/.archived/
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
**Remove Stale Files:**
|
|
83
|
-
- Delete progress files for closed issues > 30 days
|
|
84
|
-
- Remove empty update directories
|
|
85
|
-
- Clean up orphaned files
|
|
86
|
-
|
|
87
|
-
**Create Archive Log:**
|
|
88
|
-
Create `.claude/epics/.archived/archive-log.md`:
|
|
89
|
-
```markdown
|
|
90
|
-
# Archive Log
|
|
91
|
-
|
|
92
|
-
## {current_date}
|
|
93
|
-
- Archived: {epic_name} (completed {date})
|
|
94
|
-
- Removed: {count} stale progress files
|
|
95
|
-
- Cleaned: {count} empty directories
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### 5. Output
|
|
99
|
-
|
|
100
|
-
```
|
|
101
|
-
✅ Cleanup Complete
|
|
102
|
-
|
|
103
|
-
Archived:
|
|
104
|
-
{count} completed epics
|
|
105
|
-
|
|
106
|
-
Removed:
|
|
107
|
-
{count} stale files
|
|
108
|
-
{count} empty directories
|
|
109
|
-
|
|
110
|
-
Space recovered: {size}KB
|
|
111
|
-
|
|
112
|
-
System is clean and organized.
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
## Important Notes
|
|
116
|
-
|
|
117
|
-
Always offer --dry-run to preview changes.
|
|
118
|
-
Never delete PRDs or incomplete work.
|
|
119
|
-
Keep archive log for history.
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Bash, Read, Write, Glob
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Context Create
|
|
6
|
-
|
|
7
|
-
Initialize project context documentation for AI agent memory.
|
|
8
|
-
|
|
9
|
-
## Required Documentation Access
|
|
10
|
-
|
|
11
|
-
**MANDATORY:** Before creating context, query Context7 for best practices:
|
|
12
|
-
|
|
13
|
-
**Documentation Queries:**
|
|
14
|
-
- `mcp://context7/documentation/project-context` - Project documentation standards
|
|
15
|
-
- `mcp://context7/agile/project-setup` - Project initialization best practices
|
|
16
|
-
- `mcp://context7/knowledge-management/technical-documentation` - Documentation organization patterns
|
|
17
|
-
|
|
18
|
-
**Why This is Required:**
|
|
19
|
-
- Ensures context follows industry standards
|
|
20
|
-
- Provides templates aligned with best practices
|
|
21
|
-
- Establishes effective knowledge management patterns
|
|
22
|
-
|
|
23
|
-
## Instructions
|
|
24
|
-
|
|
25
|
-
Create comprehensive project context in `.claude/context/` directory.
|
|
26
|
-
|
|
27
|
-
### 1. Check if context already exists
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
if [ -d ".claude/context" ]; then
|
|
31
|
-
echo "⚠️ Context already exists. Use /pm:context-update to modify."
|
|
32
|
-
exit 1
|
|
33
|
-
fi
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### 2. Create context directory structure
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
mkdir -p .claude/context
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### 3. Copy and customize templates
|
|
43
|
-
|
|
44
|
-
**Read templates from AutoPM installation:**
|
|
45
|
-
- `.claude/templates/context-templates/project-brief.md.template`
|
|
46
|
-
- `.claude/templates/context-templates/tech-context.md.template`
|
|
47
|
-
- `.claude/templates/context-templates/progress.md.template`
|
|
48
|
-
- `.claude/templates/context-templates/project-structure.md.template`
|
|
49
|
-
|
|
50
|
-
### 4. Auto-populate with project information
|
|
51
|
-
|
|
52
|
-
**Analyze project and pre-fill templates:**
|
|
53
|
-
|
|
54
|
-
1. **Read package.json** for tech stack:
|
|
55
|
-
- Extract dependencies and devDependencies
|
|
56
|
-
- Determine Node.js version from engines
|
|
57
|
-
- Identify testing framework (Jest, Mocha, etc.)
|
|
58
|
-
- Detect package manager from lock files
|
|
59
|
-
|
|
60
|
-
2. **Read README.md** for project description:
|
|
61
|
-
- Extract project name and description
|
|
62
|
-
- Identify key features and objectives
|
|
63
|
-
- Find usage examples
|
|
64
|
-
|
|
65
|
-
3. **Detect directory structure:**
|
|
66
|
-
- Scan top-level directories
|
|
67
|
-
- Identify common patterns (src/, test/, docs/, etc.)
|
|
68
|
-
- Map key configuration files
|
|
69
|
-
|
|
70
|
-
4. **Initialize progress:**
|
|
71
|
-
- Set initial phase as "Setup" or "Development"
|
|
72
|
-
- Mark context creation as first completed task
|
|
73
|
-
- Set progress to appropriate starting percentage
|
|
74
|
-
|
|
75
|
-
### 5. Create context README
|
|
76
|
-
|
|
77
|
-
Write `.claude/context/README.md`:
|
|
78
|
-
|
|
79
|
-
```markdown
|
|
80
|
-
# Project Context
|
|
81
|
-
|
|
82
|
-
This directory maintains comprehensive project information for AI agents.
|
|
83
|
-
|
|
84
|
-
## Files
|
|
85
|
-
- **project-brief.md**: Project scope and objectives
|
|
86
|
-
- **tech-context.md**: Technology stack and dependencies
|
|
87
|
-
- **progress.md**: Current status and next steps
|
|
88
|
-
- **project-structure.md**: Directory layout and key files
|
|
89
|
-
|
|
90
|
-
## Usage
|
|
91
|
-
- `/pm:context-prime`: Load context for new session
|
|
92
|
-
- `/pm:context-update`: Update after changes
|
|
93
|
-
- `/pm:context`: View current context
|
|
94
|
-
|
|
95
|
-
## Maintenance
|
|
96
|
-
Keep these files updated as the project evolves. Run `/pm:context-update` after:
|
|
97
|
-
- Adding new dependencies
|
|
98
|
-
- Completing major tasks
|
|
99
|
-
- Changing project structure
|
|
100
|
-
- Updating technical stack
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### 6. Write populated templates
|
|
104
|
-
|
|
105
|
-
Create the following files in `.claude/context/`:
|
|
106
|
-
- `project-brief.md` (populated from README and package.json)
|
|
107
|
-
- `tech-context.md` (populated from package.json and file detection)
|
|
108
|
-
- `progress.md` (initialized with setup phase)
|
|
109
|
-
- `project-structure.md` (populated from directory scan)
|
|
110
|
-
|
|
111
|
-
### 7. Confirm creation
|
|
112
|
-
|
|
113
|
-
Display success message:
|
|
114
|
-
|
|
115
|
-
```
|
|
116
|
-
✅ Context created in .claude/context/
|
|
117
|
-
|
|
118
|
-
📝 Files created:
|
|
119
|
-
- project-brief.md (auto-populated from README)
|
|
120
|
-
- tech-context.md (auto-populated from package.json)
|
|
121
|
-
- progress.md (initialized)
|
|
122
|
-
- project-structure.md (auto-populated from directory scan)
|
|
123
|
-
- README.md (usage guide)
|
|
124
|
-
|
|
125
|
-
💡 Next steps:
|
|
126
|
-
1. Review and customize the context files
|
|
127
|
-
2. Run /pm:context-prime to load context into session
|
|
128
|
-
3. Update regularly with /pm:context-update
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
## Output Format
|
|
132
|
-
|
|
133
|
-
Return a structured summary of:
|
|
134
|
-
- Files created with auto-populated content preview
|
|
135
|
-
- Any information that couldn't be auto-detected
|
|
136
|
-
- Recommendations for manual customization
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Read, Bash
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Context Prime
|
|
6
|
-
|
|
7
|
-
Load project context into current AI session for better understanding and continuity.
|
|
8
|
-
|
|
9
|
-
## Required Documentation Access
|
|
10
|
-
|
|
11
|
-
**MANDATORY:** Before priming context, query Context7 for best practices:
|
|
12
|
-
|
|
13
|
-
**Documentation Queries:**
|
|
14
|
-
- `mcp://context7/knowledge-management/context-loading` - Context loading patterns
|
|
15
|
-
- `mcp://context7/ai/prompt-engineering` - Effective context management for AI
|
|
16
|
-
|
|
17
|
-
**Why This is Required:**
|
|
18
|
-
- Ensures optimal context loading for AI comprehension
|
|
19
|
-
- Provides strategies for maintaining session continuity
|
|
20
|
-
|
|
21
|
-
## Instructions
|
|
22
|
-
|
|
23
|
-
Load comprehensive project context into the current AI session.
|
|
24
|
-
|
|
25
|
-
### 1. Verify context exists
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
if [ ! -d ".claude/context" ]; then
|
|
29
|
-
echo "❌ Context not found. Run /pm:context-create first."
|
|
30
|
-
exit 1
|
|
31
|
-
fi
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### 2. Read all context files
|
|
35
|
-
|
|
36
|
-
Read in order:
|
|
37
|
-
1. `.claude/context/project-brief.md` - Project overview and objectives
|
|
38
|
-
2. `.claude/context/tech-context.md` - Technical stack and dependencies
|
|
39
|
-
3. `.claude/context/project-structure.md` - Directory layout and organization
|
|
40
|
-
4. `.claude/context/progress.md` - Current status and next steps
|
|
41
|
-
|
|
42
|
-
### 3. Process and internalize context
|
|
43
|
-
|
|
44
|
-
**Parse key information:**
|
|
45
|
-
|
|
46
|
-
From **project-brief.md**:
|
|
47
|
-
- Project name and description
|
|
48
|
-
- Primary objectives and goals
|
|
49
|
-
- Target users and stakeholders
|
|
50
|
-
- Key constraints and limitations
|
|
51
|
-
- Success criteria
|
|
52
|
-
|
|
53
|
-
From **tech-context.md**:
|
|
54
|
-
- Technology stack (frontend, backend, database, infrastructure)
|
|
55
|
-
- Development environment (Node.js version, package manager, testing framework)
|
|
56
|
-
- Key dependencies and their purposes
|
|
57
|
-
- Architecture patterns in use
|
|
58
|
-
- Development practices
|
|
59
|
-
|
|
60
|
-
From **project-structure.md**:
|
|
61
|
-
- Directory layout and organization
|
|
62
|
-
- Key files and their purposes
|
|
63
|
-
- Module structure
|
|
64
|
-
- Configuration files
|
|
65
|
-
|
|
66
|
-
From **progress.md**:
|
|
67
|
-
- Current phase and progress percentage
|
|
68
|
-
- Completed tasks
|
|
69
|
-
- In-progress tasks
|
|
70
|
-
- Next steps
|
|
71
|
-
- Any blockers
|
|
72
|
-
|
|
73
|
-
### 4. Display loaded context summary
|
|
74
|
-
|
|
75
|
-
Present a comprehensive summary:
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
📋 Project Context Loaded
|
|
79
|
-
|
|
80
|
-
══════════════════════════════════════════════════════════════════
|
|
81
|
-
|
|
82
|
-
PROJECT: [Project Name]
|
|
83
|
-
PHASE: [Current Phase] | PROGRESS: [X]%
|
|
84
|
-
LAST UPDATED: [Date from progress.md]
|
|
85
|
-
|
|
86
|
-
══════════════════════════════════════════════════════════════════
|
|
87
|
-
|
|
88
|
-
🎯 OBJECTIVES
|
|
89
|
-
- [Primary goal]
|
|
90
|
-
- [Secondary goal]
|
|
91
|
-
- [Tertiary goal]
|
|
92
|
-
|
|
93
|
-
🔧 TECH STACK
|
|
94
|
-
- Frontend: [Technologies]
|
|
95
|
-
- Backend: [Technologies]
|
|
96
|
-
- Database: [Database]
|
|
97
|
-
- Testing: [Framework]
|
|
98
|
-
|
|
99
|
-
📁 STRUCTURE
|
|
100
|
-
[Brief structure overview]
|
|
101
|
-
|
|
102
|
-
✅ COMPLETED
|
|
103
|
-
- [Recent completed task 1]
|
|
104
|
-
- [Recent completed task 2]
|
|
105
|
-
|
|
106
|
-
🚧 IN PROGRESS
|
|
107
|
-
- [Current task 1]
|
|
108
|
-
- [Current task 2]
|
|
109
|
-
|
|
110
|
-
⏭️ NEXT STEPS
|
|
111
|
-
1. [Next action 1]
|
|
112
|
-
2. [Next action 2]
|
|
113
|
-
|
|
114
|
-
⚠️ BLOCKERS
|
|
115
|
-
- [Blocker 1, if any]
|
|
116
|
-
|
|
117
|
-
══════════════════════════════════════════════════════════════════
|
|
118
|
-
|
|
119
|
-
✅ Context loaded. AI agent now has project memory.
|
|
120
|
-
|
|
121
|
-
💡 TIP: Run /pm:context-update after significant changes to keep context current.
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### 5. Internal context retention
|
|
125
|
-
|
|
126
|
-
**CRITICAL:** After displaying the summary, the AI agent should:
|
|
127
|
-
|
|
128
|
-
1. **Retain project identity**: Remember project name, goals, and constraints
|
|
129
|
-
2. **Understand technical environment**: Keep tech stack and dependencies in mind
|
|
130
|
-
3. **Maintain progress awareness**: Know what's done, what's in progress, what's next
|
|
131
|
-
4. **Respect project structure**: Work within established organization patterns
|
|
132
|
-
5. **Align with practices**: Follow development practices outlined in context
|
|
133
|
-
|
|
134
|
-
This context should guide all subsequent interactions in the session:
|
|
135
|
-
- Suggestions should align with project objectives
|
|
136
|
-
- Recommendations should fit the tech stack
|
|
137
|
-
- Changes should consider current progress
|
|
138
|
-
- Code should match project structure
|
|
139
|
-
|
|
140
|
-
### 6. Confirmation
|
|
141
|
-
|
|
142
|
-
Return structured confirmation:
|
|
143
|
-
|
|
144
|
-
```json
|
|
145
|
-
{
|
|
146
|
-
"status": "loaded",
|
|
147
|
-
"project": "[Project Name]",
|
|
148
|
-
"phase": "[Current Phase]",
|
|
149
|
-
"progress": "[X]%",
|
|
150
|
-
"filesRead": [
|
|
151
|
-
"project-brief.md",
|
|
152
|
-
"tech-context.md",
|
|
153
|
-
"project-structure.md",
|
|
154
|
-
"progress.md"
|
|
155
|
-
],
|
|
156
|
-
"keyTakeaways": [
|
|
157
|
-
"[Important point 1]",
|
|
158
|
-
"[Important point 2]",
|
|
159
|
-
"[Important point 3]"
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
## Output Format
|
|
165
|
-
|
|
166
|
-
Return:
|
|
167
|
-
- Formatted context summary (as shown above)
|
|
168
|
-
- Key information highlighted
|
|
169
|
-
- Current focus areas
|
|
170
|
-
- Recommendations based on loaded context
|