返回顶部
f

file-placement

Enforces ZERO TOLERANCE file placement rules for documentation and scripts. Use when (1) Creating any .md file, (2) Creating any .sh script, (3) Organizing documentation, (4) Writing guides or reports, (5) Adding utility scripts. CRITICAL RULES - NEVER create .md files in root directories (except README.md, CLAUDE.md), NEVER create .sh scripts in backend (except start.sh), ALL documentation goes in docs/ subfolders, ALL scripts go in scripts/ folder.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
74
下载量
0
收藏
概述
安装方式
版本历史

file-placement

# File Placement Rules ## 🚨 ZERO TOLERANCE FILE PLACEMENT 🚨 ### STRICT RULES * ❌ **FORBIDDEN:** Creating .md files in `/Users/tobymorning/Desktop/core/` (except README.md, CLAUDE.md) * ❌ **FORBIDDEN:** Creating .md files in `/Users/tobymorning/Desktop/core/src/backend/` (except README.md) * ❌ **FORBIDDEN:** Creating .md files in `/Users/tobymorning/Desktop/core/AINative-website/` (except README.md, CLAUDE.md) * ❌ **FORBIDDEN:** Creating scripts (.sh) in `/Users/tobymorning/Desktop/core/src/backend/` (except start.sh) ### REQUIRED LOCATIONS ## Backend Documentation → `/Users/tobymorning/Desktop/core/docs/` * **Issues/Bugs:** `docs/issues/ISSUE_*.md`, `docs/issues/BUG_*.md`, `docs/issues/ROOT_CAUSE_*.md` * **Testing/QA:** `docs/testing/*_TEST*.md`, `docs/testing/QA_*.md` * **Agent Swarm:** `docs/agent-swarm/AGENT_SWARM_*.md`, `docs/agent-swarm/WORKFLOW_*.md`, `docs/agent-swarm/STAGE_*.md` * **API Documentation:** `docs/api/API_*.md`, `docs/api/*_ENDPOINTS*.md` * **Implementation Reports:** `docs/reports/*_IMPLEMENTATION*.md`, `docs/reports/*_SUMMARY.md` * **Deployment:** `docs/deployment/DEPLOYMENT_*.md`, `docs/deployment/RAILWAY_*.md` * **Quick References:** `docs/quick-reference/*_QUICK_*.md`, `docs/quick-reference/*_REFERENCE.md`, `docs/quick-reference/STEPS_*.md` * **Backend Features:** `docs/backend/RLHF_*.md`, `docs/backend/MEMORY_*.md`, `docs/backend/SECURITY_*.md` * **Development Guides:** `docs/development-guides/CODING_*.md`, `docs/development-guides/*_GUIDE.md`, `docs/guides/*_INSTRUCTIONS.md` * **Planning:** `docs/planning/PRD_*.md`, `docs/planning/BACKLOG*.md` ## Frontend Documentation → `/Users/tobymorning/Desktop/core/AINative-website/docs/` * **Frontend Features:** `AINative-website/docs/features/` * **Frontend Testing:** `AINative-website/docs/testing/` * **Frontend Implementation:** `AINative-website/docs/implementation/` * **Frontend Issues:** `AINative-website/docs/issues/` * **Frontend Deployment:** `AINative-website/docs/deployment/` * **Frontend Reports:** `AINative-website/docs/reports/` ## Scripts → `/Users/tobymorning/Desktop/core/scripts/` * **ALL test scripts:** `scripts/test_*.sh` * **ALL migration scripts:** `scripts/*_migration.sh` * **ALL monitoring scripts:** `scripts/monitor_*.sh` * **ALL utility scripts:** `scripts/*.sh` ## ENFORCEMENT WORKFLOW Before creating ANY .md file or .sh script, you MUST: 1. ✅ Check if you're creating it in a root directory 2. ✅ If yes, STOP and use the appropriate docs/ or scripts/ subfolder 3. ✅ Choose the correct category based on filename patterns above 4. ✅ Create in the correct location FIRST TIME, not in root then move later ## VIOLATION CONSEQUENCES Creating documentation in root directories causes: * Project clutter and disorganization * Wasted time reorganizing files * Inconsistent documentation structure * Developer frustration * Loss of findability for important docs **THIS IS A ZERO-TOLERANCE RULE. ALWAYS use docs/ or scripts/ subfolders.** ## Reference Files See `references/directory-mapping.md` for complete mapping table of filename patterns to required directory locations.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 file-placement-1776058022 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 file-placement-1776058022 技能

通过命令行安装

skillhub install file-placement-1776058022

下载 Zip 包

⬇ 下载 file-placement v1.0.0

文件大小: 4.08 KB | 发布时间: 2026-4-14 09:58

v1.0.0 最新 2026-4-14 09:58
- Initial release of the file-placement skill.
- Enforces zero tolerance file placement rules for documentation (.md) and scripts (.sh).
- Strictly prohibits .md files in root directories (except README.md, CLAUDE.md) and .sh scripts in backend (except start.sh).
- Mandates all documentation be placed in organized docs/ subfolders, and all scripts in scripts/ folder, with detailed breakdowns by type.
- Includes an enforcement workflow and explains consequences for violations.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部