fullerdev 0.1.0
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/LICENSE +21 -0
- package/README.md +276 -0
- package/bin/setup.js +119 -0
- package/dist/agents/designer.d.ts +6 -0
- package/dist/agents/designer.d.ts.map +1 -0
- package/dist/agents/devops.d.ts +7 -0
- package/dist/agents/devops.d.ts.map +1 -0
- package/dist/agents/explorer.d.ts +7 -0
- package/dist/agents/explorer.d.ts.map +1 -0
- package/dist/agents/fixer.d.ts +6 -0
- package/dist/agents/fixer.d.ts.map +1 -0
- package/dist/agents/librarian.d.ts +6 -0
- package/dist/agents/librarian.d.ts.map +1 -0
- package/dist/agents/oracle.d.ts +6 -0
- package/dist/agents/oracle.d.ts.map +1 -0
- package/dist/agents/orchestrator.d.ts +13 -0
- package/dist/agents/orchestrator.d.ts.map +1 -0
- package/dist/config/defaults.d.ts +14 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/loader.d.ts +54 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/schema.d.ts +603 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/hooks/context-injection.d.ts +25 -0
- package/dist/hooks/context-injection.d.ts.map +1 -0
- package/dist/hooks/devops-integration.d.ts +31 -0
- package/dist/hooks/devops-integration.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +46 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/session-lifecycle.d.ts +15 -0
- package/dist/hooks/session-lifecycle.d.ts.map +1 -0
- package/dist/hooks/todo-continuation.d.ts +17 -0
- package/dist/hooks/todo-continuation.d.ts.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1261 -0
- package/dist/mcp/index.d.ts +31 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/tools/azure/git.d.ts +26 -0
- package/dist/tools/azure/git.d.ts.map +1 -0
- package/dist/tools/azure/index.d.ts +6 -0
- package/dist/tools/azure/index.d.ts.map +1 -0
- package/dist/tools/azure/pipelines.d.ts +18 -0
- package/dist/tools/azure/pipelines.d.ts.map +1 -0
- package/dist/tools/azure/wiki.d.ts +18 -0
- package/dist/tools/azure/wiki.d.ts.map +1 -0
- package/dist/tools/azure/work-items.d.ts +26 -0
- package/dist/tools/azure/work-items.d.ts.map +1 -0
- package/dist/tools/core/index.d.ts +17 -0
- package/dist/tools/core/index.d.ts.map +1 -0
- package/dist/tools/index.d.ts +7 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/fullerdev.schema.json +117 -0
- package/package.json +65 -0
- package/src/skills/agent-browser/SKILL.md +31 -0
- package/src/skills/azure-devops/SKILL.md +99 -0
- package/src/skills/frontend-ui-ux/SKILL.md +62 -0
- package/src/skills/gitmaster/SKILL.md +52 -0
- package/src/skills/simplify/SKILL.md +50 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Simplify
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
Behavior-preserving code simplification for readability and maintainability. Reduces unnecessary complexity, improves naming and structure, and keeps simplification work scoped and reviewable.
|
|
5
|
+
|
|
6
|
+
## When to Use
|
|
7
|
+
- Code that is hard to understand at first glance
|
|
8
|
+
- Functions or methods that do too many things
|
|
9
|
+
- Deeply nested conditionals or loops
|
|
10
|
+
- Duplicated logic across files
|
|
11
|
+
- Over-engineered solutions for simple problems (YAGNI)
|
|
12
|
+
- Before adding new features to complex code
|
|
13
|
+
- During code review when maintainability is flagged
|
|
14
|
+
|
|
15
|
+
## Principles
|
|
16
|
+
|
|
17
|
+
### YAGNI (You Aren't Gonna Need It)
|
|
18
|
+
Remove abstractions, interfaces, and patterns that don't serve an immediate, concrete purpose. Every layer of indirection must justify its existence.
|
|
19
|
+
|
|
20
|
+
### Single Responsibility
|
|
21
|
+
Each function, class, and module should have one clear reason to change. If you need "and" to describe what something does, it does too much.
|
|
22
|
+
|
|
23
|
+
### Name for Intent
|
|
24
|
+
- Variables: what they contain (not their type)
|
|
25
|
+
- Functions: what they do or return (verb or noun)
|
|
26
|
+
- Classes: what they represent (noun)
|
|
27
|
+
- Avoid: `data`, `info`, `obj`, `temp`, `result` (unless truly generic)
|
|
28
|
+
- Prefer: `customerEmail`, `calculateTax()`, `OrderRepository`
|
|
29
|
+
|
|
30
|
+
### Reduce Nesting
|
|
31
|
+
- Use early returns instead of deep if-else chains
|
|
32
|
+
- Extract nested loops into named functions
|
|
33
|
+
- Use guard clauses at function entry
|
|
34
|
+
- Max recommended nesting depth: 3 levels
|
|
35
|
+
|
|
36
|
+
### Keep It Scoped
|
|
37
|
+
- Simplify one piece at a time
|
|
38
|
+
- Keep diffs small and reviewable
|
|
39
|
+
- Don't mix simplification with feature changes
|
|
40
|
+
- Run tests between each simplification step
|
|
41
|
+
|
|
42
|
+
## Simplification Checklist
|
|
43
|
+
- [ ] Can a junior developer understand this in 5 minutes?
|
|
44
|
+
- [ ] Are names accurate and revealing?
|
|
45
|
+
- [ ] Is every abstraction pulling its weight?
|
|
46
|
+
- [ ] Could nesting be reduced?
|
|
47
|
+
- [ ] Are there duplicated blocks that could be extracted?
|
|
48
|
+
- [ ] Does the code follow the principle of least surprise?
|
|
49
|
+
- [ ] Are comments explaining "why" (not "what")?
|
|
50
|
+
- [ ] Do all tests still pass?
|