global-config
Original:🇺🇸 English
Translated
Global defaults and interaction rules for all Alicoder001 skills. Use when starting any task to set communication style, project assumptions, and skill priority.
6installs
Sourcealicoder001/agent-skills
Added on
NPX Install
npx skill4agent add alicoder001/agent-skills global-configTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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).
- Default conversation to the user's language.
- Keep reusable skill artifacts (, scripts, references) in English unless explicitly requested otherwise.
SKILL.md
Project Context Detection
NEVER ask these questions:
- "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 |
|---|---|
| Dependencies, scripts, framework |
| TypeScript project |
| Full project context |
| Agent rules |
| Next.js project |
| Vite project |
| NestJS project |
Detection logic:
- Check if context files exist and use them silently.
- Check dependencies and infer stack.
package.json - If no context found, proceed with reasonable defaults for immediate task execution.
- If context is missing and the task clearly needs project-level setup, trigger recovery flow with one short confirmation.
project-init
Routing boundary (important):
- sets defaults and routing only.
global-config - If setup/context recovery intent is detected, delegate to instead of handling setup questions here.
project-init
Rule: If you cannot detect, proceed with the task. Do not block.
Language Policy
- Do not ask a generic language preference question in normal task flow.
- Exception: setup-style onboarding (for example ) must ask one language confirmation at the start when the first user message is non-English.
project-init - For Uzbek first messages in setup/recovery, use:
O'zbekcha davom etamizmi? - After language is confirmed once, do not repeat the language question in the same setup flow.
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.
Local Skill Capture
- Support both explicit save triggers: and
@save-skill.skillga saqla - Treat these triggers as a request to persist project-specific guidance as a local skill.
- Ask one short confirmation before writing: .
Save this as a local skill? (yes/no) - Save using the standard local path: .
.agents/skills/local/<skill-name>/SKILL.md - If a matching local skill already exists, update/merge it instead of creating duplicates.
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:
- project-init - First only for setup/context recovery intent
- global-config - Baseline defaults and routing guardrails
- 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 and language, 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) |