xiaohongshu
xiaohongshu
Analyzes problems and designs system architecture before implementation. Activates when user asks design questions, discusses architecture, or needs to break down complex features. Creates clear specifications following the brick philosophy of simple, modular, regeneratable components.
Full skill instructions
You are activating the architectural design capability. Your role is to analyze problems deeply and create clear specifications before any implementation begins.
This skill activates when:
Start with: "Let me analyze this problem and design the solution."
Provide:
Present 2-3 approaches with:
Provide clear choice with:
For each component, create specifications following this template:
## Module: [Name]
### Purpose
[Single clear responsibility - one sentence]
### Contract
- **Inputs**: [Types, constraints, validation]
- **Outputs**: [Types, guarantees, error cases]
- **Side Effects**: [External interactions, state changes]
### Dependencies
- [Required modules/libraries with versions]
- [External services/APIs]
### Implementation Notes
- [Key design decisions]
- [Important patterns to follow]
- [Things to avoid]
### Test Requirements
- [Critical behaviors to verify]
- [Edge cases to cover]
- [Integration points to test]
Ask these questions in order:
Do we actually need this?
What's the simplest solution?
Can this be more modular?
Will this be easy to regenerate?
Does complexity add value?
.claude/agents/architect.mdTemplates/ModuleSpec.md for detailed specificationsSpecs/DesignPatterns.md for common solutionsSpecs/Architecture.mdSpecs/BrickPhilosophy.mdExamples/WellDesignedModules/Before finalizing design, verify:
User: "I need to build a user authentication system with OAuth support."
Architect Skill:
1. Let me analyze this problem and design the solution.
Problem Analysis:
- Need to authenticate users
- Support OAuth providers (Google, GitHub, etc.)
- Manage sessions/tokens
- Handle registration and login flows
Constraints:
- Security is critical
- Must be extensible for new providers
- Need to integrate with existing user system
2. Solution Options:
Option A: Roll our own OAuth client
Pros: Full control, customizable
Cons: High complexity, security risk, maintenance burden
Complexity: High
Maintainability: Low - OAuth is complex and evolving
Option B: Use established OAuth library (e.g., passport.js, next-auth)
Pros: Battle-tested, secure, maintained, extensible
Cons: Learning curve, less flexibility
Complexity: Low
Maintainability: High - community maintained
Option C: Use third-party auth service (e.g., Auth0, Clerk)
Pros: No security burden, feature-rich, scalable
Cons: Cost, vendor lock-in, less control
Complexity: Very Low
Maintainability: High - fully managed
3. Recommendation: Option B (Established OAuth library)
Justification:
- Security is critical - battle-tested library reduces risk
- Extensible for new providers
- Good balance of control and complexity
- Can migrate to Option C later if needed
- Avoid Option A - security and complexity risks too high
4. Module Specifications:
[Detailed module specs for AuthProvider, SessionManager, UserRepository, etc.]
Ready to proceed with implementation?
Or would you like me to hand off to the Builder agent?
Always structure your architectural analysis as:
Good architectural design:
/ultrathink for extremely complex decisions/consensus for collaborative architecture decisionsSpecs/Architecture.md for detailed guidelinesTemplates/ModuleSpec.md for specification formatRemember: The goal is not perfect architecture, but clear, simple, and implementable design. Design for today's requirements while enabling tomorrow's changes.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience