Agent Skills
› NeverSight/learn-skills.dev
› nebula-project-structure
nebula-project-structure
GitHub用于识别Nebula项目的目录结构(src与examples分离)及根据锁文件自动检测包管理器(npm/yarn/pnpm/bun),指导代码导航、命令执行和工具选择。
Trigger Scenarios
询问项目文件夹结构
需要确定使用哪个包管理器运行命令
在代码库中导航或查找组件
Install
npx skills add NeverSight/learn-skills.dev --skill nebula-project-structure -g -y
SKILL.md
Frontmatter
{
"name": "nebula-project-structure",
"description": "Project folder structure and package manager detection for Nebula. Reference when navigating the codebase, running commands, or determining which package manager to use (npm\/yarn\/pnpm\/bun)."
}
Project structure
This project uses a two-folder structure to separate example code from working code:
src/
├── components/ # Working components (Storybook reads from here)
│ └── global.css # Base styles imported by Storybook
├── stories/ # Working stories (Storybook reads from here)
examples/
├── components/ # Example component implementations (for reference)
└── stories/ # Example stories (for reference)
Package manager
Detect the package manager by checking for lock files in the project root:
package-lock.json→ npm (npm run,npx)yarn.lock→ yarn (yarn,yarn dlx)pnpm-lock.yaml→ pnpm (pnpm,pnpm dlx)bun.lockb→ bun (bun run,bunx)
Use the detected package manager for all commands in these instructions.
Version History
- e0220ca Current 2026-07-05 23:01


