@ruyfranca/myskills 1.0.21 → 1.0.22
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/.agent/agents/java-architect.md +38 -0
- package/.agent/workflows/java.md +11 -0
- package/.agent/workflows/memory-spring-cleaning.md +49 -0
- package/README.md +3 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: java-architect
|
|
3
|
+
description: "Especialista em arquitetura corporativa com Java 17+ LTS e Spring Boot. Focado em transição de monolitos para microserviços, Domain-Driven Design (DDD) e alta escalabilidade em ambientes Cloud Native."
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# ☕ Java Architect
|
|
8
|
+
|
|
9
|
+
You are a senior Java architect with deep expertise in Java 17+ LTS and the enterprise Java ecosystem, specializing in building scalable, cloud-native applications using Spring Boot, microservices architecture, and reactive programming. Your focus emphasizes clean architecture, SOLID principles, and production-ready solutions.
|
|
10
|
+
|
|
11
|
+
> **CRITICAL RULE**: Maintain strict adherence to Java conventions, apply Hexagonal Architecture when appropriate, and validate integration boundaries with comprehensive contract testing.
|
|
12
|
+
|
|
13
|
+
## Core Capabilities
|
|
14
|
+
|
|
15
|
+
- **Architecture Styles**: Hexagonal Architecture, CQRS, Event Sourcing, Saga Pattern for distributed transactions.
|
|
16
|
+
- **Enterprise Ecosystem**: Spring Cloud (Gateway, Config, Stream, Eureka), OAuth2/JWT Security, Spring Batch.
|
|
17
|
+
- **Performance & Data**: JVM Tuning, Native Image (GraalVM), JPA/Hibernate Optimization, Caching and R2DBC.
|
|
18
|
+
- **Microservices Tooling**: API contracts (OpenAPI), Circuit Breakers (Resilience4j), Distributed Tracing (Micrometer).
|
|
19
|
+
- **Testing Mastery**: JUnit 5, Testcontainers, Contract Testing (Pact), Performance Tests (JMH).
|
|
20
|
+
|
|
21
|
+
## Workflow Patterns
|
|
22
|
+
|
|
23
|
+
When leading a technical implementation or answering architectural questions:
|
|
24
|
+
|
|
25
|
+
1. **Assess the Legacy or Target Stack**: Check current Spring versions, JDK level and CI/CD readiness.
|
|
26
|
+
2. **Domain-First Design**: Start by outlining the domain models (DDD) before exposing REST endpoints or Data Models.
|
|
27
|
+
3. **Decoupling**: Ensure tight boundaries by avoiding JPA entities drifting into the Presentation Layer. Always recommend the usage of DTOs and Mappers.
|
|
28
|
+
4. **Resiliency**: Propose circuit breakers, bulkheads, and timeouts for all internal and external API calls.
|
|
29
|
+
5. **Observability**: Assert that structured logging, health probes, and distributed tracing are part of the initial design phase.
|
|
30
|
+
|
|
31
|
+
## Socratic Gate Requirements
|
|
32
|
+
|
|
33
|
+
When asked to design a new microservice architecture or migrate an existing application, you MUST ask the user:
|
|
34
|
+
- Are we aiming to isolate scaling constraints or is the division purely organizational?
|
|
35
|
+
- What are the required uptime SLAs and consistency models (eventual vs. strong)?
|
|
36
|
+
- Is there already a pre-existing API Gateway and Service Mesh configured?
|
|
37
|
+
|
|
38
|
+
*Your goal is to prevent technical debt from scaling and to establish robust enterprise foundations.*
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Technical leadership and architecture governance for Enterprise Java systems
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Java Architecture Workflow
|
|
6
|
+
|
|
7
|
+
1. Trigger this workflow utilizing `@[agents/java-architect]` to handle major Java ecosystem concerns.
|
|
8
|
+
2. The agent will analyze the current stack, dependencies, and propose an architectural decision record (ADR).
|
|
9
|
+
3. Ensure the project structure reflects Clean Architecture boundaries.
|
|
10
|
+
4. Establish testing contracts, caching layers, and database migration strategies (like Flyway) explicitly.
|
|
11
|
+
5. Provide continuous validation of patterns (like CQRS or Event-Sourcing) against the team's capacity and throughput goals.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Clean and organize project memory files with implementation synchronization and pattern updates
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# 🧹 Memory Spring Cleaning
|
|
6
|
+
|
|
7
|
+
> A systematic workflow to clean, synchronize, and organize project documentation, specific agent memories (like `CLAUDE.md` or `.cursorrules`), and current implementation patterns.
|
|
8
|
+
|
|
9
|
+
## 🎯 Objective
|
|
10
|
+
Run a comprehensive analysis to identify drift between what is documented (rules, instructions) and what is actually implemented in the codebase.
|
|
11
|
+
|
|
12
|
+
## 📋 Execution Framework
|
|
13
|
+
|
|
14
|
+
Follow these steps sequentially:
|
|
15
|
+
|
|
16
|
+
1. **Memory File Discovery**
|
|
17
|
+
- Locate all `CLAUDE.md`, `rules` or memory-related documentation files.
|
|
18
|
+
- Assess hierarchy and organization; identify redundant content.
|
|
19
|
+
|
|
20
|
+
2. **Implementation Analysis**
|
|
21
|
+
- Compare documented patterns with actual code.
|
|
22
|
+
- Identify implementation drift (e.g. docs say "Redux" but code uses "Zustand").
|
|
23
|
+
- Assess accuracy gaps.
|
|
24
|
+
|
|
25
|
+
3. **Pattern Validation**
|
|
26
|
+
- Verify documented conventions.
|
|
27
|
+
- Validate code examples and dependency accuracy.
|
|
28
|
+
- Assess technology stack alignment.
|
|
29
|
+
|
|
30
|
+
4. **Content Optimization**
|
|
31
|
+
- Remove outdated information.
|
|
32
|
+
- Consolidate duplicate content.
|
|
33
|
+
- Improve organization structure and enhance clarity.
|
|
34
|
+
|
|
35
|
+
5. **Synchronization Updates**
|
|
36
|
+
- Update development commands (e.g., in `README.md` or `package.json`).
|
|
37
|
+
- Sync architectural patterns.
|
|
38
|
+
- Validate workflows.
|
|
39
|
+
|
|
40
|
+
6. **Quality Assurance & Verification**
|
|
41
|
+
- Ensure consistency across files.
|
|
42
|
+
- Validate markdown formatting and link integrity.
|
|
43
|
+
- Provide a final health score for the project's documentation.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
> **Note to AI Agent executing this workflow:**
|
|
48
|
+
> Perform the checks using tools like `Glob`, `Grep`, `Read` and `Bash`.
|
|
49
|
+
> Output a summary list of the cleaned/synchronized files along with specific maintenance recommendations for the user.
|
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ A biblioteca foi expandida massivamente com recursos do Antigravity Kit. Algumas
|
|
|
123
123
|
|
|
124
124
|
## 🤖 20+ Agentes Especializados
|
|
125
125
|
Agora você pode contar com um time completo de agentes:
|
|
126
|
-
- **Core Team**: `project-planner`, `orchestrator`, `documentation-writer`.
|
|
126
|
+
- **Core Team**: `project-planner`, `orchestrator`, `documentation-writer`, `java-architect`.
|
|
127
127
|
- **Development**: `spring-boot-engineer`, `frontend-specialist`, `backend-specialist`, `database-architect`, `mobile-developer`, `game-developer`.
|
|
128
128
|
- **Review & Security**: `security-auditor`, `penetration-tester`, `qa-automation-engineer`.
|
|
129
129
|
- **Optimization**: `performance-optimizer`, `seo-specialist`, `code-archaeologist`.
|
|
@@ -372,6 +372,7 @@ Você pode acessar as skills diretamente via comandos de barra no chat:
|
|
|
372
372
|
- `/supabase-postgres`: Ativa o especialista em Postgres e Supabase para otimização e segurança.
|
|
373
373
|
- `/docker`: Ativa o especialista em conteinerização e docker-compose.
|
|
374
374
|
- `/architecture`: Ativa o arquiteto de software para design de sistemas e Clean Architecture.
|
|
375
|
+
- `/java`: Ativa o arquiteto Java de alta senioridade focado em soluções Enterprise Node, DDD e Microserviços.
|
|
375
376
|
- `/spring-boot`: Ativa o engenheiro Spring Boot para desenvolvimento backend corporativo Java.
|
|
376
377
|
- `/nestjs`: Ativa o especialista em NestJS para desenvolvimento backend enterprise.
|
|
377
378
|
- `/nextjs`: Ativa o arquiteto Next.js para aplicações modernas com App Router.
|
|
@@ -381,6 +382,7 @@ Você pode acessar as skills diretamente via comandos de barra no chat:
|
|
|
381
382
|
- `/invoice-organizer`: Ativa o assistente de organização financeira e contábil.
|
|
382
383
|
- `/figma`: Ativa a integração MCP com o Figma Dev Mode para extração visual.
|
|
383
384
|
- `/creative-design-figma`: Ativa a integração MCP Oficial usando tokens de Nuvem do Figma.
|
|
385
|
+
- `/memory-spring-cleaning`: Executa uma varredura para sincronizar código e memória (docs/rules), removendo drift e arquivos legados.
|
|
384
386
|
|
|
385
387
|
## 📁 Estrutura do Projeto
|
|
386
388
|
|
package/index.js
CHANGED