claude-all-config 2.0.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/LICENSE.md +70 -0
- package/README.md +133 -0
- package/VERSION +1 -0
- package/agents/accessibility-reviewer.md +96 -0
- package/agents/ai-prompt-optimizer.md +94 -0
- package/agents/api-tester.md +102 -0
- package/agents/code-generator.md +94 -0
- package/agents/code-reviewer.md +47 -0
- package/agents/component-generator.md +102 -0
- package/agents/doc-generator.md +91 -0
- package/agents/migration-generator.md +94 -0
- package/agents/performance-analyzer.md +90 -0
- package/agents/proactive-mode.md +91 -0
- package/agents/readme-generator.md +101 -0
- package/agents/security-auditor.md +86 -0
- package/agents/terraform-generator.md +94 -0
- package/agents/test-generator.md +76 -0
- package/bin/agentrouter.json +36 -0
- package/bin/ai-chat +20 -0
- package/bin/antigravity.json +76 -0
- package/bin/api-manager +340 -0
- package/bin/claude-launcher +19 -0
- package/bin/claude-master +15 -0
- package/bin/claude_master.py +295 -0
- package/bin/cohere.json +7 -0
- package/bin/deepseek.json +44 -0
- package/bin/gemini.json +56 -0
- package/bin/glm.json +21 -0
- package/bin/groq.json +41 -0
- package/bin/minimax.json +26 -0
- package/bin/mistral.json +7 -0
- package/bin/moonshot.json +7 -0
- package/bin/ollama.json +36 -0
- package/bin/openai.json +46 -0
- package/bin/openrouter.json +38 -0
- package/bin/perplexity.json +12 -0
- package/bin/qwen.json +7 -0
- package/bin/switch-provider +73 -0
- package/bin/test.json +7 -0
- package/bin/xai.json +41 -0
- package/claude-all +2707 -0
- package/claude-config.json +340 -0
- package/claude-suite/REFACTORING_SUMMARY.md +88 -0
- package/claude-suite/auth/.antigravity_proxy.py +78 -0
- package/claude-suite/auth/__pycache__/openai_auth.cpython-312.pyc +0 -0
- package/claude-suite/auth/gemini_auth.py +80 -0
- package/claude-suite/auth/openai_auth.py +138 -0
- package/claude-suite/backups/claude-all-before-refactor +1075 -0
- package/claude-suite/backups/claude-all.backup +840 -0
- package/claude-suite/backups/claude-all.original +840 -0
- package/claude-suite/models/add-model-manual.sh +588 -0
- package/claude-suite/models/add-model.sh +114 -0
- package/claude-suite/models/model-switcher.sh +69 -0
- package/claude-suite/providers/claude-glm +89 -0
- package/claude-suite/providers/claude-glm-wrapper.sh +55 -0
- package/claude-suite/providers/claude-minimax +12 -0
- package/claude-suite/providers/claude-smart +132 -0
- package/claude-suite/providers/xai_chat.sh +56 -0
- package/claude-suite/utils/__pycache__/claude_master.cpython-312.pyc +0 -0
- package/claude-suite/utils/antigravity_proxy_server.py +168 -0
- package/claude-suite/utils/claude-all-help.txt +83 -0
- package/claude-suite/utils/claude_master.py +408 -0
- package/commands/brainstorm.md +5 -0
- package/commands/execute-plan.md +5 -0
- package/commands/write-plan.md +5 -0
- package/docs/ANTIGRAVITY-SETUP.md +176 -0
- package/docs/AUTH_CREDENTIALS.md +54 -0
- package/docs/NPM-INSTALLATION.md +166 -0
- package/hooks/hooks.json +15 -0
- package/hooks/run-hook.cmd +19 -0
- package/hooks/session-start.sh +52 -0
- package/install.sh +155 -0
- package/mcp.json +34 -0
- package/model/perplexity.json +12 -0
- package/package.json +69 -0
- package/plugins/README.md +47 -0
- package/plugins/installed_plugins.json +317 -0
- package/plugins/known_marketplaces.json +10 -0
- package/plugins/marketplace-info/marketplace.json +517 -0
- package/postinstall.js +100 -0
- package/scripts/antigravity_proxy_server.py +168 -0
- package/scripts/get_gemini_api_key.py +96 -0
- package/scripts/setup_antigravity_auth.py +171 -0
- package/skills/api-development/SKILL.md +11 -0
- package/skills/api-development/openapi/api-documentation.yaml +108 -0
- package/skills/brainstorming/SKILL.md +54 -0
- package/skills/code-quality/SKILL.md +196 -0
- package/skills/condition-based-waiting/SKILL.md +120 -0
- package/skills/condition-based-waiting/example.ts +158 -0
- package/skills/database-development/SKILL.md +11 -0
- package/skills/database-development/migrations/migration.template.sql +49 -0
- package/skills/defense-in-depth/SKILL.md +127 -0
- package/skills/deployment/SKILL.md +11 -0
- package/skills/deployment/ci-cd/github-actions.yml +95 -0
- package/skills/deployment/docker/Dockerfile.template +39 -0
- package/skills/dispatching-parallel-agents/SKILL.md +180 -0
- package/skills/documentation-generation/SKILL.md +8 -0
- package/skills/documentation-generation/templates/README.template.md +60 -0
- package/skills/error-handling/SKILL.md +267 -0
- package/skills/executing-plans/SKILL.md +76 -0
- package/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/skills/frontend-design/frontend-design/SKILL.md +42 -0
- package/skills/integration-testing/SKILL.md +13 -0
- package/skills/integration-testing/examples/contract-test.py +317 -0
- package/skills/integration-testing/examples/e2e-test.js +147 -0
- package/skills/integration-testing/examples/test-isolation.md +94 -0
- package/skills/logging-monitoring/SKILL.md +66 -0
- package/skills/mobile-development/SKILL.md +11 -0
- package/skills/mobile-development/responsive/responsive.css +80 -0
- package/skills/performance-optimization/SKILL.md +9 -0
- package/skills/performance-optimization/profiling/profile.template.js +21 -0
- package/skills/receiving-code-review/SKILL.md +209 -0
- package/skills/refactoring/SKILL.md +11 -0
- package/skills/refactoring/code-smells/common-smells.md +115 -0
- package/skills/requesting-code-review/SKILL.md +105 -0
- package/skills/requesting-code-review/code-reviewer.md +146 -0
- package/skills/root-cause-tracing/SKILL.md +174 -0
- package/skills/root-cause-tracing/find-polluter.sh +63 -0
- package/skills/security-review/SKILL.md +11 -0
- package/skills/security-review/checklists/owasp-checklist.md +31 -0
- package/skills/sharing-skills/SKILL.md +194 -0
- package/skills/subagent-driven-development/SKILL.md +240 -0
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/skills/subagent-driven-development/implementer-prompt.md +78 -0
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/systematic-debugging/SKILL.md +295 -0
- package/skills/systematic-debugging/test-academic.md +14 -0
- package/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/test-driven-development/SKILL.md +364 -0
- package/skills/testing-anti-patterns/SKILL.md +302 -0
- package/skills/testing-skills-with-subagents/SKILL.md +387 -0
- package/skills/testing-skills-with-subagents/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/ui-ux-review/SKILL.md +13 -0
- package/skills/ui-ux-review/checklists/ux-heuristics.md +61 -0
- package/skills/using-git-worktrees/SKILL.md +213 -0
- package/skills/using-superpowers/SKILL.md +101 -0
- package/skills/verification-before-completion/SKILL.md +139 -0
- package/skills/writing-plans/SKILL.md +116 -0
- package/skills/writing-skills/SKILL.md +622 -0
- package/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/writing-skills/persuasion-principles.md +187 -0
- package/update.sh +36 -0
- package/utils/check-superpowers.sh +114 -0
- package/utils/claude-branding.md +166 -0
- package/utils/config.js +185 -0
- package/utils/custom-claude-config.sh +89 -0
- package/utils/custom-claude-hooks.md +129 -0
- package/utils/custom-claude-lib.js +222 -0
- package/utils/customize-claude-ui.sh +162 -0
- package/utils/fix-claude-integration.sh +133 -0
- package/utils/help.js +125 -0
- package/utils/install-curl.ps1 +135 -0
- package/utils/install-curl.sh +525 -0
- package/utils/install-superpowers.js +411 -0
- package/utils/install.js +298 -0
- package/utils/install.sh +182 -0
- package/utils/postinstall.js +63 -0
- package/utils/rename-claude.sh +96 -0
- package/utils/uninstall-superpowers.js +273 -0
- package/utils/uninstall.ps1 +136 -0
- package/utils/uninstall.sh +163 -0
- package/utils/update.sh +160 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
digraph STYLE_GUIDE {
|
|
2
|
+
// The style guide for our process DSL, written in the DSL itself
|
|
3
|
+
|
|
4
|
+
// Node type examples with their shapes
|
|
5
|
+
subgraph cluster_node_types {
|
|
6
|
+
label="NODE TYPES AND SHAPES";
|
|
7
|
+
|
|
8
|
+
// Questions are diamonds
|
|
9
|
+
"Is this a question?" [shape=diamond];
|
|
10
|
+
|
|
11
|
+
// Actions are boxes (default)
|
|
12
|
+
"Take an action" [shape=box];
|
|
13
|
+
|
|
14
|
+
// Commands are plaintext
|
|
15
|
+
"git commit -m 'msg'" [shape=plaintext];
|
|
16
|
+
|
|
17
|
+
// States are ellipses
|
|
18
|
+
"Current state" [shape=ellipse];
|
|
19
|
+
|
|
20
|
+
// Warnings are octagons
|
|
21
|
+
"STOP: Critical warning" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
|
|
22
|
+
|
|
23
|
+
// Entry/exit are double circles
|
|
24
|
+
"Process starts" [shape=doublecircle];
|
|
25
|
+
"Process complete" [shape=doublecircle];
|
|
26
|
+
|
|
27
|
+
// Examples of each
|
|
28
|
+
"Is test passing?" [shape=diamond];
|
|
29
|
+
"Write test first" [shape=box];
|
|
30
|
+
"npm test" [shape=plaintext];
|
|
31
|
+
"I am stuck" [shape=ellipse];
|
|
32
|
+
"NEVER use git add -A" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Edge naming conventions
|
|
36
|
+
subgraph cluster_edge_types {
|
|
37
|
+
label="EDGE LABELS";
|
|
38
|
+
|
|
39
|
+
"Binary decision?" [shape=diamond];
|
|
40
|
+
"Yes path" [shape=box];
|
|
41
|
+
"No path" [shape=box];
|
|
42
|
+
|
|
43
|
+
"Binary decision?" -> "Yes path" [label="yes"];
|
|
44
|
+
"Binary decision?" -> "No path" [label="no"];
|
|
45
|
+
|
|
46
|
+
"Multiple choice?" [shape=diamond];
|
|
47
|
+
"Option A" [shape=box];
|
|
48
|
+
"Option B" [shape=box];
|
|
49
|
+
"Option C" [shape=box];
|
|
50
|
+
|
|
51
|
+
"Multiple choice?" -> "Option A" [label="condition A"];
|
|
52
|
+
"Multiple choice?" -> "Option B" [label="condition B"];
|
|
53
|
+
"Multiple choice?" -> "Option C" [label="otherwise"];
|
|
54
|
+
|
|
55
|
+
"Process A done" [shape=doublecircle];
|
|
56
|
+
"Process B starts" [shape=doublecircle];
|
|
57
|
+
|
|
58
|
+
"Process A done" -> "Process B starts" [label="triggers", style=dotted];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Naming patterns
|
|
62
|
+
subgraph cluster_naming_patterns {
|
|
63
|
+
label="NAMING PATTERNS";
|
|
64
|
+
|
|
65
|
+
// Questions end with ?
|
|
66
|
+
"Should I do X?";
|
|
67
|
+
"Can this be Y?";
|
|
68
|
+
"Is Z true?";
|
|
69
|
+
"Have I done W?";
|
|
70
|
+
|
|
71
|
+
// Actions start with verb
|
|
72
|
+
"Write the test";
|
|
73
|
+
"Search for patterns";
|
|
74
|
+
"Commit changes";
|
|
75
|
+
"Ask for help";
|
|
76
|
+
|
|
77
|
+
// Commands are literal
|
|
78
|
+
"grep -r 'pattern' .";
|
|
79
|
+
"git status";
|
|
80
|
+
"npm run build";
|
|
81
|
+
|
|
82
|
+
// States describe situation
|
|
83
|
+
"Test is failing";
|
|
84
|
+
"Build complete";
|
|
85
|
+
"Stuck on error";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Process structure template
|
|
89
|
+
subgraph cluster_structure {
|
|
90
|
+
label="PROCESS STRUCTURE TEMPLATE";
|
|
91
|
+
|
|
92
|
+
"Trigger: Something happens" [shape=ellipse];
|
|
93
|
+
"Initial check?" [shape=diamond];
|
|
94
|
+
"Main action" [shape=box];
|
|
95
|
+
"git status" [shape=plaintext];
|
|
96
|
+
"Another check?" [shape=diamond];
|
|
97
|
+
"Alternative action" [shape=box];
|
|
98
|
+
"STOP: Don't do this" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
|
|
99
|
+
"Process complete" [shape=doublecircle];
|
|
100
|
+
|
|
101
|
+
"Trigger: Something happens" -> "Initial check?";
|
|
102
|
+
"Initial check?" -> "Main action" [label="yes"];
|
|
103
|
+
"Initial check?" -> "Alternative action" [label="no"];
|
|
104
|
+
"Main action" -> "git status";
|
|
105
|
+
"git status" -> "Another check?";
|
|
106
|
+
"Another check?" -> "Process complete" [label="ok"];
|
|
107
|
+
"Another check?" -> "STOP: Don't do this" [label="problem"];
|
|
108
|
+
"Alternative action" -> "Process complete";
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// When to use which shape
|
|
112
|
+
subgraph cluster_shape_rules {
|
|
113
|
+
label="WHEN TO USE EACH SHAPE";
|
|
114
|
+
|
|
115
|
+
"Choosing a shape" [shape=ellipse];
|
|
116
|
+
|
|
117
|
+
"Is it a decision?" [shape=diamond];
|
|
118
|
+
"Use diamond" [shape=diamond, style=filled, fillcolor=lightblue];
|
|
119
|
+
|
|
120
|
+
"Is it a command?" [shape=diamond];
|
|
121
|
+
"Use plaintext" [shape=plaintext, style=filled, fillcolor=lightgray];
|
|
122
|
+
|
|
123
|
+
"Is it a warning?" [shape=diamond];
|
|
124
|
+
"Use octagon" [shape=octagon, style=filled, fillcolor=pink];
|
|
125
|
+
|
|
126
|
+
"Is it entry/exit?" [shape=diamond];
|
|
127
|
+
"Use doublecircle" [shape=doublecircle, style=filled, fillcolor=lightgreen];
|
|
128
|
+
|
|
129
|
+
"Is it a state?" [shape=diamond];
|
|
130
|
+
"Use ellipse" [shape=ellipse, style=filled, fillcolor=lightyellow];
|
|
131
|
+
|
|
132
|
+
"Default: use box" [shape=box, style=filled, fillcolor=lightcyan];
|
|
133
|
+
|
|
134
|
+
"Choosing a shape" -> "Is it a decision?";
|
|
135
|
+
"Is it a decision?" -> "Use diamond" [label="yes"];
|
|
136
|
+
"Is it a decision?" -> "Is it a command?" [label="no"];
|
|
137
|
+
"Is it a command?" -> "Use plaintext" [label="yes"];
|
|
138
|
+
"Is it a command?" -> "Is it a warning?" [label="no"];
|
|
139
|
+
"Is it a warning?" -> "Use octagon" [label="yes"];
|
|
140
|
+
"Is it a warning?" -> "Is it entry/exit?" [label="no"];
|
|
141
|
+
"Is it entry/exit?" -> "Use doublecircle" [label="yes"];
|
|
142
|
+
"Is it entry/exit?" -> "Is it a state?" [label="no"];
|
|
143
|
+
"Is it a state?" -> "Use ellipse" [label="yes"];
|
|
144
|
+
"Is it a state?" -> "Default: use box" [label="no"];
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Good vs bad examples
|
|
148
|
+
subgraph cluster_examples {
|
|
149
|
+
label="GOOD VS BAD EXAMPLES";
|
|
150
|
+
|
|
151
|
+
// Good: specific and shaped correctly
|
|
152
|
+
"Test failed" [shape=ellipse];
|
|
153
|
+
"Read error message" [shape=box];
|
|
154
|
+
"Can reproduce?" [shape=diamond];
|
|
155
|
+
"git diff HEAD~1" [shape=plaintext];
|
|
156
|
+
"NEVER ignore errors" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
|
|
157
|
+
|
|
158
|
+
"Test failed" -> "Read error message";
|
|
159
|
+
"Read error message" -> "Can reproduce?";
|
|
160
|
+
"Can reproduce?" -> "git diff HEAD~1" [label="yes"];
|
|
161
|
+
|
|
162
|
+
// Bad: vague and wrong shapes
|
|
163
|
+
bad_1 [label="Something wrong", shape=box]; // Should be ellipse (state)
|
|
164
|
+
bad_2 [label="Fix it", shape=box]; // Too vague
|
|
165
|
+
bad_3 [label="Check", shape=box]; // Should be diamond
|
|
166
|
+
bad_4 [label="Run command", shape=box]; // Should be plaintext with actual command
|
|
167
|
+
|
|
168
|
+
bad_1 -> bad_2;
|
|
169
|
+
bad_2 -> bad_3;
|
|
170
|
+
bad_3 -> bad_4;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# Persuasion Principles for Skill Design
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
LLMs respond to the same persuasion principles as humans. Understanding this psychology helps you design more effective skills - not to manipulate, but to ensure critical practices are followed even under pressure.
|
|
6
|
+
|
|
7
|
+
**Research foundation:** Meincke et al. (2025) tested 7 persuasion principles with N=28,000 AI conversations. Persuasion techniques more than doubled compliance rates (33% → 72%, p < .001).
|
|
8
|
+
|
|
9
|
+
## The Seven Principles
|
|
10
|
+
|
|
11
|
+
### 1. Authority
|
|
12
|
+
**What it is:** Deference to expertise, credentials, or official sources.
|
|
13
|
+
|
|
14
|
+
**How it works in skills:**
|
|
15
|
+
- Imperative language: "YOU MUST", "Never", "Always"
|
|
16
|
+
- Non-negotiable framing: "No exceptions"
|
|
17
|
+
- Eliminates decision fatigue and rationalization
|
|
18
|
+
|
|
19
|
+
**When to use:**
|
|
20
|
+
- Discipline-enforcing skills (TDD, verification requirements)
|
|
21
|
+
- Safety-critical practices
|
|
22
|
+
- Established best practices
|
|
23
|
+
|
|
24
|
+
**Example:**
|
|
25
|
+
```markdown
|
|
26
|
+
✅ Write code before test? Delete it. Start over. No exceptions.
|
|
27
|
+
❌ Consider writing tests first when feasible.
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### 2. Commitment
|
|
31
|
+
**What it is:** Consistency with prior actions, statements, or public declarations.
|
|
32
|
+
|
|
33
|
+
**How it works in skills:**
|
|
34
|
+
- Require announcements: "Announce skill usage"
|
|
35
|
+
- Force explicit choices: "Choose A, B, or C"
|
|
36
|
+
- Use tracking: TodoWrite for checklists
|
|
37
|
+
|
|
38
|
+
**When to use:**
|
|
39
|
+
- Ensuring skills are actually followed
|
|
40
|
+
- Multi-step processes
|
|
41
|
+
- Accountability mechanisms
|
|
42
|
+
|
|
43
|
+
**Example:**
|
|
44
|
+
```markdown
|
|
45
|
+
✅ When you find a skill, you MUST announce: "I'm using [Skill Name]"
|
|
46
|
+
❌ Consider letting your partner know which skill you're using.
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### 3. Scarcity
|
|
50
|
+
**What it is:** Urgency from time limits or limited availability.
|
|
51
|
+
|
|
52
|
+
**How it works in skills:**
|
|
53
|
+
- Time-bound requirements: "Before proceeding"
|
|
54
|
+
- Sequential dependencies: "Immediately after X"
|
|
55
|
+
- Prevents procrastination
|
|
56
|
+
|
|
57
|
+
**When to use:**
|
|
58
|
+
- Immediate verification requirements
|
|
59
|
+
- Time-sensitive workflows
|
|
60
|
+
- Preventing "I'll do it later"
|
|
61
|
+
|
|
62
|
+
**Example:**
|
|
63
|
+
```markdown
|
|
64
|
+
✅ After completing a task, IMMEDIATELY request code review before proceeding.
|
|
65
|
+
❌ You can review code when convenient.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 4. Social Proof
|
|
69
|
+
**What it is:** Conformity to what others do or what's considered normal.
|
|
70
|
+
|
|
71
|
+
**How it works in skills:**
|
|
72
|
+
- Universal patterns: "Every time", "Always"
|
|
73
|
+
- Failure modes: "X without Y = failure"
|
|
74
|
+
- Establishes norms
|
|
75
|
+
|
|
76
|
+
**When to use:**
|
|
77
|
+
- Documenting universal practices
|
|
78
|
+
- Warning about common failures
|
|
79
|
+
- Reinforcing standards
|
|
80
|
+
|
|
81
|
+
**Example:**
|
|
82
|
+
```markdown
|
|
83
|
+
✅ Checklists without TodoWrite tracking = steps get skipped. Every time.
|
|
84
|
+
❌ Some people find TodoWrite helpful for checklists.
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 5. Unity
|
|
88
|
+
**What it is:** Shared identity, "we-ness", in-group belonging.
|
|
89
|
+
|
|
90
|
+
**How it works in skills:**
|
|
91
|
+
- Collaborative language: "our codebase", "we're colleagues"
|
|
92
|
+
- Shared goals: "we both want quality"
|
|
93
|
+
|
|
94
|
+
**When to use:**
|
|
95
|
+
- Collaborative workflows
|
|
96
|
+
- Establishing team culture
|
|
97
|
+
- Non-hierarchical practices
|
|
98
|
+
|
|
99
|
+
**Example:**
|
|
100
|
+
```markdown
|
|
101
|
+
✅ We're colleagues working together. I need your honest technical judgment.
|
|
102
|
+
❌ You should probably tell me if I'm wrong.
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### 6. Reciprocity
|
|
106
|
+
**What it is:** Obligation to return benefits received.
|
|
107
|
+
|
|
108
|
+
**How it works:**
|
|
109
|
+
- Use sparingly - can feel manipulative
|
|
110
|
+
- Rarely needed in skills
|
|
111
|
+
|
|
112
|
+
**When to avoid:**
|
|
113
|
+
- Almost always (other principles more effective)
|
|
114
|
+
|
|
115
|
+
### 7. Liking
|
|
116
|
+
**What it is:** Preference for cooperating with those we like.
|
|
117
|
+
|
|
118
|
+
**How it works:**
|
|
119
|
+
- **DON'T USE for compliance**
|
|
120
|
+
- Conflicts with honest feedback culture
|
|
121
|
+
- Creates sycophancy
|
|
122
|
+
|
|
123
|
+
**When to avoid:**
|
|
124
|
+
- Always for discipline enforcement
|
|
125
|
+
|
|
126
|
+
## Principle Combinations by Skill Type
|
|
127
|
+
|
|
128
|
+
| Skill Type | Use | Avoid |
|
|
129
|
+
|------------|-----|-------|
|
|
130
|
+
| Discipline-enforcing | Authority + Commitment + Social Proof | Liking, Reciprocity |
|
|
131
|
+
| Guidance/technique | Moderate Authority + Unity | Heavy authority |
|
|
132
|
+
| Collaborative | Unity + Commitment | Authority, Liking |
|
|
133
|
+
| Reference | Clarity only | All persuasion |
|
|
134
|
+
|
|
135
|
+
## Why This Works: The Psychology
|
|
136
|
+
|
|
137
|
+
**Bright-line rules reduce rationalization:**
|
|
138
|
+
- "YOU MUST" removes decision fatigue
|
|
139
|
+
- Absolute language eliminates "is this an exception?" questions
|
|
140
|
+
- Explicit anti-rationalization counters close specific loopholes
|
|
141
|
+
|
|
142
|
+
**Implementation intentions create automatic behavior:**
|
|
143
|
+
- Clear triggers + required actions = automatic execution
|
|
144
|
+
- "When X, do Y" more effective than "generally do Y"
|
|
145
|
+
- Reduces cognitive load on compliance
|
|
146
|
+
|
|
147
|
+
**LLMs are parahuman:**
|
|
148
|
+
- Trained on human text containing these patterns
|
|
149
|
+
- Authority language precedes compliance in training data
|
|
150
|
+
- Commitment sequences (statement → action) frequently modeled
|
|
151
|
+
- Social proof patterns (everyone does X) establish norms
|
|
152
|
+
|
|
153
|
+
## Ethical Use
|
|
154
|
+
|
|
155
|
+
**Legitimate:**
|
|
156
|
+
- Ensuring critical practices are followed
|
|
157
|
+
- Creating effective documentation
|
|
158
|
+
- Preventing predictable failures
|
|
159
|
+
|
|
160
|
+
**Illegitimate:**
|
|
161
|
+
- Manipulating for personal gain
|
|
162
|
+
- Creating false urgency
|
|
163
|
+
- Guilt-based compliance
|
|
164
|
+
|
|
165
|
+
**The test:** Would this technique serve the user's genuine interests if they fully understood it?
|
|
166
|
+
|
|
167
|
+
## Research Citations
|
|
168
|
+
|
|
169
|
+
**Cialdini, R. B. (2021).** *Influence: The Psychology of Persuasion (New and Expanded).* Harper Business.
|
|
170
|
+
- Seven principles of persuasion
|
|
171
|
+
- Empirical foundation for influence research
|
|
172
|
+
|
|
173
|
+
**Meincke, L., Shapiro, D., Duckworth, A. L., Mollick, E., Mollick, L., & Cialdini, R. (2025).** Call Me A Jerk: Persuading AI to Comply with Objectionable Requests. University of Pennsylvania.
|
|
174
|
+
- Tested 7 principles with N=28,000 LLM conversations
|
|
175
|
+
- Compliance increased 33% → 72% with persuasion techniques
|
|
176
|
+
- Authority, commitment, scarcity most effective
|
|
177
|
+
- Validates parahuman model of LLM behavior
|
|
178
|
+
|
|
179
|
+
## Quick Reference
|
|
180
|
+
|
|
181
|
+
When designing a skill, ask:
|
|
182
|
+
|
|
183
|
+
1. **What type is it?** (Discipline vs. guidance vs. reference)
|
|
184
|
+
2. **What behavior am I trying to change?**
|
|
185
|
+
3. **Which principle(s) apply?** (Usually authority + commitment for discipline)
|
|
186
|
+
4. **Am I combining too many?** (Don't use all seven)
|
|
187
|
+
5. **Is this ethical?** (Serves user's genuine interests?)
|
package/update.sh
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# ClaudeAll - Quick Update Script
|
|
3
|
+
# Sync latest config from GitHub
|
|
4
|
+
|
|
5
|
+
set -e
|
|
6
|
+
|
|
7
|
+
REPO_DIR="$HOME/.claude-all-config"
|
|
8
|
+
|
|
9
|
+
if [ ! -d "$REPO_DIR" ]; then
|
|
10
|
+
echo "❌ ClaudeAll not installed. Run install.sh first."
|
|
11
|
+
exit 1
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
echo "🔄 Updating ClaudeAll..."
|
|
15
|
+
cd "$REPO_DIR"
|
|
16
|
+
git pull origin main
|
|
17
|
+
|
|
18
|
+
echo "📋 Syncing to Claude..."
|
|
19
|
+
|
|
20
|
+
# Sync agents
|
|
21
|
+
cp -r agents/* "$HOME/.claude/agents/" 2>/dev/null || true
|
|
22
|
+
|
|
23
|
+
# Sync skills
|
|
24
|
+
cp -r skills/* "$HOME/.claude/skills/" 2>/dev/null || true
|
|
25
|
+
|
|
26
|
+
# Sync commands
|
|
27
|
+
cp -r commands/* "$HOME/.claude/commands/" 2>/dev/null || true
|
|
28
|
+
|
|
29
|
+
# Sync hooks
|
|
30
|
+
cp -r hooks/* "$HOME/.claude/hooks/" 2>/dev/null || true
|
|
31
|
+
chmod +x "$HOME/.claude/hooks/"*.sh 2>/dev/null || true
|
|
32
|
+
|
|
33
|
+
# Sync MCP config
|
|
34
|
+
cp mcp.json "$HOME/.mcp.json" 2>/dev/null || true
|
|
35
|
+
|
|
36
|
+
echo "✅ Updated! Restart Claude to apply changes."
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Superpowers Installation Checker
|
|
4
|
+
# Verifies Superpowers integration with Claude
|
|
5
|
+
|
|
6
|
+
GREEN='\033[0;32m'
|
|
7
|
+
BLUE='\033[0;34m'
|
|
8
|
+
YELLOW='\033[1;33m'
|
|
9
|
+
RED='\033[0;31m'
|
|
10
|
+
NC='\033[0m'
|
|
11
|
+
|
|
12
|
+
echo -e "${BLUE}🔍 Checking Superpowers Integration${NC}"
|
|
13
|
+
echo "===================================="
|
|
14
|
+
echo ""
|
|
15
|
+
|
|
16
|
+
CLAUDE_DIR="$HOME/.claude"
|
|
17
|
+
SUPERPOWERS_DIR="$CLAUDE_DIR/plugins/superpowers"
|
|
18
|
+
|
|
19
|
+
# Check if directories exist
|
|
20
|
+
echo -e "${BLUE}Directory Structure:${NC}"
|
|
21
|
+
dirs_exist=0
|
|
22
|
+
|
|
23
|
+
if [[ -d "$CLAUDE_DIR" ]]; then
|
|
24
|
+
echo -e " ${GREEN}✓${NC} Claude directory: $CLAUDE_DIR"
|
|
25
|
+
((dirs_exist++))
|
|
26
|
+
else
|
|
27
|
+
echo -e " ${RED}✗${NC} Claude directory not found"
|
|
28
|
+
fi
|
|
29
|
+
|
|
30
|
+
if [[ -d "$SUPERPOWERS_DIR" ]]; then
|
|
31
|
+
echo -e " ${GREEN}✓${NC} Superpowers components: $SUPERPOWERS_DIR"
|
|
32
|
+
((dirs_exist++))
|
|
33
|
+
else
|
|
34
|
+
echo -e " ${RED}✗${NC} Superpowers components not found"
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
# Check skills
|
|
38
|
+
if [[ -d "$CLAUDE_DIR/skills" ]]; then
|
|
39
|
+
skill_count=$(find "$CLAUDE_DIR/skills" -maxdepth 1 -type d | wc -l)
|
|
40
|
+
skill_count=$((skill_count - 1)) # Subtract parent directory
|
|
41
|
+
echo -e " ${GREEN}✓${NC} Skills directory: $skill_count skills"
|
|
42
|
+
((dirs_exist++))
|
|
43
|
+
else
|
|
44
|
+
echo -e " ${RED}✗${NC} Skills directory not found"
|
|
45
|
+
fi
|
|
46
|
+
|
|
47
|
+
# Check other components
|
|
48
|
+
echo ""
|
|
49
|
+
echo -e "${BLUE}Components:${NC}"
|
|
50
|
+
|
|
51
|
+
components=(
|
|
52
|
+
"agents:Specialized agents"
|
|
53
|
+
"commands:Core commands"
|
|
54
|
+
"hooks:Workflow hooks"
|
|
55
|
+
"lib:Core library"
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
for comp in "${components[@]}"; do
|
|
59
|
+
name=$(echo $comp | cut -d: -f1)
|
|
60
|
+
desc=$(echo $comp | cut -d: -f2)
|
|
61
|
+
|
|
62
|
+
if [[ -d "$CLAUDE_DIR/$name" ]]; then
|
|
63
|
+
file_count=$(find "$CLAUDE_DIR/$name" -type f | wc -l)
|
|
64
|
+
echo -e " ${GREEN}✓${NC} $desc: $file_count files"
|
|
65
|
+
else
|
|
66
|
+
echo -e " ${RED}✗${NC} $desc: Not found"
|
|
67
|
+
fi
|
|
68
|
+
done
|
|
69
|
+
|
|
70
|
+
# Check specific important files
|
|
71
|
+
echo ""
|
|
72
|
+
echo -e "${BLUE}Key Files:${NC}"
|
|
73
|
+
|
|
74
|
+
key_files=(
|
|
75
|
+
"$CLAUDE_DIR/lib/skills-core.js:Core library"
|
|
76
|
+
"$CLAUDE_DIR/hooks/hooks.json:Hooks config"
|
|
77
|
+
"$CLAUDE_DIR/commands/brainstorm.md:Brainstorm command"
|
|
78
|
+
"$CLAUDE_DIR/skills/brainstorming/SKILL.md:Brainstorm skill"
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
for file in "${key_files[@]}"; do
|
|
82
|
+
path=$(echo $file | cut -d: -f1)
|
|
83
|
+
desc=$(echo $file | cut -d: -f2)
|
|
84
|
+
|
|
85
|
+
if [[ -f "$path" ]]; then
|
|
86
|
+
echo -e " ${GREEN}✓${NC} $desc"
|
|
87
|
+
else
|
|
88
|
+
echo -e " ${RED}✗${NC} $desc: Missing"
|
|
89
|
+
fi
|
|
90
|
+
done
|
|
91
|
+
|
|
92
|
+
# Summary
|
|
93
|
+
echo ""
|
|
94
|
+
echo -e "${BLUE}Summary:${NC}"
|
|
95
|
+
|
|
96
|
+
if [[ $dirs_exist -eq 3 ]]; then
|
|
97
|
+
echo -e "${GREEN}✅ Superpowers is fully integrated!${NC}"
|
|
98
|
+
echo ""
|
|
99
|
+
echo -e "${BLUE}Usage:${NC}"
|
|
100
|
+
echo " claude"
|
|
101
|
+
echo " /superpowers:brainstorm # Design refinement"
|
|
102
|
+
echo " /superpowers:write-plan # Implementation plan"
|
|
103
|
+
echo " /superpowers:execute-plan # Execute workflow"
|
|
104
|
+
echo ""
|
|
105
|
+
echo -e "${YELLOW}To reinstall Superpowers:${NC}"
|
|
106
|
+
echo " curl -fsSL https://raw.githubusercontent.com/zesbe/Claude-All-New/main/utils/install-curl.sh | bash"
|
|
107
|
+
else
|
|
108
|
+
echo -e "${RED}❌ Superpowers integration incomplete${NC}"
|
|
109
|
+
echo ""
|
|
110
|
+
echo -e "${YELLOW}To install Superpowers:${NC}"
|
|
111
|
+
echo " curl -fsSL https://raw.githubusercontent.com/zesbe/Claude-All-New/main/utils/install-curl.sh | bash"
|
|
112
|
+
fi
|
|
113
|
+
|
|
114
|
+
echo ""
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# Claude-All Branding Guide
|
|
2
|
+
|
|
3
|
+
## 🎯 Lokasi File yang Bisa Diedit
|
|
4
|
+
|
|
5
|
+
### 1. Main Script
|
|
6
|
+
```bash
|
|
7
|
+
~/.local/bin/claude-all
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
**Edit di line sekitar:**
|
|
11
|
+
- Line 60: `echo -e "${BLUE}Claude Code Multi-Model Launcher${NC}"`
|
|
12
|
+
- Line 65: Menu items text
|
|
13
|
+
- Line 286: System prompt text
|
|
14
|
+
|
|
15
|
+
### 2. Model Display Names
|
|
16
|
+
Edit files di `~/.local/bin/model/*.json`:
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"provider": "Custom Name",
|
|
20
|
+
"model": "custom-model",
|
|
21
|
+
"display_name": "Your Brand Name"
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### 3. ASCII Art Banner
|
|
26
|
+
Tambah di awal claude-all script:
|
|
27
|
+
```bash
|
|
28
|
+
cat << 'EOF'
|
|
29
|
+
${CYAN}
|
|
30
|
+
╔════════════════════════════════════════╗
|
|
31
|
+
║ ║
|
|
32
|
+
║ █▀▀ █ █ █▀▀ █▀▀ █▀▀ █▀█ █▀▀ █▀▀ ║
|
|
33
|
+
║ █▀▀ █▀▀ █▀ █▀ ▀▀█ █▀▀ █▀ █▀ ║
|
|
34
|
+
║ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀▀▀ ▀▀▀ ║
|
|
35
|
+
║ ║
|
|
36
|
+
║ MULTI-PROVIDER AI LAUNCHER ║
|
|
37
|
+
╚════════════════════════════════════════╝
|
|
38
|
+
${NC}
|
|
39
|
+
EOF
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 4. Custom ASCII Art Generator
|
|
43
|
+
```python
|
|
44
|
+
# Python script untuk generate ASCII art
|
|
45
|
+
# Save sebagai generate-art.py
|
|
46
|
+
from pyfiglet import Figlet
|
|
47
|
+
import sys
|
|
48
|
+
|
|
49
|
+
text = " ".join(sys.argv[1:]) if len(sys.argv) > 1 else "Claude-All"
|
|
50
|
+
font = Figlet(font='slant')
|
|
51
|
+
|
|
52
|
+
print(font.renderText(text))
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Usage:
|
|
56
|
+
```bash
|
|
57
|
+
python3 generate-art.py "YOUR BRAND"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 5. Color Customization
|
|
61
|
+
Ganti color variables di claude-all:
|
|
62
|
+
```bash
|
|
63
|
+
# Line sekitar 19-23
|
|
64
|
+
GREEN='\033[0;32m'
|
|
65
|
+
BLUE='\033[0;34m' # Ganti ke brand color
|
|
66
|
+
YELLOW='\033[1;33m' # Ganti ke accent color
|
|
67
|
+
RED='\033[0;31m'
|
|
68
|
+
PURPLE='\033[0;35m' # Tambah color baru
|
|
69
|
+
CYAN='\033[0;36m' # Tambah color baru
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## 🎭 Contoh Branding
|
|
73
|
+
|
|
74
|
+
### Example 1: "AI-Master"
|
|
75
|
+
```bash
|
|
76
|
+
# Ubah nama executable
|
|
77
|
+
mv ~/.local/bin/claude-all ~/.local/bin/ai-master
|
|
78
|
+
|
|
79
|
+
# Edit banner
|
|
80
|
+
echo -e "${PURPLE}┌─────────────────────────────────┐${NC}"
|
|
81
|
+
echo -e "${PURPLE}│ AI-MASTER v7.0 │${NC}"
|
|
82
|
+
echo -e "${PURPLE}│ Advanced AI Tools Suite │${NC}"
|
|
83
|
+
echo -e "${PURPLE}└─────────────────────────────────┘${NC}"
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Example 2: "Neural-CLI"
|
|
87
|
+
```bash
|
|
88
|
+
# Dengan ASCII art
|
|
89
|
+
echo -e "${CYAN}"
|
|
90
|
+
echo " _ _ _ _ _ _ _ _"
|
|
91
|
+
echo " / \ / \ / \ / \ / \ / \ / \ / \ "
|
|
92
|
+
echo "| N | E | U | R | A | L | - | C | L | I |"
|
|
93
|
+
echo " \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/"
|
|
94
|
+
echo "${NC}"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Example 3: Custom Prompt
|
|
98
|
+
```bash
|
|
99
|
+
# Edit system prompt
|
|
100
|
+
local system_prompt="You are ALEX, an advanced AI assistant powered by $model_name. Always respond professionally and helpfully."
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## ⚠️ Peringatan
|
|
104
|
+
|
|
105
|
+
### Yang TIDAK Boleh Diedit:
|
|
106
|
+
- API endpoint configurations
|
|
107
|
+
- Core logic untuk model switching
|
|
108
|
+
- Authentication flows
|
|
109
|
+
- Error handling mechanisms
|
|
110
|
+
|
|
111
|
+
### Yang BOLEH Diedit:
|
|
112
|
+
- Display text dan banners
|
|
113
|
+
- Color schemes
|
|
114
|
+
- ASCII art
|
|
115
|
+
- System prompts
|
|
116
|
+
- Command names
|
|
117
|
+
|
|
118
|
+
### Backup Selalu!
|
|
119
|
+
```bash
|
|
120
|
+
# Sebelum edit
|
|
121
|
+
cp ~/.local/bin/claude-all ~/.local/bin/claude-all.backup
|
|
122
|
+
|
|
123
|
+
# Untuk restore
|
|
124
|
+
cp ~/.local/bin/claude-all.backup ~/.local/bin/claude-all
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## 🛠️ Tools yang Bisa Digunakan
|
|
128
|
+
|
|
129
|
+
1. **ASCII Art Generator**
|
|
130
|
+
- Online: https://patorjk.com/software/taag/
|
|
131
|
+
- Python: pip install pyfiglet
|
|
132
|
+
|
|
133
|
+
2. **Color Picker**
|
|
134
|
+
- https://bash-prompt-generator.org/
|
|
135
|
+
- https://quickref.me/bash-colors
|
|
136
|
+
|
|
137
|
+
3. **Testing**
|
|
138
|
+
```bash
|
|
139
|
+
# Test output di terminal
|
|
140
|
+
echo -e "\033[0;31mRed Text\033[0m"
|
|
141
|
+
echo -e "\033[1;33mBold Yellow\033[0m"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## 📝 Template Custom Brand
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
#!/usr/bin/env bash
|
|
148
|
+
# Template untuk custom branded claude-all
|
|
149
|
+
|
|
150
|
+
# === CONFIGURATION ===
|
|
151
|
+
BRAND_NAME="YOUR-BRAND"
|
|
152
|
+
BRAND_COLOR="\033[0;35m" # Purple
|
|
153
|
+
ACCENT_COLOR="\033[0;33m" # Yellow
|
|
154
|
+
|
|
155
|
+
# === BANNER ===
|
|
156
|
+
echo -e "${BRAND_COLOR}"
|
|
157
|
+
cat << 'EOF'
|
|
158
|
+
╔════════════════════════════════════════╗
|
|
159
|
+
║ ║
|
|
160
|
+
║ YOUR-BRAND AI TOOLS ║
|
|
161
|
+
║ Advanced AI Interface ║
|
|
162
|
+
║ ║
|
|
163
|
+
╚════════════════════════════════════════╝
|
|
164
|
+
EOF
|
|
165
|
+
echo -e "${NC}"
|
|
166
|
+
```
|