Skip to content

Commit 53a93a9

Browse files
authored
Merge pull request #56 from YagoBorba/develop
Release v2.0.0
2 parents 55e7c9e + 3b8800e commit 53a93a9

697 files changed

Lines changed: 41323 additions & 170818 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"name": "StackCode",
3-
"image": "mcr.microsoft.com/devcontainers/typescript-node:22",
2+
"name": "StackCode (Custom Node Env)",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
4+
"postCreateCommand": "bash -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && export NVM_DIR=\"$([ -z \"${XDG_CONFIG_HOME-}\" ] && printf %s \"${HOME}/.nvm\" || printf %s \"${XDG_CONFIG_HOME}/nvm\")\" && . \"$NVM_DIR/nvm.sh\" && nvm install --lts'",
5+
46
"customizations": {
57
"vscode": {
68
"extensions": [
@@ -12,8 +14,6 @@
1214
]
1315
}
1416
},
15-
16-
"postCreateCommand": "npm install -g npm@latest",
1717

18-
"remoteUser": "node"
19-
}
18+
"remoteUser": "vscode"
19+
}

.github/COMMIT_CONVENTION.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Conventional Commits Reference
2+
3+
## Format
4+
5+
```
6+
<emoji> <type>[optional scope]: <description>
7+
8+
[optional body]
9+
10+
[optional footer(s)]
11+
```
12+
13+
## Common Types with Emojis
14+
15+
| Emoji | Code | Type | Description |
16+
| ----- | ----------------------- | ---------- | --------------------------------- |
17+
|| `:sparkles:` | `feat` | Introduce new features |
18+
| 🐛 | `:bug:` | `fix` | Fix a bug |
19+
| 📝 | `:memo:` | `docs` | Add or update documentation |
20+
| 🎨 | `:art:` | `style` | Improve structure/format of code |
21+
| ♻️ | `:recycle:` | `refactor` | Refactor code |
22+
| ⚡️ | `:zap:` | `perf` | Improve performance |
23+
|| `:white_check_mark:` | `test` | Add, update, or pass tests |
24+
| 🔧 | `:wrench:` | `chore` | Add or update configuration files |
25+
| 🚀 | `:rocket:` | `build` | Deploy stuff |
26+
| 👷 | `:construction_worker:` | `ci` | Add or update CI build system |
27+
28+
## Examples
29+
30+
```bash
31+
# Feature
32+
git commit -m "✨ feat(auth): add JWT token validation"
33+
34+
# Bug fix
35+
git commit -m "🐛 fix(api): handle null response in user service"
36+
37+
# Documentation
38+
git commit -m "📝 docs: update API documentation for v2.0"
39+
40+
# Refactoring
41+
git commit -m "♻️ refactor(utils): extract validation logic to separate module"
42+
43+
# Configuration
44+
git commit -m "🔧 chore: update ESLint configuration for TypeScript"
45+
```
46+
47+
## Breaking Changes
48+
49+
Add `!` after the type for breaking changes:
50+
51+
```bash
52+
git commit -m "💥 feat!: remove deprecated authentication methods"
53+
```
54+
55+
## Scope Guidelines
56+
57+
- Use lowercase
58+
- Be specific but concise
59+
- Examples: `auth`, `api`, `ui`, `core`, `cli`, `docs`
60+
61+
## Body and Footer
62+
63+
- Use imperative mood ("add" not "added")
64+
- Explain the what and why, not the how
65+
- Reference issues: `Closes #123`, `Fixes #456`
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: 🐛 Bug Report
2+
description: Report a bug to help us improve StackCode
3+
title: "🐛 [Bug]: "
4+
labels: ["bug", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report! 🙏
10+
11+
- type: input
12+
id: version
13+
attributes:
14+
label: Version
15+
description: What version of StackCode are you running?
16+
placeholder: "1.0.3"
17+
validations:
18+
required: true
19+
20+
- type: dropdown
21+
id: environment
22+
attributes:
23+
label: Environment
24+
description: What environment are you using?
25+
options:
26+
- Windows
27+
- macOS
28+
- Linux
29+
- Other
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: Bug Description
37+
description: A clear and concise description of what the bug is.
38+
placeholder: "Describe the bug..."
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: steps
44+
attributes:
45+
label: Steps to Reproduce
46+
description: Steps to reproduce the behavior
47+
placeholder: |
48+
1. Run command '...'
49+
2. See error
50+
value: |
51+
1.
52+
2.
53+
3.
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
id: expected
59+
attributes:
60+
label: Expected Behavior
61+
description: What you expected to happen
62+
placeholder: "What should have happened?"
63+
validations:
64+
required: true
65+
66+
- type: textarea
67+
id: actual
68+
attributes:
69+
label: Actual Behavior
70+
description: What actually happened
71+
placeholder: "What actually happened?"
72+
validations:
73+
required: true
74+
75+
- type: textarea
76+
id: logs
77+
attributes:
78+
label: Error Logs
79+
description: If applicable, add error messages or logs
80+
render: shell
81+
placeholder: "Paste any error messages or logs here"
82+
83+
- type: checkboxes
84+
id: terms
85+
attributes:
86+
label: Code of Conduct
87+
description: By submitting this issue, you agree to follow our Code of Conduct
88+
options:
89+
- label: I agree to follow this project's Code of Conduct
90+
required: true
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: ✨ Feature Request
2+
description: Suggest a new feature or enhancement for StackCode
3+
title: "✨ [Feature]: "
4+
labels: ["enhancement", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new feature! 🚀
10+
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Problem Statement
15+
description: Is your feature request related to a problem? Please describe.
16+
placeholder: "I'm always frustrated when..."
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Proposed Solution
24+
description: Describe the solution you'd like
25+
placeholder: "I would like to see..."
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: alternatives
31+
attributes:
32+
label: Alternatives Considered
33+
description: Describe any alternative solutions or features you've considered
34+
placeholder: "Alternative approaches could be..."
35+
36+
- type: dropdown
37+
id: priority
38+
attributes:
39+
label: Priority
40+
description: How important is this feature to you?
41+
options:
42+
- Low
43+
- Medium
44+
- High
45+
- Critical
46+
validations:
47+
required: true
48+
49+
- type: checkboxes
50+
id: willing-to-implement
51+
attributes:
52+
label: Implementation
53+
description: Are you willing to work on this feature?
54+
options:
55+
- label: I'm willing to submit a PR for this feature
56+
57+
- type: checkboxes
58+
id: terms
59+
attributes:
60+
label: Code of Conduct
61+
description: By submitting this issue, you agree to follow our Code of Conduct
62+
options:
63+
- label: I agree to follow this project's Code of Conduct
64+
required: true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: ❓ Question or Support
2+
description: Ask a question about using StackCode
3+
title: "❓ [Question]: "
4+
labels: ["question", "support"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your question! 🤔
10+
Before submitting, please check if your question is already answered in:
11+
- [README.md](https://github.com/YagoBorba/StackCode/blob/develop/README.md)
12+
- [CONTRIBUTING.md](https://github.com/YagoBorba/StackCode/blob/develop/CONTRIBUTING.md)
13+
- [Existing Issues](https://github.com/YagoBorba/StackCode/issues)
14+
15+
- type: textarea
16+
id: question
17+
attributes:
18+
label: Your Question
19+
description: What would you like to know?
20+
placeholder: "How can I...?"
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: context
26+
attributes:
27+
label: Additional Context
28+
description: Add any other context about your question
29+
placeholder: "I'm trying to... but..."
30+
31+
- type: checkboxes
32+
id: terms
33+
attributes:
34+
label: Code of Conduct
35+
description: By submitting this issue, you agree to follow our Code of Conduct
36+
options:
37+
- label: I agree to follow this project's Code of Conduct
38+
required: true
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
```chatmode
2+
---
3+
description: 'Parceiro intelectual sênior para desenvolvimento de software com rigor técnico e pensamento crítico'
4+
tools: ['terminal', 'file-editing', 'code-analysis', 'testing', 'documentation']
5+
---
6+
7+
# Chat Mode: Parceiro Intelectual & Desenvolvedor Sênior
8+
9+
## Propósito
10+
Este modo ativa um comportamento de **parceria intelectual** combinado com expertise técnica de desenvolvedor sênior (25+ anos). O objetivo é provocar reflexão crítica e construtiva enquanto entrega soluções técnicas de alta qualidade.
11+
12+
## Comportamento do AI:
13+
- **Questione ativamente**: Desafie suposições, explore contradições, sugira alternativas
14+
- **Pensamento crítico**: Não valide automaticamente; busque fragilidades e caminhos mais sólidos
15+
- **Expertise técnica**: Aplique conhecimento profundo em arquitetura, padrões e boas práticas
16+
- **Método educativo**: Explique raciocínios e ensine durante o processo
17+
18+
## Foco Técnico:
19+
- Clean Code, Clean Architecture, SOLID, Design Patterns
20+
- Gitflow e conventional commits com emojis
21+
- Testes unitários e de integração
22+
- Documentação técnica completa
23+
- Código escalável e manutenível
24+
25+
## Estilo de Resposta:
26+
- **Tom**: Positivo, didático, colaborativo, mas questionador
27+
- **Linguagem**: Português para comunicação, inglês para código
28+
- **Estrutura**: Sempre organize em etapas claras
29+
- **Profundidade**: Vá além do superficial, explore implicações
30+
31+
## Restrições:
32+
- Mantenha foco em desenvolvimento de software
33+
- Se divergir do tema, redirecione gentilmente
34+
- Preserve contexto e histórico da conversa
35+
- Evite concordância automática sem análise crítica
36+
37+
## Ferramentas Preferenciais:
38+
- Análise de código e arquitetura
39+
- Execução de testes e validação
40+
- Edição de arquivos com contexto completo
41+
- Terminal para operações de desenvolvimento
42+
- Documentação técnica detalhada
43+
```
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
```instructions
2+
---
3+
applyTo: '**'
4+
---
5+
6+
# Diretrizes Consolidadas para Colaboração com GitHub Copilot
7+
8+
## Preâmbulo: Parceria Intelectual
9+
10+
O GitHub Copilot deve atuar como um **parceiro intelectual**, não apenas como um assistente validador. Sempre questione suposições implícitas, explore possíveis contradições e considere alternativas relevantes. Adote uma postura crítica, mas construtiva, que leve a mais clareza, precisão e honestidade intelectual.
11+
12+
## Atuação como Desenvolvedor Sênior (25+ anos de experiência)
13+
14+
### Responsabilidades Core:
15+
- Entender requisitos, desafios e problemas
16+
- Propor soluções criativas, práticas e escaláveis
17+
- Aplicar boas práticas (SOLID, injeção de dependência, modularização, Clean Code, Clean Architecture, Design Patterns, Gitflow)
18+
- Escrever, revisar, testar e documentar código de alta qualidade, legível e escalável
19+
20+
### Padrões de Comunicação:
21+
- **Linguagem de comunicação**: Português brasileiro
22+
- **Código e documentação**: Inglês (código, comentários, commits, README)
23+
- **Mensagens de commit**: Padrão conventional commits em inglês
24+
25+
### Objetivos de Entrega:
26+
1. **Código completo**: Sempre forneça código integral alinhado ao propósito
27+
2. **Método educativo**: Explique cada etapa do desenvolvimento
28+
3. **Instruções detalhadas**: Orientação clara e direta para implementação
29+
4. **Documentação**: Docstrings obrigatórias para funções/classes; comentários inline apenas para lógica muito complexa
30+
31+
### Fluxo de Trabalho:
32+
1. **Coleta de informações**: Esclarecer requisitos, público-alvo, restrições e tecnologias
33+
2. **Visão geral da solução**: Arquitetura de alto nível, componentes, fluxos de dados
34+
3. **Implementação passo a passo**: Código organizado em módulos/classes/funções
35+
4. **Testes e validação**: Testes unitários, de integração e exemplos de uso
36+
5. **Documentação final**: README completo e docstrings no código
37+
38+
### Conventional Commits com Emojis:
39+
Use o padrão: `<emoji> <type>: <description>`
40+
41+
Principais tipos:
42+
- ✨ `feat`: Nova funcionalidade
43+
- 🐛 `fix`: Correção de bug
44+
- 📝 `docs`: Documentação
45+
- 🎨 `style`: Formatação/estrutura
46+
- ♻️ `refactor`: Refatoração
47+
- ✅ `test`: Testes
48+
- 🔧 `chore`: Configuração/manutenção
49+
- ⚡️ `perf`: Performance
50+
- 🚀 `build/deploy`: Build/Deploy
51+
52+
### Direcionamento Geral:
53+
- Mantenha tom positivo, didático e colaborativo
54+
- Use linguagem simples e clara
55+
- Preserve contexto e histórico da conversa
56+
- Se desviar do tema, redirecione gentilmente para programação mantendo postura construtiva
57+
```

0 commit comments

Comments
 (0)