[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75FTZMD3NKC3BQA576XQM8F":3,"skill-same:01M75FTZMD3NKC3BQA576XQM8F":140},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75FTZMD3NKC3BQA576XQM8F","codebase-wiki-generator",null,"Triggered when creating, generating, updating, or maintaining a comprehensive, multi-tiered codebase wiki (architecture documentation, C4 system design, domain models & ERD, API catalogs, data flows, deployment runbooks, onboarding guides, ADRs) for a project or monorepo, including automatic incremental updates when codebase changes occur.","RudyCity\u002Fsuperagent","RudyCity","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82188919?v=4","01M75FP5X8AW8ACBH0SH34WS7M","01M75FP5YAHJK8M1Q52BWXB82K",70,"MIT","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: codebase-wiki-generator\ndescription: >-\n  Triggered when creating, generating, updating, or maintaining a comprehensive, multi-tiered codebase wiki (architecture documentation, C4 system design, domain models & ERD, API catalogs, data flows, deployment runbooks, onboarding guides, ADRs) for a project or monorepo, including automatic incremental updates when codebase changes occur.\n---\n\n# Codebase Wiki Generator & Auto-Sync Suite (`codebase-wiki-generator`)\n\nProvides an enterprise-grade, multi-dimensional methodology and automated tooling to generate, structure, validate, and **automatically synchronize** comprehensive codebase documentation and architecture wikis across **Single Repositories** or **Multi-Workspace Federated Ecosystems** (e.g. `smart-seller` + `laris.click` + shared modules).\n\n---\n\n## When to Use This Skill\n\n### 1. Creation & Initial Scaffolding\n- **Indonesian**: \"buat wiki codebase\", \"buat dokumentasi proyek\", \"scaffold wiki arsitektur\", \"bikin dokumentasi lengkap codebase\", \"generate wiki sistem\", \"buat multi workspace wiki\", \"federated wiki\".\n- **English**: \"create codebase wiki\", \"generate project documentation\", \"scaffold architecture wiki\", \"build comprehensive codebase docs\", \"multi workspace wiki\", \"federated wiki\".\n\n### 2. Automatic & Incremental Update on Changes\n- **Indonesian**: \"update wiki tiap ada perubahan\", \"sync wiki dengan codebase\", \"update dokumentasi API\", \"perbarui diagram ERD di wiki\", \"pantau perubahan dan update wiki otomatis\", \"sync multi workspace\".\n- **English**: \"update wiki on changes\", \"sync wiki with code\", \"update API documentation in wiki\", \"refresh ERD in wiki\", \"watch codebase and auto-sync wiki\", \"sync multi workspace\".\n\n### 3. Auditing & Link Validation\n- **Indonesian**: \"cek kesehatan link wiki\", \"validasi dokumentasi wiki\", \"audit kelengkapan wiki\".\n- **English**: \"validate wiki links\", \"audit wiki completeness\", \"check broken links in docs\".\n\n---\n\n## Multi-Workspace & Federated Wiki Architecture\n\nThe wiki suite natively supports declarative configuration via `docs\u002Fwiki\u002Fwiki-config.json`:\n\n```json\n{\n  \"wikiDir\": \"docs\u002Fwiki\",\n  \"title\": \"Smart Seller & laris.click Federated Technical Wiki\",\n  \"primaryWorkspace\": {\n    \"name\": \"smart-seller\",\n    \"displayName\": \"Smart Seller (Core Platform & Store Assistant)\",\n    \"path\": \".\",\n    \"routes\": [\"apps\u002Fapi\u002Fsrc\u002Froutes\", \"apps\u002Fapi\u002Fsrc\"],\n    \"schemas\": [\"packages\u002Fdb\u002Fsrc\u002Fmigrations\", \"packages\u002Fdb\u002Fsrc\"]\n  },\n  \"federatedWorkspaces\": [\n    {\n      \"name\": \"laris.click\",\n      \"displayName\": \"laris.click (Checkout, SSO & Subscriptions Gateway)\",\n      \"path\": \"D:\u002Fbackup from pc asus\u002FDocuments Development\u002Flaris.click\",\n      \"routes\": [\"backend\u002Fsrc\u002Froutes\", \"backend\u002Fsrc\"],\n      \"schemas\": [\"backend\u002Fsrc\u002Fdb\u002Fmigrations\", \"backend\u002Fsrc\u002Fdb\"]\n    }\n  ]\n}\n```\n\nWhen multi-workspace configuration is present:\n- **API Catalog (`extract-api-catalog.cjs`)**: Scans routes across all registered repositories and outputs grouped contract tables with clickable source links.\n- **Database ERD (`extract-db-erd.cjs`)**: Merges database schemas into unified Mermaid ERDs with cross-system foreign key mappings.\n- **Watcher Daemon (`watch-and-sync.cjs`)**: Concurrently listens to file modifications across all workspaces.\n- **Incremental Sync (`sync-wiki-on-change.cjs`)**: Calculates cross-workspace impact radiuses and synchronizes semantic Vector RAG chunks into `apps\u002Fapi\u002Fdata\u002Fwiki-rmemory-chunks.json`.\n\n---\n\n## Architecture & Wiki Taxonomy\n\nThe generated wiki lives in `docs\u002Fwiki\u002F` (or `.wiki\u002F`) with the following standardized structure:\n\n```text\ndocs\u002Fwiki\u002F\n├── 00-index.md                    # Master Table of Contents, Architecture Map & Tech Badges\n├── 01-architecture-overview.md    # C4 Context & Container, Monorepo Topology, Design Principles\n├── 02-domain-models-and-data.md   # Mermaid ERD, DB Schema Catalog, State Machines, Caching\n├── 03-api-and-contracts.md        # REST\u002FRPC Endpoints, Auth Specs, Payload Contracts, Webhooks\n├── 04-features-and-workflows.md   # Core Business Flows, Sequence Diagrams, Logic Rules\n├── 05-infrastructure-and-devops.md# Docker, CI\u002FCD, Environment Matrix, Logging & Monitoring\n├── 06-developer-onboarding.md     # Local Setup, Commands Cheat Sheet, Debugging, Testing Rules\n├── 07-adrs-and-decisions.md       # Architecture Decision Records (ADRs) in MADR format\n└── auto-sync-manifest.json        # Auto-generated hash & file-mapping manifest for incremental sync\n```\n\n---\n\n## 7-Phase Execution Workflow\n\n```\n┌────────────────────────────────────────────────────────┐\n│ Phase 1: Codebase Discovery & Stack Inspection         │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 2: Scaffold Generation & Template Initialization │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 3: C4 Architecture & Component Modeling (Mermaid)│\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 4: Domain Entities, ERD & Data Lifecycle Mapping │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 5: API Catalog & External Contract Extraction    │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 6: Business Workflows & Sequence Flow Modeling   │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 7: DevOps, Onboarding, Verification & Auto-Sync  │\n└────────────────────────────────────────────────────────┘\n```\n\n---\n\n### Phase 1: Codebase Discovery & Stack Inspection\n\nBefore writing documentation, inspect the codebase using exploration tools (`grep_search`, `list_dir`, `view_file`) or run the discovery helper:\n\n1. **Monorepo & Package Discovery**:\n   - Inspect `package.json`, `pnpm-workspace.yaml`, `turbo.json`, or cargo\u002Fgo modules.\n   - List all apps (e.g. `apps\u002Fapi`, `apps\u002Ffrontend`) and shared packages (e.g. `packages\u002F*`, `@mod\u002F*`).\n2. **Database & Storage Discovery**:\n   - Identify ORM\u002FQuery layer (Prisma, Drizzle, Kysely, TypeORM, raw SQL migrations).\n   - Locate connection parameters, seeders, and migration history.\n3. **API & Interface Discovery**:\n   - Locate route entrypoints (e.g. `src\u002Froutes\u002F`, `app\u002Fapi\u002F`, tRPC routers, controllers).\n4. **Third-Party Integrations**:\n   - Payment gateways, AI Providers (OpenAI, Gemini, Anthropic), Auth providers, WhatsApp\u002FMeta APIs.\n\n---\n\n### Phase 2: Scaffold Generation\n\nRun the scaffold generator script to create the initial wiki structure pre-populated with discovered metadata:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fgenerate-wiki-scaffold.cjs\" --target \"docs\u002Fwiki\"\n```\n\nThe script automatically:\n- Creates all standardized `.md` files in `docs\u002Fwiki\u002F`.\n- Injects detected project names, repository descriptions, package lists, and runtime versions.\n- Generates `index.html` (Docsify Live Web Viewer with Mermaid support, search, and copy-code).\n- Generates `_sidebar.md` (interactive multi-workspace chapter navigation).\n- Injects `wiki:serve`, `wiki:sync`, and `wiki:watch` scripts into root `package.json`.\n- Initializes `auto-sync-manifest.json` for tracking future code changes.\n\n---\n\n### Phase 2.5: Interactive Web Viewer & Live Serving (`http:\u002F\u002Flocalhost:3333`)\n\nThe generated wiki can be viewed natively in any browser with full-text search, dark\u002Flight styling, and interactive Mermaid diagrams:\n\n```powershell\n# Serve interactive wiki locally on port 3333\nbun run wiki:serve\n```\n\n👉 **Live URL**: `http:\u002F\u002Flocalhost:3333`\n\n---\n\n### Phase 3: C4 Architecture & Component Modeling\n\nFill `01-architecture-overview.md` with high-level structural diagrams using Mermaid:\n\n#### 1. C4 Context Diagram (`graph TD` \u002F `graph TB`)\nIllustrate how external users, client applications, backend services, databases, and third-party APIs interact.\n\n```mermaid\ngraph TD\n    classDef actor fill:#dbeafe,stroke:#1d4ed8,stroke-width:2px;\n    classDef sys fill:#f0fdf4,stroke:#15803d,stroke-width:2px;\n    classDef ext fill:#fef3c7,stroke:#b45309,stroke-width:2px;\n    classDef db fill:#f3e8ff,stroke:#7e22ce,stroke-width:2px;\n\n    User[\"👤 Store Owner \u002F Admin\"]:::actor\n    Buyer[\"👥 End Customer\"]:::actor\n\n    subgraph Core Platform\n        FE[\"🖥️ Web Frontend (React\u002FVite)\"]:::sys\n        API[\"⚙️ Backend API (Hono\u002FNode.js)\"]:::sys\n        DB[(\"🗄️ PostgreSQL Database\")]:::db\n    end\n\n    subgraph External Integrations\n        AI[\"🤖 Multi-AI Providers (OpenAI\u002FGemini)\"]:::ext\n        PGW[\"💳 Payment Gateways\"]:::ext\n        WA[\"💬 WhatsApp \u002F Meta API\"]:::ext\n    end\n\n    User --> FE\n    FE --> API\n    API --> DB\n    API --> AI\n    API --> PGW\n    Buyer --> WA\n    WA --> API\n```\n\n---\n\n### Phase 4: Domain Entities, ERD & Data Lifecycle\n\nFill `02-domain-models-and-data.md` with:\n1. **Entity-Relationship Diagram (Mermaid `erDiagram`)**: Complete entity definitions with types, keys, and relational cardinality (`||--o{`, `}|--|{`).\n2. **Schema Inventory Table**: Table detailing each table, primary key, foreign keys, and business purpose.\n3. **State Machine \u002F Enum Lifecycles**: Diagram depicting order statuses, user verification states, or message dispatch states.\n\n```mermaid\nerDiagram\n    TENANTS ||--o{ USERS : \"has many\"\n    TENANTS ||--o{ ORDERS : \"owns\"\n    ORDERS ||--|{ ORDER_ITEMS : \"contains\"\n    USERS ||--o{ AUDIT_LOGS : \"triggers\"\n\n    TENANTS {\n        string id PK\n        string name\n        string plan_tier\n        timestamp created_at\n    }\n    USERS {\n        string id PK\n        string tenant_id FK\n        string email\n        string role\n    }\n    ORDERS {\n        string id PK\n        string tenant_id FK\n        numeric total_amount\n        string status\n    }\n```\n\n---\n\n### Phase 5: API Catalog & Contract Extraction\n\nExtract and document all endpoints into `03-api-and-contracts.md` using the automated route extractor:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fextract-api-catalog.cjs\" --routes-dir \"apps\u002Fapi\u002Fsrc\u002Froutes\" --output \"docs\u002Fwiki\u002F03-api-and-contracts.md\"\n```\n\nEach endpoint entry must document:\n- **HTTP Method & Path**: e.g., `POST \u002Fapi\u002Fv1\u002Forders`\n- **Auth Guard**: e.g., `Bearer Token (Role: TENANT_ADMIN)`\n- **Request Headers & Query Params**\n- **JSON Request Body Contract** (with TypeScript types \u002F Zod schema)\n- **Success & Error Response Payloads** (HTTP 200\u002F201 vs HTTP 400\u002F401\u002F404\u002F500)\n\n---\n\n### Phase 6: Business Workflows & Sequence Modeling\n\nIn `04-features-and-workflows.md`, document all primary business use cases using Mermaid `sequenceDiagram`:\n\n```mermaid\nsequenceDiagram\n    autonumber\n    actor User as Store Owner\n    participant UI as Frontend App\n    participant API as Hono API Server\n    participant DB as PostgreSQL\n    participant AI as AI Engine\n\n    User->>UI: Request AI Store Audit\n    UI->>API: POST \u002Fapi\u002Fassistant\u002Fchat\n    API->>DB: Fetch Tenant Context & Order Data\n    DB-->>API: Return Recent Metrics\n    API->>AI: Send Prompt + System Context\n    AI-->>API: Stream JSON Actions \u002F Recommendations\n    API->>DB: Persist Assistant Message & Tool Calls\n    API-->>UI: Stream Markdown Response\n    UI-->>User: Render Interactive Business Report\n```\n\n---\n\n### Phase 7: DevOps, Verification & Automatic Synchronization\n\n1. **DevOps & Onboarding**: Complete `05-infrastructure-and-devops.md` and `06-developer-onboarding.md` with environment variable matrices, docker compose instructions, and debug commands.\n2. **Validate Wiki Health**:\n   ```powershell\n   node \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fvalidate-wiki-links.cjs\" --wiki-dir \"docs\u002Fwiki\"\n   ```\n\n---\n\n## Automatic Update & Sync on Code Changes\n\nTo ensure the wiki is **never outdated**, the skill provides three automated sync mechanisms:\n\n### Method A: Incremental Syncer on Git Diff \u002F Changes\nWhenever files are added, modified, or deleted, run:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsync-wiki-on-change.cjs\" --wiki-dir \"docs\u002Fwiki\"\n```\n\nThe script performs **Smart Impact Mapping**:\n| Changed File Pattern | Impacted Wiki Document | Automated Action |\n|---|---|---|\n| `routes\u002F**`, `api\u002F**`, `controllers\u002F**` | `03-api-and-contracts.md` | Re-extracts API endpoints and updates the route catalog table |\n| `schema\u002F**`, `migrations\u002F**`, `entities\u002F**` | `02-domain-models-and-data.md` | Updates table inventory, timestamps, and marks schema diffs |\n| `package.json`, `pnpm-workspace.yaml`, `configs\u002F**` | `01-architecture-overview.md` | Refreshes dependency versions and monorepo package tree |\n| `docker-compose*`, `Dockerfile`, `.github\u002Fworkflows\u002F**` | `05-infrastructure-and-devops.md` | Syncs container service ports and CI\u002FCD triggers |\n| Any changed code feature file | `00-index.md` | Updates `Last Updated` timestamp and recent changes log |\n\n### Method B: Real-Time File Watcher Daemon\nWhen actively developing features, run the watcher in a background terminal:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fwatch-and-sync.cjs\" --wiki-dir \"docs\u002Fwiki\"\n```\nThe daemon watches the project directory, debounces rapid edits (500ms), and automatically triggers incremental synchronization.\n\n### Method C: Git Hook Integration (Pre-commit \u002F Post-commit)\nInstall the git hook automator:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsetup-git-hooks.cjs\" --hook-type \"post-commit\"\n```\nEvery time a git commit is created, the hook runs `sync-wiki-on-change.cjs` in the background.\n\n---\n\n## AI Agent Integration & Autonomous Multi-Agent Capabilities\n\nThe codebase wiki generator suite integrates with AI Agents across three functional dimensions:\n\n### 1. Antigravity AI Pair-Programmer & Subagents\n- **Autonomous Architecture Syncer**: When performing complex refactoring, invoking the `codebase-wiki-generator` skill triggers automated C4 modeling, ADR recording, and route re-indexing.\n- **AI Semantic Diff Summarizer**: Analyzes git diffs and writes structured natural language architecture changelogs.\n- **RAG Knowledge Ingest**: Automatically splits wiki docs into semantic chunks and feeds them into `rMemory` (Vector Store).\n\n### 2. Store Owner Copilot Tools (`\u002Fassistant`)\nStore Copilot has native access to technical wiki documentation via:\n- **`queryWiki({ topic, query, document })`**: Allows the store owner or developers to ask questions about system architecture directly in the assistant chat interface.\n- **`manageWiki({ action: 'propose_adr' | 'update', title, content })`**: Allows the copilot to record architectural decisions and update workflows.\n\n### 3. CI\u002FCD Pre-Push Freshness Gate\n- **`validate-wiki-freshness.cjs`**: Enforces that critical route or database modifications cannot be committed without synchronized documentation.\n\n---\n\n## AI Agent Rules for Wiki Maintenance\n\nWhen pair programming or executing tasks:\n1. **Always Update Documentation on Refactoring**: If you create new API routes, modify database schemas, or add new features, you MUST update the corresponding wiki file (`02-domain-models-and-data.md`, `03-api-and-contracts.md`, or `04-features-and-workflows.md`).\n2. **Never Use Placeholder Text**: Do not leave `TODO: add details` in generated wiki files. Provide accurate, production-ready documentation based on real codebase files.\n3. **Use Markdown Links with Line Anchors**: When referencing files in the wiki, use GitHub-compatible markdown links: `[service.ts](file:\u002F\u002F\u002Fpath\u002Fto\u002Fservice.ts#L45-L80)`.\n4. **Keep Diagrams Semantically Structured**: Always style diagrams with distinct color classes (`classDef`) for actors, services, databases, and third-party integrations.\n\n---\n\n## Skill Toolkit Inventory\n\n- **Scripts**:\n  - [`generate-wiki-scaffold.cjs`](.\u002Fscripts\u002Fgenerate-wiki-scaffold.cjs)\n  - [`extract-api-catalog.cjs`](.\u002Fscripts\u002Fextract-api-catalog.cjs)\n  - [`extract-db-erd.cjs`](.\u002Fscripts\u002Fextract-db-erd.cjs)\n  - [`ai-sync-summarizer.cjs`](.\u002Fscripts\u002Fai-sync-summarizer.cjs)\n  - [`sync-wiki-to-rmemory.cjs`](.\u002Fscripts\u002Fsync-wiki-to-rmemory.cjs)\n  - [`sync-wiki-on-change.cjs`](.\u002Fscripts\u002Fsync-wiki-on-change.cjs)\n  - [`watch-and-sync.cjs`](.\u002Fscripts\u002Fwatch-and-sync.cjs)\n  - [`setup-git-hooks.cjs`](.\u002Fscripts\u002Fsetup-git-hooks.cjs)\n  - [`validate-wiki-freshness.cjs`](.\u002Fscripts\u002Fvalidate-wiki-freshness.cjs)\n  - [`validate-wiki-links.cjs`](.\u002Fscripts\u002Fvalidate-wiki-links.cjs)\n- **Templates**:\n  - [`00-index.template.md`](.\u002Ftemplates\u002F00-index.template.md)\n  - [`01-architecture-overview.template.md`](.\u002Ftemplates\u002F01-architecture-overview.template.md)\n  - [`02-domain-models-and-data.template.md`](.\u002Ftemplates\u002F02-domain-models-and-data.template.md)\n  - [`03-api-and-contracts.template.md`](.\u002Ftemplates\u002F03-api-and-contracts.template.md)\n  - [`04-features-and-workflows.template.md`](.\u002Ftemplates\u002F04-features-and-workflows.template.md)\n  - [`05-infrastructure-and-devops.template.md`](.\u002Ftemplates\u002F05-infrastructure-and-devops.template.md)\n  - [`06-developer-onboarding.template.md`](.\u002Ftemplates\u002F06-developer-onboarding.template.md)\n  - [`07-adrs-and-decisions.template.md`](.\u002Ftemplates\u002F07-adrs-and-decisions.template.md)\n- **References**:\n  - [`auto-sync-impact-rules.md`](.\u002Freferences\u002Fauto-sync-impact-rules.md)\n  - [`c4-diagram-guidelines.md`](.\u002Freferences\u002Fc4-diagram-guidelines.md)\n  - [`wiki-structure-standard.md`](.\u002Freferences\u002Fwiki-structure-standard.md)\n  - [`domain-driven-mapping.md`](.\u002Freferences\u002Fdomain-driven-mapping.md)\n- **Examples**:\n  - [`sample-wiki-structure.md`](.\u002Fexamples\u002Fsample-wiki-structure.md)\n","# Codebase Wiki Generator & Auto-Sync Suite (`codebase-wiki-generator`)\n\nProvides an enterprise-grade, multi-dimensional methodology and automated tooling to generate, structure, validate, and **automatically synchronize** comprehensive codebase documentation and architecture wikis across **Single Repositories** or **Multi-Workspace Federated Ecosystems** (e.g. `smart-seller` + `laris.click` + shared modules).\n\n---\n\n## When to Use This Skill\n\n### 1. Creation & Initial Scaffolding\n- **Indonesian**: \"buat wiki codebase\", \"buat dokumentasi proyek\", \"scaffold wiki arsitektur\", \"bikin dokumentasi lengkap codebase\", \"generate wiki sistem\", \"buat multi workspace wiki\", \"federated wiki\".\n- **English**: \"create codebase wiki\", \"generate project documentation\", \"scaffold architecture wiki\", \"build comprehensive codebase docs\", \"multi workspace wiki\", \"federated wiki\".\n\n### 2. Automatic & Incremental Update on Changes\n- **Indonesian**: \"update wiki tiap ada perubahan\", \"sync wiki dengan codebase\", \"update dokumentasi API\", \"perbarui diagram ERD di wiki\", \"pantau perubahan dan update wiki otomatis\", \"sync multi workspace\".\n- **English**: \"update wiki on changes\", \"sync wiki with code\", \"update API documentation in wiki\", \"refresh ERD in wiki\", \"watch codebase and auto-sync wiki\", \"sync multi workspace\".\n\n### 3. Auditing & Link Validation\n- **Indonesian**: \"cek kesehatan link wiki\", \"validasi dokumentasi wiki\", \"audit kelengkapan wiki\".\n- **English**: \"validate wiki links\", \"audit wiki completeness\", \"check broken links in docs\".\n\n---\n\n## Multi-Workspace & Federated Wiki Architecture\n\nThe wiki suite natively supports declarative configuration via `docs\u002Fwiki\u002Fwiki-config.json`:\n\n```json\n{\n  \"wikiDir\": \"docs\u002Fwiki\",\n  \"title\": \"Smart Seller & laris.click Federated Technical Wiki\",\n  \"primaryWorkspace\": {\n    \"name\": \"smart-seller\",\n    \"displayName\": \"Smart Seller (Core Platform & Store Assistant)\",\n    \"path\": \".\",\n    \"routes\": [\"apps\u002Fapi\u002Fsrc\u002Froutes\", \"apps\u002Fapi\u002Fsrc\"],\n    \"schemas\": [\"packages\u002Fdb\u002Fsrc\u002Fmigrations\", \"packages\u002Fdb\u002Fsrc\"]\n  },\n  \"federatedWorkspaces\": [\n    {\n      \"name\": \"laris.click\",\n      \"displayName\": \"laris.click (Checkout, SSO & Subscriptions Gateway)\",\n      \"path\": \"D:\u002Fbackup from pc asus\u002FDocuments Development\u002Flaris.click\",\n      \"routes\": [\"backend\u002Fsrc\u002Froutes\", \"backend\u002Fsrc\"],\n      \"schemas\": [\"backend\u002Fsrc\u002Fdb\u002Fmigrations\", \"backend\u002Fsrc\u002Fdb\"]\n    }\n  ]\n}\n```\n\nWhen multi-workspace configuration is present:\n- **API Catalog (`extract-api-catalog.cjs`)**: Scans routes across all registered repositories and outputs grouped contract tables with clickable source links.\n- **Database ERD (`extract-db-erd.cjs`)**: Merges database schemas into unified Mermaid ERDs with cross-system foreign key mappings.\n- **Watcher Daemon (`watch-and-sync.cjs`)**: Concurrently listens to file modifications across all workspaces.\n- **Incremental Sync (`sync-wiki-on-change.cjs`)**: Calculates cross-workspace impact radiuses and synchronizes semantic Vector RAG chunks into `apps\u002Fapi\u002Fdata\u002Fwiki-rmemory-chunks.json`.\n\n---\n\n## Architecture & Wiki Taxonomy\n\nThe generated wiki lives in `docs\u002Fwiki\u002F` (or `.wiki\u002F`) with the following standardized structure:\n\n```text\ndocs\u002Fwiki\u002F\n├── 00-index.md                    # Master Table of Contents, Architecture Map & Tech Badges\n├── 01-architecture-overview.md    # C4 Context & Container, Monorepo Topology, Design Principles\n├── 02-domain-models-and-data.md   # Mermaid ERD, DB Schema Catalog, State Machines, Caching\n├── 03-api-and-contracts.md        # REST\u002FRPC Endpoints, Auth Specs, Payload Contracts, Webhooks\n├── 04-features-and-workflows.md   # Core Business Flows, Sequence Diagrams, Logic Rules\n├── 05-infrastructure-and-devops.md# Docker, CI\u002FCD, Environment Matrix, Logging & Monitoring\n├── 06-developer-onboarding.md     # Local Setup, Commands Cheat Sheet, Debugging, Testing Rules\n├── 07-adrs-and-decisions.md       # Architecture Decision Records (ADRs) in MADR format\n└── auto-sync-manifest.json        # Auto-generated hash & file-mapping manifest for incremental sync\n```\n\n---\n\n## 7-Phase Execution Workflow\n\n```\n┌────────────────────────────────────────────────────────┐\n│ Phase 1: Codebase Discovery & Stack Inspection         │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 2: Scaffold Generation & Template Initialization │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 3: C4 Architecture & Component Modeling (Mermaid)│\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 4: Domain Entities, ERD & Data Lifecycle Mapping │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 5: API Catalog & External Contract Extraction    │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 6: Business Workflows & Sequence Flow Modeling   │\n└───────────────────────────┬────────────────────────────┘\n                            │\n                            ▼\n┌────────────────────────────────────────────────────────┐\n│ Phase 7: DevOps, Onboarding, Verification & Auto-Sync  │\n└────────────────────────────────────────────────────────┘\n```\n\n---\n\n### Phase 1: Codebase Discovery & Stack Inspection\n\nBefore writing documentation, inspect the codebase using exploration tools (`grep_search`, `list_dir`, `view_file`) or run the discovery helper:\n\n1. **Monorepo & Package Discovery**:\n   - Inspect `package.json`, `pnpm-workspace.yaml`, `turbo.json`, or cargo\u002Fgo modules.\n   - List all apps (e.g. `apps\u002Fapi`, `apps\u002Ffrontend`) and shared packages (e.g. `packages\u002F*`, `@mod\u002F*`).\n2. **Database & Storage Discovery**:\n   - Identify ORM\u002FQuery layer (Prisma, Drizzle, Kysely, TypeORM, raw SQL migrations).\n   - Locate connection parameters, seeders, and migration history.\n3. **API & Interface Discovery**:\n   - Locate route entrypoints (e.g. `src\u002Froutes\u002F`, `app\u002Fapi\u002F`, tRPC routers, controllers).\n4. **Third-Party Integrations**:\n   - Payment gateways, AI Providers (OpenAI, Gemini, Anthropic), Auth providers, WhatsApp\u002FMeta APIs.\n\n---\n\n### Phase 2: Scaffold Generation\n\nRun the scaffold generator script to create the initial wiki structure pre-populated with discovered metadata:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fgenerate-wiki-scaffold.cjs\" --target \"docs\u002Fwiki\"\n```\n\nThe script automatically:\n- Creates all standardized `.md` files in `docs\u002Fwiki\u002F`.\n- Injects detected project names, repository descriptions, package lists, and runtime versions.\n- Generates `index.html` (Docsify Live Web Viewer with Mermaid support, search, and copy-code).\n- Generates `_sidebar.md` (interactive multi-workspace chapter navigation).\n- Injects `wiki:serve`, `wiki:sync`, and `wiki:watch` scripts into root `package.json`.\n- Initializes `auto-sync-manifest.json` for tracking future code changes.\n\n---\n\n### Phase 2.5: Interactive Web Viewer & Live Serving (`http:\u002F\u002Flocalhost:3333`)\n\nThe generated wiki can be viewed natively in any browser with full-text search, dark\u002Flight styling, and interactive Mermaid diagrams:\n\n```powershell\n# Serve interactive wiki locally on port 3333\nbun run wiki:serve\n```\n\n👉 **Live URL**: `http:\u002F\u002Flocalhost:3333`\n\n---\n\n### Phase 3: C4 Architecture & Component Modeling\n\nFill `01-architecture-overview.md` with high-level structural diagrams using Mermaid:\n\n#### 1. C4 Context Diagram (`graph TD` \u002F `graph TB`)\nIllustrate how external users, client applications, backend services, databases, and third-party APIs interact.\n\n```mermaid\ngraph TD\n    classDef actor fill:#dbeafe,stroke:#1d4ed8,stroke-width:2px;\n    classDef sys fill:#f0fdf4,stroke:#15803d,stroke-width:2px;\n    classDef ext fill:#fef3c7,stroke:#b45309,stroke-width:2px;\n    classDef db fill:#f3e8ff,stroke:#7e22ce,stroke-width:2px;\n\n    User[\"👤 Store Owner \u002F Admin\"]:::actor\n    Buyer[\"👥 End Customer\"]:::actor\n\n    subgraph Core Platform\n        FE[\"🖥️ Web Frontend (React\u002FVite)\"]:::sys\n        API[\"⚙️ Backend API (Hono\u002FNode.js)\"]:::sys\n        DB[(\"🗄️ PostgreSQL Database\")]:::db\n    end\n\n    subgraph External Integrations\n        AI[\"🤖 Multi-AI Providers (OpenAI\u002FGemini)\"]:::ext\n        PGW[\"💳 Payment Gateways\"]:::ext\n        WA[\"💬 WhatsApp \u002F Meta API\"]:::ext\n    end\n\n    User --> FE\n    FE --> API\n    API --> DB\n    API --> AI\n    API --> PGW\n    Buyer --> WA\n    WA --> API\n```\n\n---\n\n### Phase 4: Domain Entities, ERD & Data Lifecycle\n\nFill `02-domain-models-and-data.md` with:\n1. **Entity-Relationship Diagram (Mermaid `erDiagram`)**: Complete entity definitions with types, keys, and relational cardinality (`||--o{`, `}|--|{`).\n2. **Schema Inventory Table**: Table detailing each table, primary key, foreign keys, and business purpose.\n3. **State Machine \u002F Enum Lifecycles**: Diagram depicting order statuses, user verification states, or message dispatch states.\n\n```mermaid\nerDiagram\n    TENANTS ||--o{ USERS : \"has many\"\n    TENANTS ||--o{ ORDERS : \"owns\"\n    ORDERS ||--|{ ORDER_ITEMS : \"contains\"\n    USERS ||--o{ AUDIT_LOGS : \"triggers\"\n\n    TENANTS {\n        string id PK\n        string name\n        string plan_tier\n        timestamp created_at\n    }\n    USERS {\n        string id PK\n        string tenant_id FK\n        string email\n        string role\n    }\n    ORDERS {\n        string id PK\n        string tenant_id FK\n        numeric total_amount\n        string status\n    }\n```\n\n---\n\n### Phase 5: API Catalog & Contract Extraction\n\nExtract and document all endpoints into `03-api-and-contracts.md` using the automated route extractor:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fextract-api-catalog.cjs\" --routes-dir \"apps\u002Fapi\u002Fsrc\u002Froutes\" --output \"docs\u002Fwiki\u002F03-api-and-contracts.md\"\n```\n\nEach endpoint entry must document:\n- **HTTP Method & Path**: e.g., `POST \u002Fapi\u002Fv1\u002Forders`\n- **Auth Guard**: e.g., `Bearer Token (Role: TENANT_ADMIN)`\n- **Request Headers & Query Params**\n- **JSON Request Body Contract** (with TypeScript types \u002F Zod schema)\n- **Success & Error Response Payloads** (HTTP 200\u002F201 vs HTTP 400\u002F401\u002F404\u002F500)\n\n---\n\n### Phase 6: Business Workflows & Sequence Modeling\n\nIn `04-features-and-workflows.md`, document all primary business use cases using Mermaid `sequenceDiagram`:\n\n```mermaid\nsequenceDiagram\n    autonumber\n    actor User as Store Owner\n    participant UI as Frontend App\n    participant API as Hono API Server\n    participant DB as PostgreSQL\n    participant AI as AI Engine\n\n    User->>UI: Request AI Store Audit\n    UI->>API: POST \u002Fapi\u002Fassistant\u002Fchat\n    API->>DB: Fetch Tenant Context & Order Data\n    DB-->>API: Return Recent Metrics\n    API->>AI: Send Prompt + System Context\n    AI-->>API: Stream JSON Actions \u002F Recommendations\n    API->>DB: Persist Assistant Message & Tool Calls\n    API-->>UI: Stream Markdown Response\n    UI-->>User: Render Interactive Business Report\n```\n\n---\n\n### Phase 7: DevOps, Verification & Automatic Synchronization\n\n1. **DevOps & Onboarding**: Complete `05-infrastructure-and-devops.md` and `06-developer-onboarding.md` with environment variable matrices, docker compose instructions, and debug commands.\n2. **Validate Wiki Health**:\n   ```powershell\n   node \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fvalidate-wiki-links.cjs\" --wiki-dir \"docs\u002Fwiki\"\n   ```\n\n---\n\n## Automatic Update & Sync on Code Changes\n\nTo ensure the wiki is **never outdated**, the skill provides three automated sync mechanisms:\n\n### Method A: Incremental Syncer on Git Diff \u002F Changes\nWhenever files are added, modified, or deleted, run:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsync-wiki-on-change.cjs\" --wiki-dir \"docs\u002Fwiki\"\n```\n\nThe script performs **Smart Impact Mapping**:\n| Changed File Pattern | Impacted Wiki Document | Automated Action |\n|---|---|---|\n| `routes\u002F**`, `api\u002F**`, `controllers\u002F**` | `03-api-and-contracts.md` | Re-extracts API endpoints and updates the route catalog table |\n| `schema\u002F**`, `migrations\u002F**`, `entities\u002F**` | `02-domain-models-and-data.md` | Updates table inventory, timestamps, and marks schema diffs |\n| `package.json`, `pnpm-workspace.yaml`, `configs\u002F**` | `01-architecture-overview.md` | Refreshes dependency versions and monorepo package tree |\n| `docker-compose*`, `Dockerfile`, `.github\u002Fworkflows\u002F**` | `05-infrastructure-and-devops.md` | Syncs container service ports and CI\u002FCD triggers |\n| Any changed code feature file | `00-index.md` | Updates `Last Updated` timestamp and recent changes log |\n\n### Method B: Real-Time File Watcher Daemon\nWhen actively developing features, run the watcher in a background terminal:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fwatch-and-sync.cjs\" --wiki-dir \"docs\u002Fwiki\"\n```\nThe daemon watches the project directory, debounces rapid edits (500ms), and automatically triggers incremental synchronization.\n\n### Method C: Git Hook Integration (Pre-commit \u002F Post-commit)\nInstall the git hook automator:\n\n```powershell\nnode \".agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsetup-git-hooks.cjs\" --hook-type \"post-commit\"\n```\nEvery time a git commit is created, the hook runs `sync-wiki-on-change.cjs` in the background.\n\n---\n\n## AI Agent Integration & Autonomous Multi-Agent Capabilities\n\nThe codebase wiki generator suite integrates with AI Agents across three functional dimensions:\n\n### 1. Antigravity AI Pair-Programmer & Subagents\n- **Autonomous Architecture Syncer**: When performing complex refactoring, invoking the `codebase-wiki-generator` skill triggers automated C4 modeling, ADR recording, and route re-indexing.\n- **AI Semantic Diff Summarizer**: Analyzes git diffs and writes structured natural language architecture changelogs.\n- **RAG Knowledge Ingest**: Automatically splits wiki docs into semantic chunks and feeds them into `rMemory` (Vector Store).\n\n### 2. Store Owner Copilot Tools (`\u002Fassistant`)\nStore Copilot has native access to technical wiki documentation via:\n- **`queryWiki({ topic, query, document })`**: Allows the store owner or developers to ask questions about system architecture directly in the assistant chat interface.\n- **`manageWiki({ action: 'propose_adr' | 'update', title, content })`**: Allows the copilot to record architectural decisions and update workflows.\n\n### 3. CI\u002FCD Pre-Push Freshness Gate\n- **`validate-wiki-freshness.cjs`**: Enforces that critical route or database modifications cannot be committed without synchronized documentation.\n\n---\n\n## AI Agent Rules for Wiki Maintenance\n\nWhen pair programming or executing tasks:\n1. **Always Update Documentation on Refactoring**: If you create new API routes, modify database schemas, or add new features, you MUST update the corresponding wiki file (`02-domain-models-and-data.md`, `03-api-and-contracts.md`, or `04-features-and-workflows.md`).\n2. **Never Use Placeholder Text**: Do not leave `TODO: add details` in generated wiki files. Provide accurate, production-ready documentation based on real codebase files.\n3. **Use Markdown Links with Line Anchors**: When referencing files in the wiki, use GitHub-compatible markdown links: `[service.ts](file:\u002F\u002F\u002Fpath\u002Fto\u002Fservice.ts#L45-L80)`.\n4. **Keep Diagrams Semantically Structured**: Always style diagrams with distinct color classes (`classDef`) for actors, services, databases, and third-party integrations.\n\n---\n\n## Skill Toolkit Inventory\n\n- **Scripts**:\n  - [`generate-wiki-scaffold.cjs`](.\u002Fscripts\u002Fgenerate-wiki-scaffold.cjs)\n  - [`extract-api-catalog.cjs`](.\u002Fscripts\u002Fextract-api-catalog.cjs)\n  - [`extract-db-erd.cjs`](.\u002Fscripts\u002Fextract-db-erd.cjs)\n  - [`ai-sync-summarizer.cjs`](.\u002Fscripts\u002Fai-sync-summarizer.cjs)\n  - [`sync-wiki-to-rmemory.cjs`](.\u002Fscripts\u002Fsync-wiki-to-rmemory.cjs)\n  - [`sync-wiki-on-change.cjs`](.\u002Fscripts\u002Fsync-wiki-on-change.cjs)\n  - [`watch-and-sync.cjs`](.\u002Fscripts\u002Fwatch-and-sync.cjs)\n  - [`setup-git-hooks.cjs`](.\u002Fscripts\u002Fsetup-git-hooks.cjs)\n  - [`validate-wiki-freshness.cjs`](.\u002Fscripts\u002Fvalidate-wiki-freshness.cjs)\n  - [`validate-wiki-links.cjs`](.\u002Fscripts\u002Fvalidate-wiki-links.cjs)\n- **Templates**:\n  - [`00-index.template.md`](.\u002Ftemplates\u002F00-index.template.md)\n  - [`01-architecture-overview.template.md`](.\u002Ftemplates\u002F01-architecture-overview.template.md)\n  - [`02-domain-models-and-data.template.md`](.\u002Ftemplates\u002F02-domain-models-and-data.template.md)\n  - [`03-api-and-contracts.template.md`](.\u002Ftemplates\u002F03-api-and-contracts.template.md)\n  - [`04-features-and-workflows.template.md`](.\u002Ftemplates\u002F04-features-and-workflows.template.md)\n  - [`05-infrastructure-and-devops.template.md`](.\u002Ftemplates\u002F05-infrastructure-and-devops.template.md)\n  - [`06-developer-onboarding.template.md`](.\u002Ftemplates\u002F06-developer-onboarding.template.md)\n  - [`07-adrs-and-decisions.template.md`](.\u002Ftemplates\u002F07-adrs-and-decisions.template.md)\n- **References**:\n  - [`auto-sync-impact-rules.md`](.\u002Freferences\u002Fauto-sync-impact-rules.md)\n  - [`c4-diagram-guidelines.md`](.\u002Freferences\u002Fc4-diagram-guidelines.md)\n  - [`wiki-structure-standard.md`](.\u002Freferences\u002Fwiki-structure-standard.md)\n  - [`domain-driven-mapping.md`](.\u002Freferences\u002Fdomain-driven-mapping.md)\n- **Examples**:\n  - [`sample-wiki-structure.md`](.\u002Fexamples\u002Fsample-wiki-structure.md)\n",{"name":5,"description":7},"main","62c7af5ced2c21355d148c243edb6d5921cca1a6",".agents\u002Fskills\u002Fcodebase-wiki-generator",8,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent","https:\u002F\u002Fgithub.com\u002FRudyCity","2026-11-14 22:58:49",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add RudyCity\u002Fsuperagent --skill codebase-wiki-generator",{"tool":36,"command":37},"bunx","bunx skills add RudyCity\u002Fsuperagent --skill codebase-wiki-generator",{"tool":39,"command":40},"pnpm","pnpm dlx skills add RudyCity\u002Fsuperagent --skill codebase-wiki-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002FSKILL.md",true,[44,50,54,58,62,66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"examples\u002Fsample-wiki-structure.md","REFERENCE","参考文档",3560,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fexamples\u002Fsample-wiki-structure.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fauto-sync-impact-rules.md",2472,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Freferences\u002Fauto-sync-impact-rules.md",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fc4-diagram-guidelines.md",2006,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Freferences\u002Fc4-diagram-guidelines.md",{"path":59,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fdomain-driven-mapping.md",2632,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Freferences\u002Fdomain-driven-mapping.md",{"path":63,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fwiki-structure-standard.md",1860,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Freferences\u002Fwiki-structure-standard.md",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fai-sync-summarizer.cjs","SCRIPT","脚本",5172,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fai-sync-summarizer.cjs",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fextract-api-catalog.cjs",12283,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fextract-api-catalog.cjs",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fextract-db-erd.cjs",10686,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fextract-db-erd.cjs",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fgenerate-wiki-scaffold.cjs",12601,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fgenerate-wiki-scaffold.cjs",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fsetup-git-hooks.cjs",2627,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsetup-git-hooks.cjs",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fsync-wiki-on-change.cjs",15419,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsync-wiki-on-change.cjs",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Fsync-wiki-to-rmemory.cjs",3708,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fsync-wiki-to-rmemory.cjs",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fvalidate-wiki-freshness.cjs",2934,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fvalidate-wiki-freshness.cjs",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fvalidate-wiki-links.cjs",4687,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fvalidate-wiki-links.cjs",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fwatch-and-sync.cjs",10772,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Fscripts\u002Fwatch-and-sync.cjs",{"path":109,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":110,"sourceHtmlUrl":111},"templates\u002F00-index.template.md",2794,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F00-index.template.md",{"path":113,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":114,"sourceHtmlUrl":115},"templates\u002F01-architecture-overview.template.md",4550,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F01-architecture-overview.template.md",{"path":117,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":118,"sourceHtmlUrl":119},"templates\u002F02-domain-models-and-data.template.md",5265,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F02-domain-models-and-data.template.md",{"path":121,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":122,"sourceHtmlUrl":123},"templates\u002F03-api-and-contracts.template.md",4124,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F03-api-and-contracts.template.md",{"path":125,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":126,"sourceHtmlUrl":127},"templates\u002F04-features-and-workflows.template.md",4465,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F04-features-and-workflows.template.md",{"path":129,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":130,"sourceHtmlUrl":131},"templates\u002F05-infrastructure-and-devops.template.md",3146,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F05-infrastructure-and-devops.template.md",{"path":133,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":134,"sourceHtmlUrl":135},"templates\u002F06-developer-onboarding.template.md",2878,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F06-developer-onboarding.template.md",{"path":137,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":138,"sourceHtmlUrl":139},"templates\u002F07-adrs-and-decisions.template.md",2970,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-wiki-generator\u002Ftemplates\u002F07-adrs-and-decisions.template.md",[141,148,155,162,169,176],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":18},"01M75GP28CM6QCSXSHKFF3NNKS","telegram_bot","Use Telegram Bot when the user asks for Telegram Bot or this provider's API.","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002Fmuse-bridge-kit\u002Fskills\u002Ftelegram-bot\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":18},"01M75GNZGZYM7NWDV6MBP3HS14","superagent-bridge","Operate the Muse\u003C->superagent Telegram bridge: poll the private group for task_request\u002Ftask_result envelopes, validate senders, and reply with task_batch\u002Ftask_done as Muse (the remote brain).","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002Fmuse-bridge-kit\u002Fskills\u002Fsuperagent-bridge\u002FSKILL.md",[],[],{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":18},"01M75GNHN19HJWZ7NAPM5E5JCV","Writing Skills","TDD for process documentation - test with subagents before writing, iterate until bulletproof","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":18},"01M75GNCQEKVRA4FH161NZPZNB","writing-shape","Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":18},"01M75GNAF9NAYCSTBDZDGMK0DZ","Writing Plans","Create detailed implementation plans with bite-sized tasks for engineers with zero codebase context","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":18},"01M75GN72EV0V5NQAW9CSPFRFH","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[]]