-
Notifications
You must be signed in to change notification settings - Fork 45
Add squad: design-squad #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # Squad Analysis: design-squad | ||
|
|
||
| **Generated:** 2026-03-16T01:46:04.528Z | ||
|
|
||
| ## Overview | ||
|
|
||
| | Property | Value | | ||
| |----------|-------| | ||
| | Name | design-squad | | ||
| | Version | 1.0.0 | | ||
| | Author | Claudiney Oliveira | | ||
| | License | MIT | | ||
| | AIOX Min Version | 2.1.0 | | ||
|
|
||
| ## Components | ||
|
|
||
| ### agents/ (2) | ||
| - ui-agent.md | ||
| - ux-agent.md | ||
|
|
||
| ### tasks/ (3) | ||
| - audit-interface.md | ||
| - design-components.md | ||
| - prototyping.md | ||
|
|
||
| ### workflows/ (0) | ||
| *Empty* | ||
|
|
||
| ### checklists/ (0) | ||
| *Empty* | ||
|
|
||
| ### templates/ (0) | ||
| *Empty* | ||
|
|
||
| ### tools/ (0) | ||
| *Empty* | ||
|
|
||
| ### scripts/ (0) | ||
| *Empty* | ||
|
|
||
| ### data/ (0) | ||
| *Empty* | ||
|
|
||
| ## Coverage | ||
|
|
||
| | Category | Percentage | Details | | ||
| |----------|------------|---------| | ||
| | Agents | 0% | 0/2 with tasks | | ||
| | Tasks | 75% | 3 total | | ||
| | Directories | 25% | 2/8 populated | | ||
| | Config | 50% | - | | ||
|
|
||
| ## Suggestions | ||
|
|
||
| 1. **[HIGH]** Add tasks for 2 agent(s) without tasks | ||
| 2. **[MEDIUM]** Create workflows to combine related tasks | ||
| 3. **[MEDIUM]** Add validation checklists for quality assurance | ||
| 4. **[LOW]** Add document templates for consistent output | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Design Squad | ||
|
|
||
| Squad focado em design de produto, experiência do usuário (UX) e interface do usuário (UI), utilizando automação para acelerar auditorias e criação de componentes. | ||
|
|
||
| ## Estrutura | ||
| - **UX Agent**: Responsável pela extração de necessidades de usuários e auditorias (Extração). | ||
| - **UI Agent**: Responsável pela transformação de conceitos em componentes visuais e protótipos (Transformação/Carga). | ||
| - **Tasks**: Fluxo que vai desde a auditoria de interface até a entrega de protótipos navegáveis. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # analytics-agent | ||
|
|
||
| Agente focado em análise de dados de uso, métricas de conversão e performance de interface. | ||
|
|
||
| - Role: UX Data Analyst | ||
| - Persona: Precise, insight-driven, technical. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # lead-agent | ||
|
|
||
| Agente responsável pela coordenação técnica, definição de padrões de design e liderança do squad. | ||
|
|
||
| - Role: Design Lead & Coordinator | ||
| - Persona: Decisive, visionary, mentor. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # ui-agent | ||
|
|
||
| Agente focado em design visual, criação de componentes de design system e refinamento estético. | ||
|
|
||
| - Role: UI Designer & Visual Specialist | ||
| - Persona: Creative, precise, aesthetic-driven. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # ux-agent | ||
|
|
||
| Agente focado em análise de experiência, mapeamento de fluxos e auditorias de usabilidade. | ||
|
|
||
| - Role: UX Researcher & Architect | ||
| - Persona: Analytical, empathetic, user-centric. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # .gitkeep |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Design Quality Checklist | ||
|
|
||
| ## ♿ Accessibility (WCAG) | ||
| - [ ] Contrast ratio is at least 4.5:1 for normal text. | ||
| - [ ] Focus states are clearly visible for all interactive elements. | ||
| - [ ] Text can be resized up to 200% without loss of content. | ||
| - [ ] Interactive elements have a minimum target size of 44x44px. | ||
|
|
||
| ## 🎨 Visual Consistency | ||
| - [ ] Colors are within the approved Brand Palette. | ||
| - [ ] Typography follows the established hierarchy (H1, H2, Body, etc.). | ||
| - [ ] Spacing follows the defined grid or scale (e.g., 8pt grid). | ||
| - [ ] Icons use a consistent line weight and style. | ||
|
|
||
| ## 🛠️ Design System Alignment | ||
| - [ ] Components use existing atoms/molecules from the DS. | ||
| - [ ] Token names follow the naming convention (kebab-case). | ||
| - [ ] Reusable components are documented with their respective states. | ||
|
|
||
| ## 📱 Responsiveness | ||
| - [ ] Layout transitions smoothly between Mobile, Tablet, and Desktop. | ||
| - [ ] Navigation is functional across all screen sizes. | ||
| - [ ] Images and media scale correctly without distortion. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Design Coding Standards | ||
| - Acessibilidade WCAG. | ||
| - Design Atômico. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Design Source Tree | ||
| - Root -> Design components and assets |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Design Tech Stack | ||
| - Figma | ||
| - Sharp |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # .gitkeep |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| settings: | ||
| brand: | ||
| name: Vibe Code | ||
| primary_color: "#6200EE" | ||
| secondary_color: "#03DAC6" | ||
| thresholds: | ||
| min_contrast_ratio: 4.5 | ||
| performance_budget_ms: 2000 | ||
| endpoints: | ||
| figma_api: "https://api.figma.com/v1" | ||
| analytics_dashboard: "https://analytics.vibecode.io" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # .gitkeep |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,20 @@ | ||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||
| * Migration Helper Script | ||||||||||||||||||||||||||
| * | ||||||||||||||||||||||||||
| * assists in migrating design data between versions or squads. | ||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| const fs = require('fs'); | ||||||||||||||||||||||||||
| const path = require('path'); | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| function migrate(source, target) { | ||||||||||||||||||||||||||
| console.log(`Starting migration from ${source} to ${target}...`); | ||||||||||||||||||||||||||
| // Logic for migrating files or transforming data | ||||||||||||||||||||||||||
| // This is a placeholder for actual migration logic | ||||||||||||||||||||||||||
| console.log('Migration completed successfully.'); | ||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||
|
Comment on lines
+10
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do not report successful migration when no migration occurs. At Line 14, success is logged unconditionally even though no migration logic exists. This can mask operational failures. Proposed minimal safe fix function migrate(source, target) {
console.log(`Starting migration from ${source} to ${target}...`);
// Logic for migrating files or transforming data
// This is a placeholder for actual migration logic
- console.log('Migration completed successfully.');
+ throw new Error('Migration logic not implemented yet.');
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| // Example usage: | ||||||||||||||||||||||||||
| // migrate('./old-assets', './new-assets'); | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| module.exports = { migrate }; | ||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| name: design-squad | ||
| version: 1.0.0 | ||
| description: Squad focado em UX/UI, prototipagem, design system e experiência do usuário seguindo fluxo ETL. | ||
| author: Claudiney Oliveira | ||
| license: MIT | ||
| slashPrefix: design | ||
|
|
||
| aiox: | ||
| minVersion: "2.1.0" | ||
| type: squad | ||
|
|
||
| components: | ||
| tasks: | ||
| - audit-interface.md | ||
| - design-components.md | ||
| - prototyping.md | ||
| - lead-agent-process-data.md | ||
| - lead-agent-new-task.md | ||
| agents: | ||
| - ux-agent.md | ||
| - ui-agent.md | ||
| - analytics-agent.md | ||
| - lead-agent.md | ||
| workflows: | ||
| - daily-processing.yaml | ||
| checklists: | ||
| - quality-checklist.md | ||
| templates: | ||
| - report-template.md | ||
| tools: | ||
| - data-validator.js | ||
| scripts: | ||
| - migration-helper.js | ||
| data: | ||
| - config-data.yaml | ||
|
|
||
| config: | ||
| extends: extend | ||
| coding-standards: config/coding-standards.md | ||
| tech-stack: config/tech-stack.md | ||
| source-tree: config/source-tree.md | ||
|
|
||
| dependencies: | ||
| node: [] | ||
| python: [] | ||
| squads: [] | ||
|
|
||
| tags: | ||
| - ux-ui | ||
| - product-design | ||
| - design-system | ||
| - automation |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| task: Audit Interface | ||
| responsavel: "@ux-agent" | ||
| responsavel_type: agent | ||
| atomic_layer: task | ||
| Entrada: | | ||
| - interface_url_or_docs: Link ou docs da UI atual | ||
| Saida: | | ||
| - audit_report: Lista de problemas de usabilidade | ||
| Checklist: | ||
| - "[ ] Verificar heurísticas de Nielsen" | ||
| - "[ ] Analisar fluxos críticos de usuário" | ||
| - "[ ] Documentar pontos de fricção" | ||
| --- | ||
| # audit-interface | ||
|
|
||
| Extração e análise de interfaces existentes para identificação de melhorias de usabilidade. |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||
| --- | ||||||
| task: Design Components | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use a machine-friendly task id consistent with file/workflow slug. At Line 2, Suggested fix-task: Design Components
+task: design-components📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| responsavel: "@ui-agent" | ||||||
| responsavel_type: agent | ||||||
| atomic_layer: task | ||||||
| Entrada: | | ||||||
| - audit_report: Dados da auditoria de UX | ||||||
| - design_system_specs: Especificações do DS | ||||||
| Saida: | | ||||||
| - UI_components: Componentes desenhados | ||||||
| Checklist: | ||||||
| - "[ ] Criar variantes de botões" | ||||||
| - "[ ] Definir estados de inputs" | ||||||
| - "[ ] Alinhar com o design system" | ||||||
| --- | ||||||
| # design-components | ||||||
|
|
||||||
| Transformação de requisitos funcionais em componentes visuais reutilizáveis. | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| task: new-task | ||
| responsavel: "@lead-agent" | ||
| responsavel_type: agent | ||
| atomic_layer: task | ||
| Entrada: | | ||
| - placeholder_input: Descrição da entrada necessária | ||
| Saida: | | ||
| - placeholder_output: Descrição da saída esperada | ||
| Checklist: | ||
| - "[ ] Passo inicial da tarefa" | ||
| - "[ ] Revisão intermediária" | ||
| - "[ ] Finalização e entrega" | ||
| --- | ||
| # new-task | ||
|
|
||
| Descrição detalhada da nova tarefa atribuída ao arquiteto líder. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,17 @@ | ||||||||||||||||||
| --- | ||||||||||||||||||
| task: process-data | ||||||||||||||||||
| responsavel: "@lead-agent" | ||||||||||||||||||
| responsavel_type: agent | ||||||||||||||||||
| atomic_layer: task | ||||||||||||||||||
| Entrada: | | ||||||||||||||||||
| - raw_data: Dados brutos de design ou feedback | ||||||||||||||||||
| Saida: | | ||||||||||||||||||
| - processed_insights: Insights processados para o squad | ||||||||||||||||||
|
Comment on lines
+6
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix workflow I/O contract mismatch ( Line 7 expects Proposed fix Entrada: |
- - raw_data: Dados brutos de design ou feedback
+ - audit_report: Relatório de auditoria de usabilidade (saída do task audit-interface)
Saida: |
- processed_insights: Insights processados para o squad📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
| Checklist: | ||||||||||||||||||
| - "[ ] Revisar dados de entrada" | ||||||||||||||||||
| - "[ ] Cruzar informações com requisitos" | ||||||||||||||||||
| - "[ ] Documentar decisões de design" | ||||||||||||||||||
| --- | ||||||||||||||||||
| # process-data | ||||||||||||||||||
|
|
||||||||||||||||||
| Tarefa de processamento de informações estratégicas para o squad. | ||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,17 @@ | ||||||
| --- | ||||||
| task: Prototyping | ||||||
| responsavel: "@ui-agent" | ||||||
| responsavel_type: agent | ||||||
| atomic_layer: task | ||||||
| Entrada: | | ||||||
| - UI_components: Componentes finalizados | ||||||
| Saida: | | ||||||
| - interactive_prototype: Link do protótipo navegável | ||||||
| Checklist: | ||||||
| - "[ ] Criar conexões entre telas" | ||||||
| - "[ ] Definir microinterações" | ||||||
| - "[ ] Validar fluxos de navegação" | ||||||
| --- | ||||||
| # prototyping | ||||||
|
|
||||||
| Carga final de componentes em fluxos interativos e protótipos de alta fidelidade. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix Portuguese compound hyphenation in task description. Line 17 should use Proposed fix-Carga final de componentes em fluxos interativos e protótipos de alta fidelidade.
+Carga final de componentes em fluxos interativos e protótipos de alta-fidelidade.📝 Committable suggestion
Suggested change
🧰 Tools🪛 LanguageTool[grammar] ~17-~17: Esta palavra é hifenizada. (PT_COMPOUNDS_PRE_REFORM_ALTA_FIDELIDADE) 🤖 Prompt for AI Agents |
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # .gitkeep |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Design Report Template | ||
|
|
||
| ## Executive Summary | ||
| {Provide a brief overview of the findings and decisions} | ||
|
|
||
| ## 🔍 Audit Findings | ||
| - **Heuristic 1:** {Description} | ||
| - **Heuristic 2:** {Description} | ||
| - **Usability Gaps:** {List critical points} | ||
|
|
||
| ## 🎨 Visual System Updates | ||
| - **Colors:** {New colors or modifications} | ||
| - **Typography:** {Changes in text styles} | ||
| - **Components:** {New components added} | ||
|
|
||
| ## 📈 Data Insights (from Analytics) | ||
| {Key metrics from analytics-agent} | ||
|
|
||
| ## ✅ Next Steps | ||
| 1. {Next task 1} | ||
| 2. {Next task 2} | ||
|
|
||
| --- | ||
| *Generated by Design Squad* |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # .gitkeep |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| /** | ||
| * Data Validator Tool for Design Squad | ||
| * | ||
| * Provides functions to validate design tokens, accessibility contrast, | ||
| * and data structures generated by agents. | ||
| */ | ||
|
|
||
| const DataValidator = { | ||
| /** | ||
| * Validates if a color contrast ratio meets WCAG standards. | ||
| * @param {number} ratio - The contrast ratio. | ||
| * @param {string} level - 'AA' or 'AAA'. | ||
| * @returns {boolean} | ||
| */ | ||
| validateContrast: (ratio, level = 'AA') => { | ||
| const min = level === 'AAA' ? 7 : 4.5; | ||
| return ratio >= min; | ||
| }, | ||
|
|
||
| /** | ||
| * Validates design token names follow kebab-case. | ||
| * @param {string} name - Token name. | ||
| * @returns {boolean} | ||
| */ | ||
| validateTokenName: (name) => { | ||
| return /^[a-z]+(-[a-z0-9]+)*$/.test(name); | ||
| }, | ||
|
|
||
| /** | ||
| * Checks for essential fields in a design report. | ||
| * @param {Object} data - The report data. | ||
| * @returns {Object} { valid: boolean, missing: string[] } | ||
| */ | ||
| validateReportFields: (data) => { | ||
| const required = ['title', 'findings', 'recommendations']; | ||
| const missing = required.filter(field => !data[field]); | ||
| return { | ||
|
Comment on lines
+34
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Guard against null/undefined report payloads. At Line 36, Suggested fix- validateReportFields: (data) => {
+ validateReportFields: (data = {}) => {
+ if (typeof data !== 'object' || data === null) {
+ return {
+ valid: false,
+ missing: ['title', 'findings', 'recommendations']
+ };
+ }
const required = ['title', 'findings', 'recommendations'];
- const missing = required.filter(field => !data[field]);
+ const missing = required.filter(field => data[field] == null || data[field] === '');
return {
valid: missing.length === 0,
missing
};
}🤖 Prompt for AI Agents |
||
| valid: missing.length === 0, | ||
| missing | ||
| }; | ||
| } | ||
| }; | ||
|
|
||
| module.exports = DataValidator; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # .gitkeep |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stale analysis document: component counts don't match squad.yaml.
The ANALYSIS.md shows 2 agents, 3 tasks, and empty workflows/checklists/templates/tools sections, but
squad.yamldeclares:Consider regenerating this analysis to reflect the actual squad contents, or removing it if it's auto-generated during validation.
🤖 Prompt for AI Agents