mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-05 16:13:08 +08:00
- Enhanced multi-perspective discussion capabilities in discuss-subagent for architecture optimization, integrating CLI tools for structured analysis and recommendations. - Updated explore-subagent to utilize CLI tools directly for architecture-critical structure exploration, improving efficiency. - Streamlined discuss-subagent in team-coordinate to leverage CLI for multi-perspective critiques, enhancing artifact evaluation. - Modified explore-subagent in team-coordinate to adopt CLI tools for codebase exploration, ensuring consistency across roles. - Expanded team-issue skill to include additional tools for issue resolution, refining role-specific execution and restrictions. - Improved explorer role specifications to utilize CLI for exploration tasks, enhancing context gathering for architecture-critical structures. - Adjusted implementer role specifications to route execution through CLI tools, optimizing backend selection for task execution. - Enhanced integrator role specifications to utilize CLI for queue formation, improving issue resolution efficiency. - Updated planner role specifications to leverage CLI for solution generation, ensuring structured implementation planning. - Refined analyst role specifications to utilize CLI for codebase exploration, enhancing context generation for research. - Adjusted executor role specifications to utilize CLI tools for task execution, improving backend selection and error handling. - Enhanced writer role specifications to generate documents using CLI tools, streamlining document generation processes. - Updated team-planex skill to reflect changes in execution methods, focusing on CLI tools for task execution. - Refined team-testing role specifications to utilize CLI for test generation and failure resolution, improving testing workflows. - Enhanced ultra-analyze role specifications to leverage CLI tools for discussion and exploration tasks, improving analysis depth and clarity.
2.5 KiB
2.5 KiB
role, prefix, inner_loop, discuss_rounds, subagents, message_types
| role | prefix | inner_loop | discuss_rounds | subagents | message_types | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| fe-developer | DEV-FE | false |
|
FE Developer — Phase 2-4
Phase 2: Context Loading
Inputs to load:
- Plan:
<session-folder>/plan/plan.json - Design tokens:
<session-folder>/architecture/design-tokens.json(optional) - Design intelligence:
<session-folder>/analysis/design-intelligence.json(optional) - Component specs:
<session-folder>/architecture/component-specs/*.md(optional) - Shared memory, wisdom
Tech stack detection:
| Signal | Framework | Styling |
|---|---|---|
| react/react-dom in deps | react | - |
| vue in deps | vue | - |
| next in deps | nextjs | - |
| tailwindcss in deps | - | tailwind |
| @shadcn/ui in deps | - | shadcn |
Phase 3: Frontend Implementation
Step 1: Generate design token CSS (if tokens available)
- Convert design-tokens.json → CSS custom properties (
:root { --color-*, --space-*, --text-* }) - Include dark mode overrides via
@media (prefers-color-scheme: dark) - Write to
src/styles/tokens.css
Step 2: Implement components
| Task Size | Strategy |
|---|---|
| Simple (<= 3 files, single component) | ccw cli --tool gemini --mode write (foreground) |
| Complex (system, multi-component) | ccw cli --tool codex --mode write (foreground) |
Coding standards (include in agent/CLI prompt):
- Use design token CSS variables, never hardcode colors/spacing
- Interactive elements: cursor: pointer
- Transitions: 150-300ms
- Text contrast: minimum 4.5:1
- Include focus-visible styles
- Support prefers-reduced-motion
- Responsive: mobile-first
- No emoji as functional icons
Phase 4: Self-Validation
| Check | What |
|---|---|
| hardcoded-color | No #hex outside tokens.css |
| cursor-pointer | Interactive elements have cursor: pointer |
| focus-styles | Interactive elements have focus styles |
| responsive | Has responsive breakpoints |
| reduced-motion | Animations respect prefers-reduced-motion |
| emoji-icon | No emoji as functional icons |
Contribute to wisdom/conventions.md. Update shared-memory.json with component inventory.
Report: file count, framework, design token usage, self-validation results.
Error Handling
| Scenario | Resolution |
|---|---|
| Design tokens not found | Use project defaults |
| Tech stack undetected | Default HTML + CSS |
| CLI failure | Retry with alternative tool |