add-new-agent
خطوات تفصيليّة لإضافة وكيل ذكاء اصطناعي جديد إلى منصّة Kalmeron من الفكرة إلى الإنتاج
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-05
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- add-new-agent
- description
- خطوات تفصيليّة لإضافة وكيل ذكاء اصطناعي جديد إلى منصّة Kalmeron من الفكرة إلى الإنتاج
02 资源文件 500
- 其他.agents/agent_assets_metadata.toml971 B
- 脚本.clusterfuzzlite/build.sh789 B
- 其他.clusterfuzzlite/Dockerfile1.7 KB
- 参考文档.clusterfuzzlite/project.yaml125 B
- 参考文档.cursor/rules/design.md4.7 KB
- 参考文档.cursor/rules/global-rules.md3.4 KB
- 参考文档.cursor/rules/product.md3.8 KB
- 参考文档.cursor/rules/security.md5.7 KB
- 参考文档.cursor/rules/structure.md5.9 KB
- 参考文档.cursor/rules/tech.md5.2 KB
- 其他.env.example6.2 KB
- 其他.firebaserc54 B
- 参考文档.github/.release-please-manifest.json19 B
- 其他.github/CODEOWNERS4.1 KB
- 参考文档.github/codeql-config.yml913 B
- 参考文档.github/dependabot.yml1.2 KB
- 参考文档.github/DISCUSSION_TEMPLATE/ideas.yml1.8 KB
- 参考文档.github/DISCUSSION_TEMPLATE/q_and_a.yml1.8 KB
- 参考文档.github/FUNDING.yml998 B
- 参考文档.github/ISSUE_TEMPLATE/ai_agent_request.yml3.6 KB
- 参考文档.github/ISSUE_TEMPLATE/bug_report.yml4.5 KB
- 参考文档.github/ISSUE_TEMPLATE/config.yml1.0 KB
- 参考文档.github/ISSUE_TEMPLATE/feature_request.yml3.6 KB
- 参考文档.github/labeler.yml1.5 KB
- 参考文档.github/labels.yml5.1 KB
- 参考文档.github/markdown-link-check.json639 B
- 参考文档.github/PULL_REQUEST_TEMPLATE.md3.6 KB
- 参考文档.github/release-please-config.json1.2 KB
- 参考文档.github/release.yml2.2 KB
- 参考文档.github/workflows/ai-code-review.yml1.1 KB
- 参考文档.github/workflows/cflite-batch.yml1.2 KB
- 参考文档.github/workflows/cflite-pr.yml1.2 KB
- 参考文档.github/workflows/ci.yml3.1 KB
- 参考文档.github/workflows/codeql.yml4.7 KB
- 参考文档.github/workflows/dependency-review.yml740 B
- 参考文档.github/workflows/eval.yml4.2 KB
- 参考文档.github/workflows/full-audit.yml3.8 KB
- 参考文档.github/workflows/gitleaks.yml730 B
- 参考文档.github/workflows/labeler.yml541 B
- 参考文档.github/workflows/labels.yml758 B
- 参考文档.github/workflows/lighthouse.yml2.1 KB
- 参考文档.github/workflows/lint.yml609 B
- 参考文档.github/workflows/lockfile-lint.yml964 B
- 参考文档.github/workflows/markdown-link-check.yml846 B
- 参考文档.github/workflows/osv-scanner.yml946 B
- 参考文档.github/workflows/playwright.yml2.9 KB
- 参考文档.github/workflows/release-please.yml2.5 KB
- 参考文档.github/workflows/sast-skill.yml19.8 KB
- 参考文档.github/workflows/scorecard.yml1.2 KB
- 参考文档.github/workflows/security.yml4.2 KB
- 参考文档.github/workflows/semgrep.yml1.8 KB
- 参考文档.github/workflows/sentry-release.yml2.8 KB
- 参考文档.github/workflows/skill-validation.yml7.7 KB
- 参考文档.github/workflows/stale.yml1.2 KB
- 参考文档.github/workflows/token-budget.yml3.9 KB
- 参考文档.github/workflows/trivy.yml1.1 KB
- 其他.gitignore1.7 KB
- 其他.gitleaks.toml2.8 KB
- 参考文档.lighthouserc.json822 B
- 其他.npmrc292 B
- 其他.replit4.6 KB
- 脚本.replit_integration_files/server/replit_integrations/batch/index.ts108 B
- 脚本.replit_integration_files/server/replit_integrations/batch/utils.ts4.4 KB
- 脚本.replit_integration_files/server/replit_integrations/chat/index.ts108 B
- 脚本.replit_integration_files/server/replit_integrations/chat/routes.ts4.3 KB
- 脚本.replit_integration_files/server/replit_integrations/chat/storage.ts1.7 KB
- 脚本.replit_integration_files/server/replit_integrations/image/client.ts1.2 KB
- 脚本.replit_integration_files/server/replit_integrations/image/index.ts95 B
- 脚本.replit_integration_files/server/replit_integrations/image/routes.ts1.2 KB
- 脚本.replit_integration_files/shared/models/chat.ts1.2 KB
- 其他.semgrepignore987 B
- 其他.trivyignore237 B
- 其他.windsurfrules3.7 KB
- 参考文档.wolf/anatomy.md6.4 KB
- 参考文档.wolf/buglog.json3.4 KB
- 参考文档.wolf/cerebrum.md4.7 KB
- 脚本.wolf/hooks/learn-from-error.sh1.9 KB
- 脚本.wolf/hooks/memory-persist.sh785 B
- 脚本.wolf/hooks/pre-commit.sh2.0 KB
- 脚本.wolf/hooks/scan-anatomy.sh1.9 KB
- 脚本.wolf/hooks/session-end.sh1.9 KB
- 脚本.wolf/hooks/session-start.sh4.2 KB
- 参考文档AGENTS.md18.7 KB
- 其他app/_page-client.tsx14.7 KB
- 其他app/(dashboard)/arabic-templates/page.tsx18.8 KB
- 其他app/(dashboard)/benchmarking/page.tsx10.9 KB
- 其他app/(dashboard)/brain/page.tsx9.6 KB
- 其他app/(dashboard)/brand-voice/page.tsx16.5 KB
- 其他app/(dashboard)/cap-table/page.tsx27.3 KB
- 其他app/(dashboard)/cash-runway/page.tsx12.5 KB
- 其他app/(dashboard)/chat/error.tsx1.4 KB
- 其他app/(dashboard)/chat/loading.tsx1.0 KB
- 其他app/(dashboard)/chat/page.tsx87.0 KB
- 其他app/(dashboard)/cofounder-health/page.tsx11.9 KB
- 其他app/(dashboard)/company-builder/[id]/page.tsx17.7 KB
- 其他app/(dashboard)/company-builder/page.tsx13.2 KB
- 其他app/(dashboard)/competitor-watch/page.tsx11.9 KB
- 其他app/(dashboard)/contract-review/page.tsx26.0 KB
- 其他app/(dashboard)/customer-discovery/page.tsx14.5 KB
- 其他app/(dashboard)/daily-brief/page.tsx14.7 KB
- 其他app/(dashboard)/dashboard/_components/WelcomeCard.tsx7.6 KB
- 其他app/(dashboard)/dashboard/loading.tsx1.7 KB
- 其他app/(dashboard)/dashboard/page.tsx44.0 KB
- 其他app/(dashboard)/decision-journal/page.tsx24.2 KB
- 其他app/(dashboard)/departments/[department]/not-found.tsx666 B
- 其他app/(dashboard)/departments/[department]/page.tsx19.8 KB
- 其他app/(dashboard)/departments/page.tsx9.5 KB
- 其他app/(dashboard)/egypt-calc/page.tsx34.3 KB
- 其他app/(dashboard)/email-ai/page.tsx11.7 KB
- 其他app/(dashboard)/error.tsx2.0 KB
- 其他app/(dashboard)/experts/error.tsx325 B
- 其他app/(dashboard)/experts/loading.tsx440 B
- 其他app/(dashboard)/experts/page.tsx13.5 KB
- 其他app/(dashboard)/financial-model/page.tsx16.8 KB
- 其他app/(dashboard)/founder-agreement/page.tsx19.2 KB
- 其他app/(dashboard)/growth-lab/page.tsx15.0 KB
- 其他app/(dashboard)/hr-ai/page.tsx17.7 KB
- 其他app/(dashboard)/hr/page.tsx22.0 KB
- 其他app/(dashboard)/ideas/analyze/page.tsx26.8 KB
- 其他app/(dashboard)/ideas/canvas/page.tsx13.1 KB
- 其他app/(dashboard)/ideas/loading.tsx478 B
- 其他app/(dashboard)/ideas/page.tsx115 B
- 其他app/(dashboard)/investor/demo-mode/page.tsx13.8 KB
- 其他app/(dashboard)/investor/guide/page.tsx7.8 KB
- 其他app/(dashboard)/investor/health/page.tsx10.3 KB
- 其他app/(dashboard)/investor/page.tsx16.8 KB
- 其他app/(dashboard)/lab/page.tsx12.7 KB
- 其他app/(dashboard)/launchpad/error.tsx325 B
- 其他app/(dashboard)/launchpad/loading.tsx440 B
- 其他app/(dashboard)/launchpad/page.tsx20.0 KB
- 其他app/(dashboard)/layout.tsx697 B
- 其他app/(dashboard)/learned-skills/page.tsx15.5 KB
- 其他app/(dashboard)/legal-ai/page.tsx15.2 KB
- 其他app/(dashboard)/loading.tsx981 B
- 其他app/(dashboard)/market-intelligence/page.tsx10.9 KB
- 其他app/(dashboard)/meetings/error.tsx325 B
- 其他app/(dashboard)/meetings/loading.tsx440 B
- 其他app/(dashboard)/meetings/page.tsx9.9 KB
- 其他app/(dashboard)/notifications/page.tsx9.2 KB
- 其他app/(dashboard)/okr/page.tsx15.9 KB
- 其他app/(dashboard)/opportunities/page.tsx15.0 KB
- 其他app/(dashboard)/org-chart/page.tsx1.3 KB
- 其他app/(dashboard)/pitch-practice/page.tsx10.7 KB
- 其他app/(dashboard)/plan/page.tsx21.4 KB
- 其他app/(dashboard)/profile/page.tsx14.8 KB
- 其他app/(dashboard)/real-estate/page.tsx10.4 KB
- 其他app/(dashboard)/roadmap/page.tsx5.2 KB
- 其他app/(dashboard)/sales-coach/page.tsx10.9 KB
- 其他app/(dashboard)/sales/page.tsx12.7 KB
- 其他app/(dashboard)/settings/api-keys/page.tsx15.9 KB
- 其他app/(dashboard)/settings/page.tsx19.5 KB
- 其他app/(dashboard)/settings/privacy/page.tsx2.8 KB
- 其他app/(dashboard)/settings/referrals/page.tsx7.2 KB
- 其他app/(dashboard)/settings/usage/page.tsx14.6 KB
- 其他app/(dashboard)/settings/webhooks/page.tsx16.1 KB
- 其他app/(dashboard)/setup-egypt/page.tsx16.7 KB
- 其他app/(dashboard)/skills/error.tsx325 B
- 其他app/(dashboard)/skills/loading.tsx440 B
- 其他app/(dashboard)/skills/page.tsx9.2 KB
- 其他app/(dashboard)/smart-pricing/page.tsx11.2 KB
- 其他app/(dashboard)/supply-chain/page.tsx13.4 KB
- 其他app/(dashboard)/system-health/page.tsx19.2 KB
- 其他app/(dashboard)/term-sheet-analyzer/page.tsx14.8 KB
- 其他app/(dashboard)/trending-tools/page.tsx16.4 KB
- 其他app/(dashboard)/usage/_usage-client.tsx9.7 KB
- 其他app/(dashboard)/usage/page.tsx482 B
- 其他app/(dashboard)/virtual-office/error.tsx325 B
- 其他app/(dashboard)/virtual-office/loading.tsx440 B
- 其他app/(dashboard)/virtual-office/page.tsx14.1 KB
- 其他app/(dashboard)/weekly-report/_weekly-client.tsx30.9 KB
- 其他app/(dashboard)/weekly-report/page.tsx481 B
- 其他app/(dashboard)/wellbeing/page.tsx16.6 KB
- 其他app/(dashboard)/whatsapp-agent/page.tsx23.1 KB
- 其他app/(dashboard)/workflows-runner/page.tsx9.4 KB
- 其他app/about/page.tsx9.8 KB
- 脚本app/actions/user.ts1.8 KB
- 其他app/admin/_page-client.tsx20.2 KB
- 其他app/admin/agent-builder/_page-client.tsx4.8 KB
- 其他app/admin/agent-builder/page.tsx359 B
- 其他app/admin/agents-health/_page-client.tsx4.9 KB
- 其他app/admin/agents-health/page.tsx372 B
- 其他app/admin/agents/_page-client.tsx4.5 KB
- 其他app/admin/agents/page.tsx403 B
- 其他app/admin/ai-logs/page.tsx7.4 KB
- 其他app/admin/audit/_page-client.tsx4.3 KB
- 其他app/admin/audit/page.tsx363 B
- 其他app/admin/compliance/_page-client.tsx2.5 KB
- 其他app/admin/compliance/page.tsx376 B
- 其他app/admin/costs/page.tsx7.6 KB
- 其他app/admin/funnel/_page-client.tsx6.4 KB
- 其他app/admin/funnel/page.tsx371 B
- 其他app/admin/mission-control/_page-client.tsx13.4 KB
- 其他app/admin/mission-control/page.tsx356 B
- 其他app/admin/models/_client.tsx6.1 KB
- 其他app/admin/models/page.tsx1.5 KB
- 其他app/admin/page.tsx384 B
- 其他app/admin/platform/_page-client.tsx3.2 KB
- 其他app/admin/platform/page.tsx354 B
- 其他app/admin/slo/page.tsx7.5 KB
- 其他app/agents/_page-client.tsx31.9 KB
- 其他app/agents/page.tsx624 B
- 其他app/ai-experts/[slug]/page.tsx6.9 KB
- 其他app/ai-experts/page.tsx2.7 KB
- 其他app/api-docs/page.tsx970 B
- 脚本app/api/account/api-keys/[id]/route.ts1.1 KB
- 脚本app/api/account/api-keys/route.ts1.3 KB
- 脚本app/api/account/audit/route.ts594 B
- 脚本app/api/account/delete/route.ts1018 B
- 脚本app/api/account/export/route.ts1.7 KB
- 脚本app/api/account/notifications/route.ts1.1 KB
- 脚本app/api/account/usage/route.ts584 B
- 脚本app/api/account/webhooks/[id]/route.ts1.1 KB
- 脚本app/api/account/webhooks/route.ts1.2 KB
- 脚本app/api/actions/inbox/route.ts3.0 KB
- 脚本app/api/actions/request/route.ts1.8 KB
- 脚本app/api/admin/audit/route.ts743 B
- 脚本app/api/admin/drift/route.ts2.2 KB
- 脚本app/api/admin/events/route.ts433 B
- 脚本app/api/admin/funnel/route.ts4.7 KB
- 脚本app/api/admin/governance/route.ts1.1 KB
- 脚本app/api/admin/llm-audit/route.ts1.3 KB
- 脚本app/api/admin/mission-control/route.ts801 B
- 脚本app/api/admin/mission-control/stream/route.ts3.0 KB
- 脚本app/api/admin/platform/route.ts1.4 KB
- 脚本app/api/admin/ttfv-summary/route.ts1.1 KB
- 脚本app/api/admin/users/route.ts2.0 KB
- 脚本app/api/analytics/vitals/route.ts914 B
- 脚本app/api/arabic-templates/route.ts7.0 KB
- 脚本app/api/auth/logout/route.ts1.5 KB
- 脚本app/api/auth/mark-signup/route.ts1.2 KB
- 脚本app/api/auth/passkey/authenticate/route.ts625 B
- 脚本app/api/auth/passkey/register/route.ts623 B
- 脚本app/api/benchmarking/route.ts5.9 KB
- 脚本app/api/billing/checkout/route.ts4.5 KB
- 脚本app/api/billing/fawry/checkout/route.ts4.8 KB
- 脚本app/api/billing/fawry/webhook/route.ts5.2 KB
- 脚本app/api/billing/portal/route.ts1.9 KB
- 脚本app/api/billing/status/route.ts1.1 KB
- 脚本app/api/billing/transactions/route.ts1.8 KB
- 脚本app/api/billing/usage/events/route.ts1.5 KB
- 脚本app/api/billing/usage/summary/route.ts2.2 KB
- 脚本app/api/brand-book/route.ts11.8 KB
- 脚本app/api/brand-voice/route.ts4.0 KB
- 脚本app/api/cap-table/route.ts3.7 KB
- 脚本app/api/cap-table/save/route.ts2.9 KB
- 脚本app/api/chat/feedback/route.ts2.1 KB
- 脚本app/api/chat/route.ts16.0 KB
- 脚本app/api/chat/stream/route.ts2.4 KB
- 脚本app/api/cofounder-health/route.ts3.6 KB
- 脚本app/api/company/[id]/route.ts3.8 KB
- 脚本app/api/company/[id]/tasks/route.ts3.7 KB
- 脚本app/api/company/route.ts3.8 KB
- 脚本app/api/competitor-watch/route.ts6.6 KB
- 脚本app/api/consent/grant/route.ts1.3 KB
- 脚本app/api/consent/list/route.ts433 B
- 脚本app/api/consent/withdraw/route.ts1.2 KB
- 脚本app/api/contract-review/route.ts1.9 KB
- 脚本app/api/council/route.ts3.1 KB
- 脚本app/api/council/stream/route.ts6.9 KB
- 脚本app/api/cron/aggregate-costs/route.ts1.3 KB
- 脚本app/api/cron/consolidate-skills/route.ts2.4 KB
- 脚本app/api/cron/firestore-backup/route.ts4.0 KB
- 脚本app/api/cron/health-probe/route.ts2.2 KB
- 脚本app/api/cron/opportunity-alerts/route.ts4.9 KB
- 脚本app/api/cron/reset-credits/route.ts2.3 KB
- 脚本app/api/cron/restore-drill/route.ts4.1 KB
- 脚本app/api/cron/runway-alerts/route.ts8.5 KB
- 脚本app/api/cron/weekly-okr/route.ts1.9 KB
- 脚本app/api/cron/weekly-planning/route.ts1.5 KB
- 脚本app/api/cron/weekly-review/route.ts1.5 KB
- 脚本app/api/customer-discovery/persona-pdf/route.ts10.1 KB
- 脚本app/api/customer-discovery/route.ts2.4 KB
- 脚本app/api/daily-brief/preferences/route.ts3.0 KB
- 脚本app/api/daily-brief/route.ts11.0 KB
- 脚本app/api/daily-brief/send/route.ts3.5 KB
- 脚本app/api/dashboard/health-score/route.ts8.0 KB
- 其他app/api/dashboard/loading.tsx669 B
- 脚本app/api/dashboard/quick-action-click/route.ts3.2 KB
- 脚本app/api/dashboard/route.ts10.1 KB
- 脚本app/api/decision-ai/route.ts5.1 KB
- 脚本app/api/decisions/route.ts3.6 KB
- 脚本app/api/delegate/route.ts9.2 KB
- 脚本app/api/delegate/stream/route.ts5.1 KB
- 脚本app/api/edge/route.ts985 B
- 脚本app/api/egypt-calc/route.ts3.8 KB
- 脚本app/api/email-ai/route.ts6.7 KB
- 其他app/api/error.tsx1.6 KB
- 脚本app/api/experts/route.ts1.5 KB
- 脚本app/api/extract-pdf/route.ts3.4 KB
- 脚本app/api/financial-model/route.ts6.9 KB
- 脚本app/api/first-100/route.ts3.8 KB
- 脚本app/api/first-100/seats/route.ts1.6 KB
- 脚本app/api/growth-lab/route.ts8.6 KB
- 脚本app/api/health/route.ts9.0 KB
- 脚本app/api/health/workers/route.ts872 B
- 脚本app/api/hr-ai/route.ts9.4 KB
- 脚本app/api/hr/route.ts3.6 KB
- 脚本app/api/ideas/analyze/route.ts2.9 KB
- 脚本app/api/investor-deck/route.ts5.2 KB
- 脚本app/api/investor/demo-mode/route.ts859 B
- 脚本app/api/investor/health/route.ts2.8 KB
- 脚本app/api/investor/metrics/route.ts894 B
- 脚本app/api/investor/route.ts6.0 KB
- 脚本app/api/investor/seed/route.ts9.2 KB
- 脚本app/api/launchpad/route.ts903 B
- 脚本app/api/learned-skills/route.ts5.3 KB
- 脚本app/api/legal-ai/route.ts7.3 KB
- 脚本app/api/market-intelligence/route.ts7.4 KB
- 脚本app/api/market-lab/route.ts5.7 KB
- 脚本app/api/meetings/route.ts1.2 KB
- 脚本app/api/newsletter/route.ts1.9 KB
- 脚本app/api/notifications/daily-brief/route.ts7.7 KB
- 脚本app/api/notifications/send/route.ts4.0 KB
- 脚本app/api/notifications/subscribe/route.ts2.2 KB
- 其他app/api/og/route.tsx5.2 KB
- 脚本app/api/okr/generate/route.ts3.3 KB
- 脚本app/api/okr/route.ts1.5 KB
- 脚本app/api/operations/feed/route.ts3.6 KB
- 脚本app/api/operations/route.ts2.1 KB
- 脚本app/api/opportunities/route.ts5.0 KB
- 脚本app/api/orchestrator/receptionist/route.ts3.4 KB
- 脚本app/api/orchestrator/route.ts3.7 KB
- 脚本app/api/org-chart/route.ts1.9 KB
- 脚本app/api/pitch-practice/route.ts4.0 KB
- 脚本app/api/plan/route.ts4.3 KB
- 脚本app/api/rag/documents/route.ts1.5 KB
- 脚本app/api/rag/ingest/route.ts5.4 KB
- 脚本app/api/rag/search/route.ts2.8 KB
- 脚本app/api/real-estate/route.ts3.9 KB
- 脚本app/api/recipes/instances/route.ts1.7 KB
- 脚本app/api/recipes/list/route.ts745 B
- 脚本app/api/recipes/run/route.ts1.5 KB
- 脚本app/api/referrals/route.ts1.9 KB
- 脚本app/api/runway/check/route.ts3.9 KB
- 脚本app/api/sales-coach/route.ts7.3 KB
- 脚本app/api/sales/route.ts3.5 KB
- 脚本app/api/setup-egypt/route.ts2.3 KB
- 脚本app/api/skills/route.ts1.1 KB
- 脚本app/api/smart-pricing/route.ts4.5 KB
- 脚本app/api/social-proof/route.ts2.7 KB
- 脚本app/api/status/route.ts2.5 KB
- 脚本app/api/supervisor/route.ts2.7 KB
- 脚本app/api/supply-chain/route.ts3.3 KB
- 脚本app/api/support/live/route.ts3.3 KB
- 脚本app/api/team-os/route.ts1.7 KB
- 脚本app/api/term-sheet-analyzer/route.ts3.8 KB
- 脚本app/api/usage/daily/route.ts3.0 KB
- 脚本app/api/usage/route.ts2.9 KB
- 脚本app/api/usage/transactions/route.ts2.2 KB
- 脚本app/api/user/avatar/route.ts1.1 KB
- 脚本app/api/user/credits/route.ts3.9 KB
- 脚本app/api/user/delete-request/route.ts1.6 KB
- 脚本app/api/user/delete/route.ts2.7 KB
- 脚本app/api/user/notification-prefs/route.ts1.1 KB
- 脚本app/api/user/plan/route.ts5.3 KB
- 脚本app/api/user/update/route.ts1.2 KB
- 脚本app/api/virtual-office/route.ts2.0 KB
- 脚本app/api/webhooks/stripe/route.ts7.1 KB
- 脚本app/api/webhooks/telegram/route.ts2.4 KB
- 脚本app/api/webhooks/whatsapp/route.ts4.3 KB
- 脚本app/api/weekly-report/export-pdf/route.ts13.4 KB
- 脚本app/api/weekly-report/route.ts10.6 KB
- 脚本app/api/wellbeing/route.ts1.9 KB
- 脚本app/api/whatsapp/conversations/route.ts1.4 KB
- 脚本app/api/whatsapp/register-phone/route.ts3.4 KB
- 脚本app/api/whatsapp/webhook/route.ts9.3 KB
- 脚本app/api/workflows/list/route.ts742 B
- 脚本app/api/workflows/run/route.ts3.4 KB
- 脚本app/api/workspaces/route.ts3.4 KB
- 资产文件app/apple-icon.svg711 B
- 其他app/auth/layout.tsx428 B
- 其他app/auth/login/_page-client.tsx8.0 KB
- 其他app/auth/login/page.tsx471 B
- 其他app/auth/signup/_page-client.tsx6.9 KB
- 其他app/auth/signup/page.tsx446 B
- 其他app/billing/portal/page.tsx2.5 KB
- 其他app/blog/[slug]/page.tsx6.6 KB
- 其他app/blog/page.tsx2.5 KB
- 其他app/cfo/_page-client.tsx15.1 KB
- 其他app/cfo/page.tsx565 B
- 其他app/changelog/loading.tsx113 B
- 其他app/changelog/page.tsx3.6 KB
- 其他app/cities/[city]/page.tsx6.9 KB
- 其他app/cities/page.tsx1.6 KB
- 其他app/compare/_page-client.tsx19.2 KB
- 其他app/compare/[slug]/page.tsx5.7 KB
- 其他app/compare/page.tsx836 B
- 其他app/compliance/page.tsx2.3 KB
- 其他app/contact/page.tsx5.5 KB
- 其他app/crews/finance/page.tsx8.4 KB
- 其他app/crews/page.tsx5.7 KB
- 其他app/demo/page.tsx3.8 KB
- 脚本app/demo/scenarios.ts14.3 KB
- 其他app/docs/page.tsx5.4 KB
- 其他app/en/page.tsx7.7 KB
- 其他app/error.tsx1.5 KB
- 脚本app/firebase-messaging-sw.js/route.ts2.2 KB
- 其他app/first-100/_page-client.tsx10.2 KB
- 其他app/first-100/page.tsx503 B
- 其他app/founder-mode/page.tsx4.9 KB
- 其他app/founder-network/page.tsx4.5 KB
- 其他app/free-tools/cash-runway/_client.tsx10.9 KB
- 其他app/free-tools/cash-runway/page.tsx920 B
- 其他app/global-error.tsx2.0 KB
- 其他app/globals.css46.1 KB
- 其他app/glossary/[term]/page.tsx4.4 KB
- 其他app/glossary/page.tsx2.4 KB
- 资产文件app/icon.svg702 B
- 其他app/inbox/_page-client.tsx6.7 KB
- 其他app/inbox/page.tsx524 B
- 其他app/industries/[slug]/page.tsx5.6 KB
- 其他app/industries/page.tsx2.2 KB
- 其他app/investor-deck/page.tsx10.5 KB
- 其他app/investors/page.tsx11.4 KB
- 其他app/layout.tsx12.5 KB
- 其他app/legal-templates/_page-client.tsx11.5 KB
- 其他app/legal-templates/page.tsx596 B
- 脚本app/llms.txt/route.ts3.2 KB
- 其他app/loading.tsx1.7 KB
- 其他app/market-lab/_page-client.tsx16.5 KB
- 其他app/market-lab/page.tsx566 B
- 其他app/market-lab/results/[experimentId]/_page-client.tsx4.9 KB
- 其他app/market-lab/results/[experimentId]/page.tsx295 B
- 其他app/market-pulse/page.tsx4.5 KB
- 其他app/marketplace/_page-client.tsx7.5 KB
- 其他app/marketplace/page.tsx543 B
- 其他app/mcp-server/page.tsx4.1 KB
- 其他app/mistake-shield/_page-client.tsx18.2 KB
- 其他app/mistake-shield/layout.tsx426 B
- 其他app/mistake-shield/page.tsx548 B
- 其他app/not-found.tsx3.8 KB
- 其他app/offline/page.tsx2.2 KB
- 其他app/onboarding/_page-client.tsx2.1 KB
- 其他app/onboarding/page.tsx500 B
- 其他app/operations/_page-client.tsx18.1 KB
- 其他app/operations/page.tsx566 B
- 其他app/page.tsx405 B
- 其他app/pricing/_page-client.tsx8.4 KB
- 其他app/pricing/page.tsx848 B
- 其他app/privacy/page.tsx7.2 KB
- 其他app/quality/page.tsx8.0 KB
- 参考文档app/README.md1.3 KB
- 其他app/recipes/_recipes-client.tsx13.0 KB
- 其他app/recipes/page.tsx585 B
- 脚本app/robots.ts1.0 KB
- 其他app/roi/_page-client.tsx15.5 KB
- 其他app/roi/page.tsx569 B
- 脚本app/sitemap.ts6.1 KB
- 其他app/start/_start-client.tsx11.0 KB
- 其他app/start/page.tsx595 B
- 其他app/status/_live-workers.tsx5.4 KB
- 其他app/status/page.tsx4.9 KB
- 其他app/success-museum/_page-client.tsx23.8 KB
- 其他app/success-museum/layout.tsx423 B
- 其他app/success-museum/page.tsx463 B
- 其他app/templates/[slug]/page.tsx6.8 KB
- 其他app/templates/page.tsx3.6 KB
- 其他app/terms/loading.tsx109 B
- 其他app/terms/page.tsx15.3 KB
- 其他app/trust/page.tsx6.9 KB
- 其他app/use-cases/[slug]/page.tsx7.2 KB
- 其他app/use-cases/page.tsx3.2 KB
- 其他app/value-proposition/_page-client.tsx11.6 KB
- 其他app/value-proposition/page.tsx563 B
- 其他app/vs/chatgpt/page.tsx5.6 KB
- 其他app/why-arabic/page.tsx5.3 KB
- 其他app/workflows/page.tsx6.4 KB
- 其他artifacts/mockup-sandbox/.replit-artifact/artifact.toml389 B
- 参考文档artifacts/mockup-sandbox/components.json426 B
- 参考文档artifacts/mockup-sandbox/index.html4.1 KB
- 脚本artifacts/mockup-sandbox/mockupPreviewPlugin.ts5.9 KB
- 参考文档artifacts/mockup-sandbox/package-lock.json138.3 KB
- 参考文档artifacts/mockup-sandbox/package.json2.6 KB
- 资产文件artifacts/mockup-sandbox/public/favicon.svg163 B
- 脚本artifacts/mockup-sandbox/src/.generated/mockup-components.ts1.2 KB
- 其他artifacts/mockup-sandbox/src/App.tsx3.9 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/brand/BrandSystem.tsx10.8 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/brand/ColorTokens.tsx8.5 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/brand/Dashboard.tsx26.4 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/brand/HeroRefined.tsx10.2 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/brand/LogoShowcase.tsx12.4 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/brand/TypeSystem.tsx8.4 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/kalmeron-hero/MinimalPremium.tsx8.1 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/kalmeron-hero/OperatingSystem.tsx14.6 KB
- 其他artifacts/mockup-sandbox/src/components/mockups/kalmeron-hero/Storytelling.tsx13.2 KB
- 其他artifacts/mockup-sandbox/src/components/ui/accordion.tsx2.0 KB
- 其他artifacts/mockup-sandbox/src/components/ui/alert-dialog.tsx4.3 KB
- 其他artifacts/mockup-sandbox/src/components/ui/alert.tsx1.6 KB
- 其他artifacts/mockup-sandbox/src/components/ui/aspect-ratio.tsx140 B
- 其他artifacts/mockup-sandbox/src/components/ui/avatar.tsx1.4 KB
- 其他artifacts/mockup-sandbox/src/components/ui/badge.tsx1.5 KB
- 其他artifacts/mockup-sandbox/src/components/ui/breadcrumb.tsx2.6 KB
- 其他artifacts/mockup-sandbox/src/components/ui/button-group.tsx2.2 KB
- 参考文档CHANGELOG.md16.5 KB
- 参考文档CLAUDE.md5.1 KB
- 参考文档CODE_OF_CONDUCT.md4.3 KB
- 参考文档CONTRIBUTING.md5.4 KB
- 许可证LICENSE11.0 KB
- 参考文档README.md15.1 KB
- 参考文档SECURITY.md5.3 KB
03 SKILL.md 正文
Skill: إضافة وكيل جديد إلى Kalmeron
متى تستخدم هذه المهارة؟ حين تطلب إضافة قسم/دور جديد (مثلاً «وكيل المخزون»، «وكيل الشحن»، «وكيل الأمان السيبراني»).
متى لا تستخدمها؟ لتعديل سلوك وكيل قائم — هذا تغيير في
prompt.tsفقط، ليس وكيلاً جديداً.
المرحلة 1 — التخطيط (قبل أيّ كود)
1.1 صنّف الوكيل
أجب على هذه الأسئلة وضعها في System Card:
- الاسم: بالعربية + الإنجليزية (kebab-case للملفّ).
- القسم: Strategy / Finance / Legal / Marketing / Sales / HR / Operations / Product / Investor / Customer / Vertical.
- المهمّة الأساسيّة: جملة واحدة.
- الـ EU AI Act risk class: Minimal / Limited / High / Unacceptable.
- High = تعطي توصيات قانونيّة/طبّيّة/توظيف. يحتاج DPIA في
docs/dpia/. - Limited = استشاري بدون أثر مباشر.
- Minimal = ترفيهي/معلوماتي.
- High = تعطي توصيات قانونيّة/طبّيّة/توظيف. يحتاج DPIA في
1.2 حدّد الأدوات (Tools)
ارجع إلى src/ai/safety/plan-guard.ts لقائمة الأدوات المتاحة. لكل أداة حدّد:
- اسمها (مثلاً
rag.search,web.fetch,firestore.create). - مستوى المخاطر (
low/medium/high/critical). - هل تحتاج موافقة بشريّة؟
1.3 حدّد البيانات
- ما البيانات اللي يقرأها؟ (RAG corpus، collections في Firestore، web).
- ما البيانات اللي يكتبها؟
- مدّة الاحتفاظ.
- هل تحوي PII؟
المرحلة 2 — السكافولد
2.1 أنشئ مجلّد الوكيل
AGENT_KEBAB="my-new-agent"
AGENT_PASCAL="MyNewAgent"
mkdir -p src/ai/agents/$AGENT_KEBAB
touch src/ai/agents/$AGENT_KEBAB/{prompt.ts,agent.ts,tools.ts}
2.2 املأ prompt.ts (طبّق هيكل SCOPE)
انظر docs/PROMPT_QUALITY.md لتفاصيل SCOPE.
// src/ai/agents/my-new-agent/prompt.ts
export const MY_NEW_AGENT_SYSTEM_PROMPT = `أنت [الدور] في منصّة كلميرون.
[S — Situation]
السياق: تخدم مؤسّسي شركات ناشئة عربية في مرحلة Pre-seed → Seed.
الجمهور: مستخدم واحد، عربي، يكتب بالعامّيّة المصريّة.
[C — Constraints]
- تردّ بالعربيّة الفصحى المبسّطة دائماً.
- تستخدم أرقاماً واقعيّة من السوق المصري.
- لا تعطي وعوداً بـ "النجاح المضمون".
- إذا كان السؤال خارج تخصّصك، حوّله للوكيل المناسب.
[O — Outcome]
المخرج المثالي: [اوصف الشكل النهائي للرد — قائمة، تقرير، JSON، إلخ].
[P — Patterns]
استخدم هذه القوالب:
- لو السؤال "كيف...": ابدأ بـ "في 3 خطوات: ..."
- لو السؤال "ما...": ابدأ بتعريف ثمّ مثال.
[E — Exceptions]
- لو السؤال يحوي بيانات شخصيّة لشخص ثالث: ارفض بأدب.
- لو السؤال يطلب تنفيذ شيء يستلزم موافقة بشريّة: قل ذلك صراحةً.
أنهِ كلّ رد بـ:
"هذه إجابة مولّدة آلياً وقد تحتوي على أخطاء — تحقّق من الأرقام مع متخصّص قبل اتّخاذ قرار."`;
2.3 املأ agent.ts
انسخ من src/ai/agents/cfo-agent/agent.ts كقالب — يحوي pattern الـ learned-skills addon.
// src/ai/agents/my-new-agent/agent.ts
import { generateText } from 'ai';
import { MODELS } from '@/src/ai/models';
import { sanitizeContext } from '@/src/ai/safety/sanitize-context';
import { applyLearnedSkills } from '@/src/ai/agents/_shared/learned-skills';
import { MY_NEW_AGENT_SYSTEM_PROMPT } from './prompt';
import { tools } from './tools';
export async function runMyNewAgent(input: { userId: string; workspaceId?: string; question: string; context?: string }) {
const safeContext = input.context ? sanitizeContext(input.context) : '';
const learnedAddon = await applyLearnedSkills('my-new-agent', input.workspaceId);
const systemPrompt = learnedAddon
? `${MY_NEW_AGENT_SYSTEM_PROMPT}\n\n${learnedAddon}`
: MY_NEW_AGENT_SYSTEM_PROMPT;
return generateText({
model: MODELS.FLASH,
system: systemPrompt,
prompt: safeContext
? `[CONTEXT]\n${safeContext}\n\n[QUESTION]\n${input.question}`
: input.question,
tools,
});
}
2.4 املأ tools.ts
كل أداة لازم لها risk level — يفرضه plan-guard.
// src/ai/agents/my-new-agent/tools.ts
import { z } from 'zod';
import { tool } from 'ai';
import { requireHumanApproval } from '@/src/ai/safety/agent-governance';
export const tools = {
searchKnowledgeBase: tool({
description: 'يبحث في قاعدة المعرفة عن مستندات ذات صلة',
inputSchema: z.object({ query: z.string().min(3).max(500) }),
execute: async ({ query }) => {
// risk: 'low' — read-only RAG
// ... استدعاء embeddings-worker
return { results: [] };
},
}),
scheduleMeeting: tool({
description: 'يحجز اجتماعاً في تقويم المستخدم',
inputSchema: z.object({ when: z.string(), with: z.string().email() }),
execute: async (input, ctx) => {
// risk: 'high' — يكتب في تقويم خارجي
await requireHumanApproval({
userId: ctx.userId,
action: 'schedule_meeting',
payload: input,
});
// ... استدعاء Calendar API
return { ok: true };
},
}),
};
المرحلة 3 — System Card
أنشئ docs/agents/my-new-agent.md بناءً على docs/agents/_TEMPLATE.md. إجباري قبل الـ merge.
ثمّ أضف الوكيل إلى الـ index في docs/agents/README.md.
المرحلة 4 — التكامل في الواجهة
4.1 سجّل الوكيل في الراوتر
// src/ai/agents/_router.ts (أو ما يقابله)
import { runMyNewAgent } from './my-new-agent/agent';
export const AGENT_REGISTRY = {
// ...
'my-new-agent': runMyNewAgent,
};
4.2 أضف صفحة (لو الوكيل له واجهة مخصّصة)
mkdir -p app/\(dashboard\)/my-new-agent
touch app/\(dashboard\)/my-new-agent/page.tsx
4.3 أضف الترجمات
// messages/ar.json
"my-new-agent": {
"title": "عنوان الوكيل",
"description": "وصف قصير",
"cta": "ابدأ الحوار"
}
المرحلة 5 — التقييم (Evals)
5.1 أضف 50 سؤال إلى test/eval/golden-dataset.json تحت قسم my-new-agent.
5.2 شغّل npm run eval وتأكّد من:
recall@3 ≥ 0.75LLM-judge score ≥ 0.80
5.3 أضف اختبار unit لكل tool في test/unit/agents/my-new-agent.test.ts.
المرحلة 6 — الأمان والحوكمة
Checklist إلزاميّة قبل الـ merge:
- [ ] System prompt ثابت — لا يدمج user input مباشرةً.
- [ ] كل user input يمرّ بـ
sanitizeContext()قبل LLM. - [ ] كل tool له
risklevel. - [ ] Tools
high|criticalتستدعيrequireHumanApproval(). - [ ] System Card في
docs/agents/. - [ ] لو risk class =
High→ DPIA فيdocs/dpia/. - [ ] Disclosures في الرد ("هذه إجابة مولّدة...").
- [ ] Citations عند استخدام RAG.
- [ ] Output يمرّ بـ
xss()لو سيُعرض كـ HTML. - [ ] Rate limit في الـ API endpoint اللي يستدعي الوكيل.
المرحلة 7 — التحقّق النهائي
npm run typecheck # 0 errors
npm run lint # 0 errors
npm run test # كل الاختبارات تمرّ
npm run eval # ≥ thresholds
npm run test:rules # لو غيّرت rules
ثمّ حدّث replit.md بقسم Recent Major Updates يصف الوكيل الجديد.
أنماط مشهورة (Templates)
- وكيل استشاري بسيط: انسخ
cfo-agent(read-heavy, كتابة قليلة). - وكيل tools-heavy: انسخ
opportunity-radar(web fetch + scoring). - وكيل Vertical: انسخ
real-estate(RAG على corpus متخصّص). - وكيل routing: انسخ
general-chat(يحوّل للوكلاء الآخرين).
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
vitest
Set up Vitest testing in any project — detects project type (Cloudflare Workers, React, Node), generates vitest.config.ts, test setup, utilities, and sample tests. Also covers mocking patterns, coverage config, workspace setup, and Jest migration. Trigger with 'set up vitest', 'add tests', 'configure vitest', 'migrate from jest', 'vitest config', 'add unit tests', or 'testing setup'.
verification-loops
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs. Requires running verification commands and confirming output before making any success claims. Evidence before assertions always.
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always