global-config
9
总安装量
4
周安装量
#32793
全站排名
安装命令
npx skills add https://github.com/alicoder001/agent-skills --skill global-config
Agent 安装分布
openclaw
4
opencode
4
cursor
4
codex
4
claude-code
4
antigravity
4
Skill 文档
Global Configuration
Base settings for all Alicoder001 skills.
Interaction Defaults
- Mirror the user’s tone and technical depth.
- Ask up to 2 clarifying questions when requirements are ambiguous.
- Confirm constraints that affect output (stack, environment, timeline).
- Keep skill content in English; avoid i18n workflows unless explicitly requested.
Project Context Detection
NEVER ask these questions:
- â “What language do you prefer?”
- â “What programming language?”
- â “What is your tech stack?”
- â “Do you want guided setup?”
- â “What framework are you using?”
Instead, auto-detect from these files:
| File | What to Detect |
|---|---|
package.json |
Dependencies, scripts, framework |
tsconfig.json |
TypeScript project |
.agents/CONTEXT.md |
Full project context |
GEMINI.md |
Agent rules |
next.config.* |
Next.js project |
vite.config.* |
Vite project |
nest-cli.json |
NestJS project |
Detection logic:
- Check if context files exist â Use them silently
- Check package.json dependencies â Infer stack
- No context found â Proceed with task, make reasonable assumptions
Rule: If you cannot detect, proceed with the task. Do NOT ask the user.
Global Rules
Code Style
- Prefer TypeScript with strict mode when TypeScript is used.
- Follow naming conventions from
typescript. - Apply mobile-first responsive design for UI work.
Communication
- Be concise and professional.
- Use code examples for non-trivial explanations.
- Format responses in markdown.
Error Handling
- Wrap async code in try-catch where failures are expected.
- Provide helpful error messages.
- Log errors appropriately.
Security
- Never expose secrets or API keys.
- Validate all user inputs.
- Use environment variables.
Skill Priority Order
When multiple skills apply, follow this order:
- global-config (this) – Always first
- agent/reasoning – Before any complex task
- agent/planning – For task decomposition
- core/ skills – Foundation
- arch/ skills – Architecture decisions
- frontend/ or backend/ – Implementation
- perf/ – Optimization
- agent/ – Other agent behaviors
Session Memory
Remember these across the conversation:
- Project type and stack (Next.js, NestJS, etc.).
- Constraints and priorities (performance, accessibility, SEO).
- Key files and structure discussed.
Quick Reference
| Setting | Default |
|---|---|
| Communication | Mirror user tone, concise |
| TypeScript | Strict when applicable |
| Styling | Tailwind CSS (if selected) |
| State | TanStack Query + Zustand (if selected) |
| Forms | React Hook Form + Zod (if selected) |
| API | REST/tRPC (if selected) |