nx-import 是做什麼的?
使用 nx import 將倉庫匯入、合併或整合到 Nx 工作區。當使用者要求跨倉庫採用 Nx、將專案移入單一儲存庫,或從其他倉庫引入程式碼/歷史記錄時使用。
使用 nx import 將倉庫匯入、合併或整合到 Nx 工作區。當使用者要求跨倉庫採用 Nx、將專案移入單一儲存庫,或從其他倉庫引入程式碼/歷史記錄時使用。
此技能提供了一個基於 Nx 的強大功能,允許開發者將多個獨立的 Git 倉庫匯入、合併或整合到一個統一的 Nx 工作區中。其主要用途是協助團隊從多倉庫架構遷移到單一儲存庫 (monorepo) 管理,同時保留所有原始倉庫的 Git 歷史記錄。這對於希望在大型專案或組織層級統一建置工具、共享程式碼、並優化 CI/CD 流程的開發者與平台工程師特別有幫助。支援平台包括任何可執行 Nx CLI 的環境(例如終端機),並且依賴於 nx import 命令。技能的核心運作方式是透過在目標 Nx 工作區中執行 `nx import` 命令,將指定的外部倉庫拉入工作區,並自動處理檔案路徑與相依性的配置,確保所有歷史提交都能被保留。
npx skills add https://github.com/nrwl/nx-ai-agents-config/tree/main/skills/nx-importInstalled? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
使用 nx import 將倉庫匯入、合併或整合到 Nx 工作區。當使用者要求跨倉庫採用 Nx、將專案移入單一儲存庫,或從其他倉庫引入程式碼/歷史記錄時使用。
This repo contains 6 individual skills — each has its own dedicated page.
Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking.
Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, glab, etc.) for CI monitoring — it integrates with Nx Cloud self-healing which those tools cannot access.
Generate code using nx generators. INVOKE IMMEDIATELY when user mentions scaffolding, setup, structure, creating apps/libs, or setting up project structure. Trigger words - scaffold, setup, create a new app, create a new lib, project structure, generate, add a new project. ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles discovery internally.
Find and add Nx plugins. USE WHEN user wants to discover available plugins, install a new plugin, or add support for a specific framework or technology to the workspace.
Helps with running tasks in an Nx workspace. USE WHEN the user wants to execute build, test, lint, serve, or run any other tasks defined in the workspace.
Explore and understand Nx workspaces. USE WHEN answering questions about the workspace, projects, or tasks. ALSO USE WHEN an nx command fails or you need to check available targets/configuration before running a task. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What depends on library Y?', 'What targets can I run?', 'Cannot find configuration for task', 'debug nx task failure'.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.