com um clique
sync-guides
Batch-generate web guide docs and i18n translations
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a pรกgina da skill e instale para vocรช.
Menu
Batch-generate web guide docs and i18n translations
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a pรกgina da skill e instale para vocรช.
Refactor pages, components, or queries for consistency
Prepare a new release with build, verify, changelog, and git tag
Review changed code against AWSops project conventions
Synchronize project documentation with current code state
Baseado na classificaรงรฃo ocupacional SOC
| name | sync-guides |
| description | Batch-generate web guide docs and i18n translations |
| triggers | sync guides, guide update |
src ์ฝ๋ ๋ณ๊ฒฝ์ ๋ฐ๋ผ web ๊ฐ์ด๋ ๋ฌธ์(ํ๊ตญ์ด)์ i18n ์์ด/์ค๊ตญ์ด(๊ฐ์ฒด) ๋ฒ์ญ์ ์ผ๊ด ์์ฑ/์ ๋ฐ์ดํธํฉ๋๋ค.
/sync-guides ๋ช
๋ น์ด๋ก ์คํ
์ธํ๋ผ, AgentCore, ๋ฐฐํฌ ์คํฌ๋ฆฝํธ ๋ณ๊ฒฝ ์ โ Canvas React ์ปดํฌ๋ํธ ํฌํจ ๊ฐ์ด๋.
| ํธ๋ฆฌ๊ฑฐ ํ์ผ | ๋ผ์ฐํธ | ๊ฐ์ด๋ | Canvas ์ปดํฌ๋ํธ |
|---|---|---|---|
infra-cdk/lib/*.ts | __infra__ | overview/dashboard | ArchitectureFlow |
agent/agent.py | __agentcore__ | overview/agentcore | AgentCoreFlow |
scripts/0*.sh | __deployment__ | getting-started/deployment | DeploymentPipeline |
Canvas ์ปดํฌ๋ํธ ์์น: web/src/components/diagrams/
src/app ํ์ด์ง ๋ณ๊ฒฝ ์ โ ํ์ค ์๋น์ค ๊ฐ์ด๋ (Screenshot + ๊ธฐ๋ฅ ์ค๋ช ).
| ํธ๋ฆฌ๊ฑฐ ํ์ผ | ๋ผ์ฐํธ | ๊ฐ์ด๋ ์นดํ ๊ณ ๋ฆฌ |
|---|---|---|
src/app/*/page.tsx | ์๋ ์ถ์ถ | Compute, Network, Storage, Monitoring, Security |
src/lib/queries/*.ts | ์ฟผ๋ฆฌ๋ช ๊ธฐ๋ฐ | ํด๋น ์๋น์ค |
์์ ๊ฐ์ด๋ ๋ณ๊ฒฝ ์ โ ๋ก๊ทธ์ธ, ๋ค๋น๊ฒ์ด์ , AI ์ด์์คํดํธ, ์ธ์ฆ ํ๋ฆ.
.omc/state/pending-guides.json์์ ์ถ์ ๋ ๋ณ๊ฒฝ ๋ชฉ๋ก์ ์ฝ์ต๋๋ค.
Hook(accumulate-pending-guides.sh)์ด ํ์ผ ๋ณ๊ฒฝ ์ ์๋์ผ๋ก ์ถ์ ํฉ๋๋ค.
๊ฐ์ง ๋์:
src/app/*/page.tsx, src/lib/queries/*.ts, src/components/*.tsx (Tier 2)infra-cdk/lib/*.ts, agent/agent.py, scripts/0*.sh (Tier 1)๊ฐ pending ํญ๋ชฉ์ ๋ํด:
web/docs/{category}/{service}.md ์กด์ฌ ์ฌ๋ถweb/docs/storage/ebs.md)๋ฅผ ํ
ํ๋ฆฟ์ผ๋ก ์ฐธ์กฐweb/i18n/en/docusaurus-plugin-content-docs/current/{category}/{service}.mdweb/i18n/zh-Hans/docusaurus-plugin-content-docs/current/{category}/{service}.mdTier 1 ๊ฐ์ด๋์ ์ฌ์ฉ๋๋ ์ธํฐ๋ํฐ๋ธ Canvas ์๊ฐํ:
๊ณตํต ํ
: web/src/components/diagrams/useCanvas.ts
useCanvas(draw, height): Canvas ref + ResizeObserver + HiDPI + animation loop + mouse trackingTHEME: AWSops ํ
๋ง ์์ (bg, cyan, green, purple, orange, text, muted)roundRect(), isHover(): ์ ํธ๋ฆฌํฐ ํจ์typeof window === 'undefined')์ปดํฌ๋ํธ ๊ตฌ์กฐ:
import React from 'react';
import { useCanvas, THEME, roundRect, isHover, canvasWrapperStyle } from './useCanvas';
export default function DiagramName() {
const { canvasRef, mouseRef } = useCanvas((ctx, canvas, frame, mouse) => {
// Clear + draw nodes + connections + particles + hover effects
}, 500);
return (
<div style={canvasWrapperStyle}>
<canvas ref={canvasRef} style={{ width: '100%', height: 500, display: 'block' }} />
</div>
);
}
๊ธฐ์กด ์ปดํฌ๋ํธ:
| ์ปดํฌ๋ํธ | ํ์ผ | ์๊ฐํ ๋ด์ฉ |
|---|---|---|
ArchitectureFlow | ArchitectureFlow.tsx | CloudFront โ ALB โ EC2 โ Steampipe/AgentCore |
AgentCoreFlow | AgentCoreFlow.tsx | AI Router โ 10 Routes โ AgentCore Runtime |
DeploymentPipeline | DeploymentPipeline.tsx | 10๋จ๊ณ ๋ฐฐํฌ ํ์ดํ๋ผ์ธ ํ์๋ผ์ธ |
AuthFlow | AuthFlow.tsx | Cognito ์ธ์ฆ ์ํ์ค ๋ค์ด์ด๊ทธ๋จ |
---
sidebar_position: N
---
import Screenshot from '@site/src/components/Screenshot';
# {์๋น์ค๋ช
}
{์๋น์ค ํ ์ค ์ค๋ช
}
<Screenshot src="/screenshots/{category}/{service}.png" alt="{์๋น์ค๋ช
}" />
## ์ฃผ์ ๊ธฐ๋ฅ
### ํต๊ณ ์นด๋
- StatsCard ์ปดํฌ๋ํธ์์ ์ถ์ถํ ์นด๋ ๋ชฉ๋ก
### ์๊ฐํ ์ฐจํธ
- Recharts ์ปดํฌ๋ํธ์์ ์ถ์ถํ ์ฐจํธ ๋ชฉ๋ก
### ๋ฐ์ดํฐ ํ
์ด๋ธ/ํญ
- ํ
์ด๋ธ ๊ตฌ์กฐ ์ค๋ช
## ์ฌ์ฉ ๋ฐฉ๋ฒ
- ์ฃผ์ ์ํฌํ๋ก์ฐ 3-5๊ฐ
## ์ฌ์ฉ ํ
- :::tip, :::info ํ์์ ํ 2-3๊ฐ
## AI ๋ถ์ ํ
- AI ์ด์์คํดํธ ์ง๋ฌธ ์์ 4-5๊ฐ
## ๊ด๋ จ ํ์ด์ง
- ๊ด๋ จ ํ์ด์ง ๋งํฌ 3-5๊ฐ
StatsCard ์ปดํฌ๋ํธ: ์นด๋ label, value, color โ ํต๊ณ ์นด๋ ์น์
PieChart, BarChart, LineChart: ์ฐจํธ ์ข
๋ฅ โ ์๊ฐํ ์ฐจํธ ์น์
Tab, TabPanel: ํญ ๊ตฌ์กฐ โ ๋ฐ์ดํฐ ํ
์ด๋ธ ์น์
fetch('/awsops/api/...'): API ํธ์ถ ํจํด โ ๋ฐ์ดํฐ ์์ค ์ค๋ช
src/lib/queries/*.ts): ์ฃผ์ ์ปฌ๋ผ โ ๋ฐ์ดํฐ ํ๋ ์ค๋ช
| src/app ๊ฒฝ๋ก | sidebars.ts ์นดํ ๊ณ ๋ฆฌ | web/docs ๊ฒฝ๋ก |
|---|---|---|
| ec2, lambda, ecs, ecr, k8s* | Compute | compute/ |
| vpc, cloudfront-cdn, waf, topology | Network & CDN | network/ |
| ebs, s3, rds, dynamodb, elasticache, opensearch, msk | Storage & DB | storage/ |
| monitoring, bedrock, cloudwatch, cloudtrail, cost, inventory | Monitoring | monitoring/ |
| iam, security, compliance | Security | security/ |
.omc/state/pending-guides.json์ ์ฒ๋ฆฌ๋ ํญ๋ชฉ ์ ๊ฑฐ--clear ํ๋๊ทธ: pending ๋ชฉ๋ก ์ ์ฒด ์ด๊ธฐํ/ask gemini)/sync-guides # pending ๋ชฉ๋ก ๊ธฐ๋ฐ ์ผ๊ด ์์ฑ
/sync-guides --all # ๋ชจ๋ src/app ํ์ด์ง ๋์ ์ ์ฒด ๋๊ธฐํ
/sync-guides --clear # pending ๋ชฉ๋ก ์ด๊ธฐํ
/sync-guides --dry # ์์ฑํ ๊ฐ์ด๋ ๋ชฉ๋ก๋ง ๋ฏธ๋ฆฌ๋ณด๊ธฐ