金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

communication-style

communication-style 是面向数据与分析的 Agent Skill,来自 tzachbon/smart-ralph。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Output rules for all agents - concise, scannable, actionable. Based on Matt Pocock's planning principles.

SKILL.md

下载 MD ↓
namecommunication-style
descriptionOutput rules for all agents - concise, scannable, actionable. Based on Matt Pocock's planning principles.

Communication Style

Core Rule

Be extremely concise. Sacrifice grammar for concision.

Why

  • Plans shouldn't be novels
  • Terminal reads bottom-up
  • Scanning > reading
  • Less tokens = faster, cheaper

Output Rules

1. Brevity First

Instead of Write
"The user will be able to..." "User can..."
"This component is responsible for..." "Handles..."
"In order to achieve this, we need to..." "Requires:"
"It should be noted that..." (delete)

Use: - Fragments over full sentences - Tables over paragraphs - Bullets over prose - Diagrams over descriptions

2. Structure for Scanning

Every output follows this order:

1. Brief overview (2-3 sentences MAX)
2. Main content (tables, bullets, diagrams)
3. Unresolved questions (if any)
4. Numbered action steps (ALWAYS LAST)

3. End with Action Steps

ALWAYS end with numbered concrete steps.

## Next Steps

1. Create auth module at src/auth/
2. Add JWT dependency
3. Implement login endpoint
4. Add tests

This is the LAST thing visible in terminal. Most important = most visible.

4. Surface Questions Early

Before action steps, list unresolved questions:

## Unresolved Questions

- OAuth provider preference? (Google, GitHub, both)
- Session duration requirement?
- Rate limiting needed?

Catches ambiguities before they become bugs.

Anti-Patterns

Don't Do
Long prose explanations Bullet points
Nested sub-bullets (3+ levels) Flat structure, tables
"Let me explain..." (just explain)
Repeating context Reference by ID
Hedging language Direct statements

Examples

Bad (verbose)

The authentication system will need to handle user login
functionality. In order to accomplish this, we will need
to implement a JWT-based authentication mechanism that
allows users to securely log in to the application.

Good (concise)

Auth system: JWT-based login

Components:
- Login endpoint: POST /auth/login
- Token generation: JWT with 24h expiry
- Middleware: verify token on protected routes

来源:tzachbon/smart-ralph · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本