@polymorphism-tech/morph-spec 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -41
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
<em>by Polymorphism Tech</em>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
|
+
<p align="center">
|
|
9
|
+
<a href="https://www.npmjs.com/package/@polymorphism-tech/morph-spec"><img src="https://img.shields.io/npm/v/@polymorphism-tech/morph-spec.svg" alt="npm version"></a>
|
|
10
|
+
<a href="https://www.npmjs.com/package/@polymorphism-tech/morph-spec"><img src="https://img.shields.io/npm/dm/@polymorphism-tech/morph-spec.svg" alt="npm downloads"></a>
|
|
11
|
+
<a href="#licença"><img src="https://img.shields.io/npm/l/@polymorphism-tech/morph-spec.svg" alt="license"></a>
|
|
12
|
+
</p>
|
|
13
|
+
|
|
8
14
|
<p align="center">
|
|
9
15
|
<a href="#instalação">Instalação</a> •
|
|
10
16
|
<a href="#começando">Começando</a> •
|
|
@@ -31,57 +37,50 @@ MORPH-SPEC é um framework de desenvolvimento orientado por especificações com
|
|
|
31
37
|
|
|
32
38
|
### Pré-requisitos
|
|
33
39
|
|
|
40
|
+
- [Node.js](https://nodejs.org/) 18+
|
|
34
41
|
- [Claude Code](https://claude.ai/code) instalado
|
|
35
|
-
- Git
|
|
36
42
|
|
|
37
|
-
### Instalação Rápida
|
|
43
|
+
### Instalação Rápida (Recomendado)
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
git clone <url-do-repo>
|
|
45
|
+
```bash
|
|
46
|
+
# Navegue até seu projeto
|
|
47
|
+
cd /caminho/do/seu/projeto
|
|
43
48
|
|
|
44
|
-
#
|
|
45
|
-
|
|
46
|
-
.\scripts\setup.ps1 -TargetPath "C:\caminho\do\seu\projeto"
|
|
49
|
+
# Execute o instalador
|
|
50
|
+
npx @polymorphism-tech/morph-spec init
|
|
47
51
|
```
|
|
48
52
|
|
|
49
|
-
|
|
53
|
+
### Instalação Global
|
|
54
|
+
|
|
50
55
|
```bash
|
|
51
|
-
#
|
|
52
|
-
|
|
56
|
+
# Instale globalmente
|
|
57
|
+
npm install -g @polymorphism-tech/morph-spec
|
|
53
58
|
|
|
54
|
-
#
|
|
55
|
-
cd
|
|
56
|
-
|
|
59
|
+
# Use em qualquer projeto
|
|
60
|
+
cd /seu/projeto
|
|
61
|
+
morph-spec init
|
|
57
62
|
```
|
|
58
63
|
|
|
59
|
-
###
|
|
64
|
+
### Comandos CLI
|
|
60
65
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
cp -r morph-framework/content/.claude /seu/projeto/
|
|
68
|
-
cp morph-framework/content/CLAUDE.md /seu/projeto/
|
|
69
|
-
|
|
70
|
-
# 3. Configure
|
|
71
|
-
cd /seu/projeto/.morph/config
|
|
72
|
-
cp config.template.json config.json
|
|
73
|
-
# Edite config.json com suas configurações
|
|
74
|
-
```
|
|
66
|
+
| Comando | Descrição |
|
|
67
|
+
|---------|-----------|
|
|
68
|
+
| `morph-spec init` | Inicializa MORPH no diretório atual |
|
|
69
|
+
| `morph-spec init --force` | Sobrescreve instalação existente |
|
|
70
|
+
| `morph-spec update` | Atualiza templates e standards |
|
|
71
|
+
| `morph-spec doctor` | Verifica saúde da instalação |
|
|
75
72
|
|
|
76
73
|
### Verificar Instalação
|
|
77
74
|
|
|
78
|
-
|
|
75
|
+
```bash
|
|
76
|
+
morph-spec doctor
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Ou abra seu projeto no Claude Code e execute:
|
|
79
80
|
```
|
|
80
81
|
/morph-status
|
|
81
82
|
```
|
|
82
83
|
|
|
83
|
-
Se configurado corretamente, você verá o status do projeto.
|
|
84
|
-
|
|
85
84
|
---
|
|
86
85
|
|
|
87
86
|
## Começando
|
|
@@ -140,7 +139,7 @@ Move a feature concluída para o arquivo.
|
|
|
140
139
|
|
|
141
140
|
---
|
|
142
141
|
|
|
143
|
-
## Comandos
|
|
142
|
+
## Comandos Claude Code
|
|
144
143
|
|
|
145
144
|
| Comando | Descrição |
|
|
146
145
|
|---------|-----------|
|
|
@@ -203,9 +202,9 @@ Move a feature concluída para o arquivo.
|
|
|
203
202
|
|
|
204
203
|
| Exemplo | Descrição |
|
|
205
204
|
|---------|-----------|
|
|
206
|
-
| [micro-saas](
|
|
207
|
-
| [api-nextjs](
|
|
208
|
-
| [multi-agent](
|
|
205
|
+
| [micro-saas](content/.morph/examples/micro-saas/) | SaaS completo com Blazor + Asaas billing |
|
|
206
|
+
| [api-nextjs](content/.morph/examples/api-nextjs/) | .NET API + Next.js frontend |
|
|
207
|
+
| [multi-agent](content/.morph/examples/multi-agent/) | Sistema multi-agente com Semantic Kernel |
|
|
209
208
|
|
|
210
209
|
Cada exemplo inclui: `README.md`, `spec.md`, `contracts.cs`, `tasks.md`, `decisions.md`
|
|
211
210
|
|
|
@@ -268,11 +267,18 @@ O MORPH segue a filosofia **"Free tier first"**:
|
|
|
268
267
|
|
|
269
268
|
---
|
|
270
269
|
|
|
271
|
-
##
|
|
270
|
+
## Licença
|
|
271
|
+
|
|
272
|
+
MIT © [Polymorphism Tech](https://polymorphism.tech)
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Links
|
|
272
277
|
|
|
273
|
-
-
|
|
274
|
-
-
|
|
275
|
-
-
|
|
278
|
+
- 📦 [npm](https://www.npmjs.com/package/@polymorphism-tech/morph-spec)
|
|
279
|
+
- 📚 [Documentação](docs/)
|
|
280
|
+
- 💡 [Exemplos](content/.morph/examples/)
|
|
281
|
+
- 🐛 [Issues](https://github.com/polymorphism-tech/morph-spec-framework/issues)
|
|
276
282
|
|
|
277
283
|
---
|
|
278
284
|
|
package/package.json
CHANGED