Skip to main content

team-rules

Apply the team's shared coding rules before writing, modifying, or reviewing code. Trigger when the user asks to add a feature, refactor, fix a bug, write tests, or review a change. Reads rules live from the team-rules MCP workspace at /rules/*.md.

소스 정보

저장소
redis/agent-filesystem
최근 소스 활동
2026년 4월 23일 08:21
감지된 SKILL.md 언어
영어
스타
55
포크
10

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
team-rules
description
Apply the team's shared coding rules before writing, modifying, or reviewing code. Trigger when the user asks to add a feature, refactor, fix a bug, write tests, or review a change. Reads rules live from the team-rules MCP workspace at /rules/*.md.
# Team Coding Rules Your team keeps its canonical coding rules in a shared Agent Filesystem workspace exposed as the `team-rules` MCP server. The workspace is **read-only** — nobody's agent can write to it. It's the single source of truth for how this team writes code. ## Before writing or editing code 1. Call `mcp__team-rules__file_list` with `path: "/rules"` and `depth: 2`. 2. For the task at hand, read every rule file that plausibly applies. Examples: - auth/secrets/PII work → `/rules/security.md` - any new file or identifier → `/rules/style.md`, `/rules/naming.md` - adding tests → `/rules/testing.md` - cross-module or new module work → `/rules/architecture.md` 3. Cite applicable rules in your plan by path (e.g. "per `/rules/security.md`…"). 4. Apply the rules to the code you produce. ## Rules of engagement - The workspace is read-only. Do not attempt `file_write`, `file_replace`, `file_insert`, or `file_delete_lines` against `team-rules` — they will fail. - If a rule conflicts with what the user asked for, surface the conflict and ask before deciding. - If no rule applies, say so — don't invent or extrapolate. - Prefer reading the live rule over recalling it from memory. Rules change. ## Quick reference | Situation | Rule file to read | |-----------|------------------| | Any code edit | `/rules/style.md` | | New file / function / type | `/rules/naming.md` | | Auth, input handling, secrets, PII | `/rules/security.md` | | Adding or modifying tests | `/rules/testing.md` | | New module or cross-boundary work | `/rules/architecture.md` | | Commit messages, PR description | `/rules/git.md` |
GitHub에서 보기