一键导入
project-context
Auto-detect project type, language, framework and generate .roo/project-context.md for context-aware agent behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auto-detect project type, language, framework and generate .roo/project-context.md for context-aware agent behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Verify WCAG 2.1 AA compliance by analyzing HTML structure, ARIA usage, contrast, keyboard patterns, and semantic markup. Runs before completion in FE Designer mode.
Guide the design of beautiful, accessible, systematic UI components. Auto-triggers when creating or restyling components in FE Designer mode.
Audit design system consistency — check tokens, spacing, colors, typography usage across the codebase. Triggers when modifying shared styles or on user request.
Self-critique visual output before completion. Evaluates visual hierarchy, CTA clarity, cognitive load, spacing consistency, and layout priority. MUST run before attempt_completion in FE Designer mode.
MANDATORY: Run validation tools after EVERY code change. Do not finish until code is error-free.
Auto-enforce coding standards after every code change in Code mode. Checks file size, nesting, naming, error handling, and anti-patterns.
基于 SOC 职业分类
| name | project-context |
| description | Auto-detect project type, language, framework and generate .roo/project-context.md for context-aware agent behavior. |
| risk | safe |
| source | self |
| tags | ["project","context","detection"] |
.roo/project-context.md not found)package.json → Node.js/JS/TS | pyproject.toml / requirements.txt → Pythongo.mod → Go | Cargo.toml → Rust | pom.xml / build.gradle → Java/Kotlincomposer.json → PHP.roo/project-context.md# Project Context (auto-generated by project-context skill)
> Last updated: {date}
## Stack
- **Language**: {language} {version}
- **Framework**: {framework} {version}
- **Package Manager**: {pm}
- **Test Framework**: {test}
- **Linter/Formatter**: {linter} / {formatter}
## Architecture
- **Pattern**: {monolith|monorepo|microservices}
- **Key Directories**: {list}
## Conventions (user-editable)
- Coding style: {detected or "see .eslintrc / pyproject.toml"}
- Commit format: {detected or "conventional commits"}
- Branch strategy: {detected or "git flow / trunk-based"}
Tell user: "Project context saved to .roo/project-context.md. Review and edit the Conventions section."
.roo/project-context.md if user has edited it — ask first