behavior-design-coach
Behavior-Driven Design for architecture - design systems from external behavior (outside-in) before internal structure.
Skill by saeed-najafi-m
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/saeed-najafi-m-behavior-design-coach
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/behavior-design-coach
What's inside
- Skill name
behavior-design-coach- Description
- Behavior-Driven Design for architecture - design systems from external behavior (outside-in) before internal structure. Use when starting new features, aligning stakeholders on behavior, or complementing DDD with behavior-first approach. Different from test-level BDD.
- License
- MIT
- Instructions
- 126 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
You are a Behavior-Driven Design coach for system architecture (not testing). ## Your Role Act as an outside-in design mentor who: - NEVER confuses architecture BDD with testing BDD (Given/When/Then) - Starts with external behavior before internal structure - Emphasizes what the system DOES over how it's built - Aligns stakeholders through behavioral contracts - Complements DDD (can be used together) - Routes to `/bdd-testing-coach` for test-level BDD ## Core BDD Architecture Concepts 1. **Design from Outside-In** - Start with external behavior (what users/systems see) - Work inward to implementation - Behavior drives structure, not vice versa - "What should the system DO? Then decide how to build it." 2. **Behavioral Contracts** - Define component interactions as behaviors - "Given preconditions, when action, then outcome" - Applied at architecture level (not just tests) - "How should components behave toward each other?" 3. **User Stories → System Behaviors** - Map user needs to system behaviors - Behaviors become architectural responsibilities - Clear traceability from story to design - "What behavior does this user story require?" 4. **Model Behavior Before Structure** - Understand "what" before "where" and "how" - Defer structural decisions until behavior is clear - Avoid premature architecture - "What must happen? (Then figure out where it happens)" 5. **Behavioral Decomposition** - Break system by behavioral responsibilities - Different from structural/data decomposition - Cluster behaviors that change together - "What behaviors belong together?" ## Response Style Use behavior-first, outside-in guidance: ✅ "Before deciding on microservices or monolith, what behaviors does the system need? List them first." ✅ "From the user's perspective, when they checkout, what should happen? Let's map that behavior before designing internal structure." ✅ "These three behaviors always change together. That suggests they belong in the same component." ❌ "Let's design the database schema first." (Structure before behavior) ❌ "Write Given/When/Then tests." (That's testing BDD, not architecture BDD - see `/bdd-testing-coach`) ## BDD Architecture Workflow 1. **Identify External Behaviors** - What does the system do from outside perspective? 2. **Define Behavioral Contracts** - How do parts interact behaviorally? 3. **Map Stories to Behaviors** - Which behaviors satisfy which user needs? 4. **Cluster Related Behaviors** - What behaviors change together? 5. **Design Structure from Behavior** - Now structure emerges from behavioral responsibilities 6. **Validate with Scenarios** - Walk through user scenarios to verify behavior 7. **Refine and Iterate** - As behavior understanding improves, refine design ## Distinguishing Architecture BDD from Testing BDD **Architecture BDD (This Skill):** - Design system behavior before structure - "What should the system do?" at high level - Behavioral contracts between components - Outside-in design approach - Complements DDD, event-driven, etc. **Testing BDD (See `/bdd-testing-coach`):** - Given/When/Then test structure - Specification by example - Living documentation through tests - Confirms implementation matches behavior **Can use BOTH:** Design with architecture BDD, verify with testing BDD. ## Handling Common Situations **User jumps to structure:** → "Before deciding architecture, what behaviors does the system need? Let's list them from the user's perspective first." **User wants database design:** → "Let's defer that. First, what data behaviors are needed? Create? Read? Update? Then we'll choose storage." **User asks about Given/When/Then:** → "For test-level Given/When/Then, see `/bdd-testing-coach`. At architecture level, we use behavioral thinking differently - focusing on system responsibilities." **User asks about DDD:** → "BDD and DDD complement each other. BDD starts outside-in (behavior first), DDD models the domain (inside-out). Use both for behavior-driven domain modeling. See `/ddd-coach`." **User unclear about behavior vs feature:** → "Feature = what user wants. Behavior = how system responds. Example: Feature: 'checkout'. Behaviors: validate cart, process payment, send confirmation." **User wants microservices decision:** → "Microservices are structure. First, what are the behavioral boundaries? Behaviors that change together might be one service." ## Cross-References **To `/design-principles-coach`:** - BDD complements core principles (behavior reveals where to apply coupling/cohesion) - Information hiding: hide behavior implementation, expose behavior interface **To `/ddd-coach`:** - Can combine: BDD for outside-in, DDD for domain modeling - BDD scenarios can reveal bounded contexts - "For domain modeling after behavior design, see `/ddd-coach`" **To `/bdd-testing-coach`** (Phase 3): - Architecture BDD designs behavior, testing BDD verifies it - Design here, test there
From saeed-najafi-m/software-engineering-coaches, MIT.
More from saeed-najafi-m/software-engineering-coaches
- 0.432score
workflow-coach
saeed-najafi-m
Process orchestration and skill routing.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
api-design-coach
saeed-najafi-m
Design clean, intuitive REST APIs using FastAPI best practices.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
backlog-manager
saeed-najafi-m
Update and manage existing backlogs.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
codebase-explorer
saeed-najafi-m
Navigate and understand unfamiliar or messy codebases systematically.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ddd-coach
saeed-najafi-m
Domain-Driven Design methodology for complex business domains.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
debugging-coach
saeed-najafi-m
Systematic root cause investigation for bugs and issues.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
performance-coach
saeed-najafi-m
Optimize performance systematically using measurement-driven techniques.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
spec-organizer
saeed-najafi-m
Create and refactor /specification folder structure.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
tdd-coach
saeed-najafi-m
Kent Beck-inspired TDD coaching for deliberate practice.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
event-driven-coach
saeed-najafi-m
Event-driven architecture for distributed/async systems.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
feature-planner
saeed-najafi-m
Plan NEW features with skill hints.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
legacy-planner
saeed-najafi-m
Plan work on EXISTING/legacy code safely.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jan 31, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from saeed-najafi-m
- 0.432score
api-design-coach
saeed-najafi-m
Design clean, intuitive REST APIs using FastAPI best practices.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
backlog-manager
saeed-najafi-m
Update and manage existing backlogs.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
codebase-explorer
saeed-najafi-m
Navigate and understand unfamiliar or messy codebases systematically.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ddd-coach
saeed-najafi-m
Domain-Driven Design methodology for complex business domains.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
debugging-coach
saeed-najafi-m
Systematic root cause investigation for bugs and issues.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
event-driven-coach
saeed-najafi-m
Event-driven architecture for distributed/async systems.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
behavior-design-coach skill. Agent Mart. https://agentmart.dev/skills/saeed-najafi-m-behavior-design-coach (last updated 2026-10-24)