ワンクリックで
development-context
Gather development workflow, version control, CI/CD pipeline, deployment strategy, and tooling information
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Gather development workflow, version control, CI/CD pipeline, deployment strategy, and tooling information
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate Azure infrastructure as Bicep code from planning data
Generate Azure infrastructure as Terraform code from planning data
Generate a Mermaid architecture diagram derived from application components and infrastructure context data
Configure an individual application component by mapping it to an Azure service with SKU, region, and service-specific settings
Document source control, CI/CD platform, environments, deployment process, and quality gates for the application
Read all planning data, propose relevant ADR topics, and generate Architecture Decision Records following the project template
| name | development-context |
| description | Gather development workflow, version control, CI/CD pipeline, deployment strategy, and tooling information |
This skill gathers information about the development process, CI/CD pipeline, and tooling used by the team. It generates infra/context/development-context.md which informs deployment strategy and infrastructure design decisions.
The generated file will be displayed in the UI when the user runs npx @zureltd/az-infra-harness and navigates to the Context section.
Run this skill when:
/platform-context to complete the Context phase/development-contextBefore asking questions, scan the codebase for existing CI/CD and development configuration.
Files and commands to scan:
infra/context/development-context.md — existing content (Update Mode trigger).github/workflows/ — CI/CD platform and workflow structure; read the actual YAML contents to extract triggers, steps, secrets, and environments.gitlab-ci.yml, azure-pipelines.yml, Jenkinsfile — alternative CI/CD platforms; read contents for pipeline structurepackage.json (scripts, test frameworks), jest.config.*, vitest.config.*, playwright.config.*, cypress.config.*.gitignore, .editorconfig, commitlint.config.*, .prettierrc*, .eslintrc*, eslint.config.* — dev tool hintsREADME.md — development setup instructionsDockerfile*, docker-compose*.yml — containerization and local dev setup.devcontainer/ — dev container configurationMakefile, justfile, Taskfile.yml — build automation.env.example, .env.template — environment variable patternsGit commands to run for additional context:
# Get the remote repository URL
git remote -v 2>/dev/null | head -2
# Get the current branch and recent branches
git branch -a --sort=-committerdate 2>/dev/null | head -10
# Check for branch protection hints (tags, release patterns)
git tag --sort=-creatordate 2>/dev/null | head -5
# Check commit message patterns (conventional commits?)
git log --oneline -10 2>/dev/null
If GitHub CLI (gh) is available:
# Get repository details
gh repo view --json name,description,defaultBranchRef,isPrivate 2>/dev/null
# Check branch protection rules
gh api repos/{owner}/{repo}/branches/main/protection 2>/dev/null
# List environments
gh api repos/{owner}/{repo}/environments 2>/dev/null
# List recent workflow runs (CI/CD activity)
gh run list --limit 5 2>/dev/null
How to present findings:
I've scanned your repository and development setup. Here's what I found:
**Version Control:**
- Repository: [url from git remote]
- Default branch: [main/master]
- Branching pattern: [inferred from branch names — e.g., "appears to use GitFlow with feature/ and hotfix/ branches"]
- Commit style: [conventional commits detected / free-form]
**CI/CD:**
- Platform: [GitHub Actions / Azure Pipelines / etc.]
- Workflows found: [list workflow files and their triggers]
- Environments: [dev, staging, prod — from workflow files or gh api]
**Testing:**
- Unit tests: [Jest/Vitest/pytest detected from config files]
- E2E tests: [Playwright/Cypress detected or "none found"]
- Security scanning: [Snyk/SonarQube detected in workflows or "none found"]
**Development Tools:**
- Package manager: [npm/yarn/pnpm from lockfile]
- Containerization: [Docker/Docker Compose detected or "none"]
- Dev containers: [detected or "none"]
Is this information accurate? Let me ask a few clarifying questions.
If existing file found with content → follow Update Mode (Step 2a). If no existing file → follow Fresh Mode (Step 2b).
Read the existing file and present the current content to the user.
I found your existing development context. Here's what's currently documented:
[Summary of each section currently in the file]
What would you like to update? You can modify any section, or say "looks good" to confirm everything is correct.
Wait for the user's response, then make changes. Ask "Anything else to update, or shall I save?" before proceeding to Step 6.
This skill MUST comply with the shared Interaction & Validation Standard:
.opencode/skills/_shared/interaction-validation-standard.md
Use the TodoWrite tool to create a task list at the start with these high-priority items:
Ask one logical group at a time, wait for the response, then mark the task complete before moving to the next. You may combine closely related sections (e.g., Development Workflow + Version Control) if the user is providing information fluidly.
If codebase scanning found useful information (e.g., GitHub Actions workflows, test configs), present those findings and ask for confirmation rather than asking from scratch.
Let's start with your development workflow. Please describe:
1. **Methodology**: How does your team work? (e.g., Agile with 2-week sprints, Kanban, Scrum)
2. **Code review process**: Is code review required before merging? (e.g., 1 reviewer, 2 reviewers, team lead approval)
3. **Quality gates**: What must pass before a PR can be merged? (e.g., tests, security scans, linting)
Now let's capture your version control setup:
1. **Platform**: Where is your code hosted? (e.g., GitHub, GitHub Enterprise, Azure DevOps Repos, GitLab)
2. **Branching strategy**: What branching model do you use? (e.g., Git Flow with main/develop/feature/hotfix, trunk-based, GitHub Flow)
3. **Commit conventions**: Do you use conventional commits, semantic versioning, or any other commit message standards?
If GitHub Actions found in codebase:
I can see you're using GitHub. Is this GitHub.com or GitHub Enterprise Server?
And what branching strategy do you follow?
How do developers set up their local environment?
1. **Local tooling**: What tools do developers run locally? (e.g., Docker Desktop, local Kubernetes, dev containers)
2. **Azure access**: Do developers have personal Azure subscriptions for testing, or do they use shared dev environments?
3. **Infrastructure tools**: Do developers run Terraform/Bicep locally, or is IaC only run through CI/CD?
Describe your testing approach:
1. **Unit tests**: What framework and coverage target? (e.g., Jest with 80% target, xUnit, pytest)
2. **Integration tests**: Are there integration tests that run against real services or test databases?
3. **End-to-end tests**: Do you have E2E tests? (e.g., Playwright, Cypress, Selenium)
4. **Security scanning**: Any SAST/DAST tools or dependency vulnerability scanning? (e.g., Snyk, SonarQube, OWASP ZAP)
5. **Load/performance testing**: Any load testing tools? (e.g., k6, JMeter, Azure Load Testing)
Now let's capture your CI/CD setup:
1. **Platform**: What CI/CD platform do you use? (e.g., GitHub Actions, Azure Pipelines, GitLab CI, Jenkins)
2. **Workflow structure**: Is there one pipeline for the whole app, or per-component pipelines?
3. **Trigger rules**: What triggers a pipeline run? (e.g., PR opened, push to develop, push to main)
4. **Secrets management**: How are secrets (API keys, credentials) passed to the pipeline? (e.g., GitHub Secrets, Azure Key Vault, pipeline variables)
How do you deploy to production?
1. **Deployment model**: What deployment approach do you use? (e.g., blue-green, canary, rolling update, feature flags)
2. **Environments**: What environments exist and how does code flow through them? (e.g., dev → staging → production)
3. **Approval gates**: Are there manual approval gates before production deployment?
4. **Rollback**: How do you roll back a bad deployment? (e.g., automated rollback, manual redeploy, previous container image)
How does your team monitor the application in production?
1. **APM tools**: What application performance monitoring tools do you use? (e.g., Application Insights, Datadog, New Relic)
2. **Logging**: Where do logs go and how are they accessed? (e.g., Log Analytics, Splunk, CloudWatch)
3. **Alerting**: How are you alerted on incidents? (e.g., PagerDuty, email, Slack via Azure Monitor)
4. **Dashboards**: Do you have operational dashboards? (e.g., Grafana, Azure Workbooks)
Finally, what are the main development tools your team uses?
1. **IDE**: What editor/IDE do most developers use? (e.g., VS Code, Visual Studio, JetBrains)
2. **API testing**: Any API testing tools? (e.g., Postman, Bruno, REST Client)
3. **Database tools**: How do developers access databases? (e.g., Azure Data Studio, TablePlus, pgAdmin)
4. **IaC tools**: What tools do you use for infrastructure-as-code? (e.g., Bicep with Azure CLI, Terraform CLI, Pulumi)
Before generating the file, summarize any missing information:
Open Items:
- [Missing Item 1]
- [Missing Item 2]
Resolve all open items. Only proceed when there are zero open items.
Once all sections are complete and validated, create the markdown file with this exact structure:
# Development Context
## Development Workflow
[Methodology. Code review process. Quality gates before merge.]
## Version Control
[Platform (GitHub/ADO/GitLab). Branching strategy. Commit conventions.]
## Development Environment
[Local tooling. Azure access for developers. IaC local vs CI-only.]
## Testing Strategy
[Unit test framework and coverage target. Integration tests. E2E tests. Security scanning. Load testing.]
## CI/CD Pipeline
[Platform. Workflow structure. Trigger rules. Secrets management.]
## Deployment Strategy
[Deployment model (blue-green/canary/rolling). Environments and flow. Approval gates. Rollback approach.]
## Monitoring & Observability
[APM tools. Logging platform. Alerting mechanism. Dashboards.]
## Development Tools
[IDE. API testing. Database tools. IaC tools.]
Formatting rules:
#) for the file title: exactly # Development Context##) for each of the 8 sectionsBefore saving:
# Development ContextTarget location: infra/context/development-context.md
Pre-save checks:
infra/context/ existsError handling:
✅ Created development context successfully!
📄 File location: infra/context/development-context.md
🌐 To view in the UI:
1. Ensure the Az Infra Harness is running: `npx @zureltd/az-infra-harness`
2. Refresh your browser
3. Navigate to the Context section
4. The development context card should now show a blue border with a checkmark
5. Once all context cards are complete, the "Continue to Application Architecture" button will be enabled
You have now completed the Context section! 🎉
The next step is to run /configure-component to begin defining your application architecture.
Agent: "Let's gather your development context. I'll ask about 8 areas. I can see you have GitHub Actions workflows in your repo — is GitHub Actions your primary CI/CD platform?"
User: "Yes, GitHub Actions on GitHub Enterprise."
Agent: "Great. What branching strategy do you follow?"
User: "Git Flow — main, develop, feature branches, and hotfix branches."
[Conversation continues through all sections]
Agent: "✅ Created development context successfully!
📄 File location: infra/context/development-context.md"
infra/context/development-context.md.opencode/skills/_shared/interaction-validation-standard.mdDATA-STRUCTURE.mdinfra/context/development-context.md