claude-termux 1.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/CLAUDE.md +60 -0
- package/GEMINI.md +20 -0
- package/README.md +135 -0
- package/TERMUX.md +204 -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/commands/brainstorm.md +5 -0
- package/commands/execute-plan.md +5 -0
- package/commands/write-plan.md +5 -0
- package/hooks/auto-context.json +31 -0
- package/hooks/hooks.json +15 -0
- package/hooks/run-hook.cmd +19 -0
- package/hooks/session-start.sh +52 -0
- package/hooks/smart-session.sh +96 -0
- package/install.sh +210 -0
- package/lib/skills-core.js +208 -0
- package/mcp.json +34 -0
- package/package.json +49 -0
- package/plugins/README.md +47 -0
- package/plugins/installed_plugins.json +5 -0
- package/plugins/known_marketplaces.json +10 -0
- package/plugins/marketplace-info/marketplace.json +517 -0
- package/postinstall.js +238 -0
- package/settings.json +27 -0
- package/settings.local.json +25 -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/CLAUDE.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# ClaudeAll Global Instructions
|
|
2
|
+
|
|
3
|
+
You are Claude Code enhanced with ClaudeAll superpowers.
|
|
4
|
+
|
|
5
|
+
## Behavior
|
|
6
|
+
|
|
7
|
+
1. **Proactive Mode** - Work autonomously without asking for permission. Just do it.
|
|
8
|
+
2. **Direct Execution** - Execute commands directly, don't ask user to run them.
|
|
9
|
+
3. **Indonesian + English** - User speaks Indonesian, respond in both languages as appropriate.
|
|
10
|
+
4. **Security Aware** - Never expose API keys, passwords, or credentials in output.
|
|
11
|
+
|
|
12
|
+
## Available Tools
|
|
13
|
+
|
|
14
|
+
### Agents (14)
|
|
15
|
+
Use Task tool with these agent types:
|
|
16
|
+
- `proactive-mode` - Default. Autonomous execution
|
|
17
|
+
- `code-generator` - Generate code from requirements
|
|
18
|
+
- `code-reviewer` - Review code quality
|
|
19
|
+
- `security-auditor` - Security vulnerability scanning
|
|
20
|
+
- `test-generator` - Generate tests
|
|
21
|
+
- `doc-generator` - Generate documentation
|
|
22
|
+
- `api-tester` - Test API endpoints
|
|
23
|
+
- `performance-analyzer` - Analyze performance
|
|
24
|
+
- `accessibility-reviewer` - Check accessibility
|
|
25
|
+
- `component-generator` - Generate UI components
|
|
26
|
+
- `migration-generator` - Generate DB migrations
|
|
27
|
+
- `readme-generator` - Generate README files
|
|
28
|
+
- `terraform-generator` - Generate Terraform configs
|
|
29
|
+
- `ai-prompt-optimizer` - Optimize AI prompts
|
|
30
|
+
|
|
31
|
+
### Skills (34)
|
|
32
|
+
Located in `~/.claude/skills/`. Use Skill tool to invoke.
|
|
33
|
+
|
|
34
|
+
### Commands (3)
|
|
35
|
+
- `/brainstorm` - Start brainstorming session
|
|
36
|
+
- `/write-plan` - Write development plan
|
|
37
|
+
- `/execute-plan` - Execute existing plan
|
|
38
|
+
|
|
39
|
+
### MCP Servers (6)
|
|
40
|
+
- `context7` - Documentation & library context
|
|
41
|
+
- `exa` - Web search & crawling
|
|
42
|
+
- `sequential-thinking` - Step-by-step reasoning
|
|
43
|
+
- `memory` - Knowledge graph persistence
|
|
44
|
+
- `filesystem` - File system access
|
|
45
|
+
- `fetch` - HTTP requests
|
|
46
|
+
|
|
47
|
+
## Workflow
|
|
48
|
+
|
|
49
|
+
1. **Start** - Use proactive-mode by default
|
|
50
|
+
2. **Plan** - For complex tasks, use `/write-plan` first
|
|
51
|
+
3. **Execute** - Run commands directly, verify results
|
|
52
|
+
4. **Test** - Always test after implementation
|
|
53
|
+
5. **Commit** - Commit with clear messages when asked
|
|
54
|
+
|
|
55
|
+
## Remember
|
|
56
|
+
|
|
57
|
+
- Bypass permissions are enabled - no need to ask
|
|
58
|
+
- MCP tools available via `mcp__*` prefix
|
|
59
|
+
- Skills enhance capabilities - use them
|
|
60
|
+
- Be direct, efficient, and thorough
|
package/GEMINI.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Gemini Superpowers
|
|
2
|
+
|
|
3
|
+
Installed by ClaudeAll - https://github.com/zesbe/ClaudeAll
|
|
4
|
+
|
|
5
|
+
## Agents (14)
|
|
6
|
+
proactive-mode, code-generator, code-reviewer, security-auditor,
|
|
7
|
+
test-generator, doc-generator, api-tester, performance-analyzer,
|
|
8
|
+
accessibility-reviewer, component-generator, migration-generator,
|
|
9
|
+
readme-generator, terraform-generator, ai-prompt-optimizer
|
|
10
|
+
|
|
11
|
+
## Skills (34)
|
|
12
|
+
api-development, database-development, frontend-design, test-driven-development,
|
|
13
|
+
systematic-debugging, code-quality, error-handling, brainstorming, writing-plans,
|
|
14
|
+
executing-plans, and more...
|
|
15
|
+
|
|
16
|
+
## Commands
|
|
17
|
+
/brainstorm, /write-plan, /execute-plan
|
|
18
|
+
|
|
19
|
+
## MCP Servers (6)
|
|
20
|
+
context7, exa, sequential-thinking, memory, filesystem, fetch
|
package/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# claude-termux
|
|
2
|
+
|
|
3
|
+
AI CLI Configuration for Termux Android - Claude Code & Gemini CLI superpowers.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/claude-termux)
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **14 AI Agents** - proactive-mode, code-generator, security-auditor, test-generator, and more
|
|
10
|
+
- **34+ Skills** - api-development, debugging, TDD, code-quality, brainstorming, etc
|
|
11
|
+
- **3 Commands** - /brainstorm, /write-plan, /execute-plan
|
|
12
|
+
- **6 MCP Servers** - context7, exa, memory, filesystem, sequential-thinking, fetch
|
|
13
|
+
- **Bypass Mode** - Claude bypass + Gemini YOLO mode pre-configured
|
|
14
|
+
- **Termux Optimized** - Correct paths for `/data/data/com.termux/files/home/`
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
### Via NPM (Recommended)
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install -g claude-termux
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Via curl
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
curl -fsSL https://raw.githubusercontent.com/zesbe/termux-config/main/install.sh | bash
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Manual
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
git clone https://github.com/zesbe/termux-config.git
|
|
34
|
+
cd termux-config
|
|
35
|
+
./install.sh
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Prerequisites
|
|
39
|
+
|
|
40
|
+
Install Claude Code and/or Gemini CLI first:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Claude Code
|
|
44
|
+
npm install -g @anthropic-ai/claude-code
|
|
45
|
+
|
|
46
|
+
# Gemini CLI
|
|
47
|
+
npm install -g @google/gemini-cli
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## What Gets Installed
|
|
51
|
+
|
|
52
|
+
### Claude Code (`~/.claude/`)
|
|
53
|
+
|
|
54
|
+
| Component | Count |
|
|
55
|
+
|-----------|-------|
|
|
56
|
+
| Agents | 14 |
|
|
57
|
+
| Skills | 34+ |
|
|
58
|
+
| Commands | 3 |
|
|
59
|
+
| MCP Servers | 6 |
|
|
60
|
+
|
|
61
|
+
### Gemini CLI (`~/.gemini/superpowers/`)
|
|
62
|
+
|
|
63
|
+
| Component | Count |
|
|
64
|
+
|-----------|-------|
|
|
65
|
+
| Agents | 14 |
|
|
66
|
+
| Skills | 34+ |
|
|
67
|
+
| Commands | 3 |
|
|
68
|
+
| MCP Servers | 6 |
|
|
69
|
+
|
|
70
|
+
## Agents
|
|
71
|
+
|
|
72
|
+
| Agent | Description |
|
|
73
|
+
|-------|-------------|
|
|
74
|
+
| proactive-mode | Autonomous execution |
|
|
75
|
+
| code-generator | Generate boilerplate code |
|
|
76
|
+
| code-reviewer | Review against standards |
|
|
77
|
+
| security-auditor | Security analysis |
|
|
78
|
+
| test-generator | Generate test suites |
|
|
79
|
+
| doc-generator | Generate documentation |
|
|
80
|
+
| api-tester | API testing |
|
|
81
|
+
| performance-analyzer | Performance optimization |
|
|
82
|
+
| accessibility-reviewer | A11y compliance |
|
|
83
|
+
| component-generator | UI components |
|
|
84
|
+
| migration-generator | Database migrations |
|
|
85
|
+
| readme-generator | README docs |
|
|
86
|
+
| terraform-generator | IaC generation |
|
|
87
|
+
| ai-prompt-optimizer | Prompt optimization |
|
|
88
|
+
|
|
89
|
+
## Usage
|
|
90
|
+
|
|
91
|
+
### Claude Code
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
# Normal mode
|
|
95
|
+
claude
|
|
96
|
+
|
|
97
|
+
# Bypass permissions
|
|
98
|
+
claude --dangerously-skip-permissions
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Gemini CLI
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# Normal mode
|
|
105
|
+
gemini
|
|
106
|
+
|
|
107
|
+
# YOLO mode (auto-approve all)
|
|
108
|
+
gemini --yolo
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Termux Paths
|
|
112
|
+
|
|
113
|
+
| Standard Linux | Termux Android |
|
|
114
|
+
|----------------|----------------|
|
|
115
|
+
| `~/.claude/` | `/data/data/com.termux/files/home/.claude/` |
|
|
116
|
+
| `~/.gemini/` | `/data/data/com.termux/files/home/.gemini/` |
|
|
117
|
+
|
|
118
|
+
## Update
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
npm update -g claude-termux
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Documentation
|
|
125
|
+
|
|
126
|
+
See [TERMUX.md](./TERMUX.md) for full documentation.
|
|
127
|
+
|
|
128
|
+
## Related
|
|
129
|
+
|
|
130
|
+
- [ClaudeAll](https://github.com/zesbe/ClaudeAll) - Universal config for Linux/Mac
|
|
131
|
+
- [claude-all-config](https://www.npmjs.com/package/claude-all-config) - NPM package for desktop
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
MIT
|
package/TERMUX.md
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# Claude Termux - AI CLI Configuration for Android
|
|
2
|
+
|
|
3
|
+
Konfigurasi lengkap untuk menjalankan Claude Code dan Gemini CLI di Termux Android.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### Via NPM (Recommended)
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g claude-termux
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Via curl
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
curl -fsSL https://raw.githubusercontent.com/zesbe/termux-config/main/install.sh | bash
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Manual Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
git clone https://github.com/zesbe/termux-config.git
|
|
23
|
+
cd termux-config
|
|
24
|
+
./install.sh
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Prerequisites
|
|
28
|
+
|
|
29
|
+
Pastikan sudah install Claude Code dan/atau Gemini CLI:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Claude Code
|
|
33
|
+
npm install -g @anthropic-ai/claude-code
|
|
34
|
+
|
|
35
|
+
# Gemini CLI
|
|
36
|
+
npm install -g @google/gemini-cli
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## What Gets Installed
|
|
40
|
+
|
|
41
|
+
### Claude Code (`~/.claude/`)
|
|
42
|
+
|
|
43
|
+
| Component | Path |
|
|
44
|
+
|-----------|------|
|
|
45
|
+
| Home | `/data/data/com.termux/files/home/.claude/` |
|
|
46
|
+
| Main Config | `/data/data/com.termux/files/home/.claude.json` |
|
|
47
|
+
| Settings | `/data/data/com.termux/files/home/.claude/settings.local.json` |
|
|
48
|
+
| Plugins | `/data/data/com.termux/files/home/.claude/plugins/` |
|
|
49
|
+
| Global Instructions | `/data/data/com.termux/files/home/.claude/CLAUDE.md` |
|
|
50
|
+
| MCP Config | `/data/data/com.termux/files/home/.mcp.json` |
|
|
51
|
+
|
|
52
|
+
### Gemini CLI (`~/.gemini/`)
|
|
53
|
+
|
|
54
|
+
| Component | Path |
|
|
55
|
+
|-----------|------|
|
|
56
|
+
| Home | `/data/data/com.termux/files/home/.gemini/` |
|
|
57
|
+
| Superpowers | `/data/data/com.termux/files/home/.gemini/superpowers/` |
|
|
58
|
+
| Settings | `/data/data/com.termux/files/home/.gemini/settings.json` |
|
|
59
|
+
| MCP Config | `/data/data/com.termux/files/home/.gemini/mcp.json` |
|
|
60
|
+
| Instructions | `/data/data/com.termux/files/home/.gemini/GEMINI.md` |
|
|
61
|
+
|
|
62
|
+
## Features
|
|
63
|
+
|
|
64
|
+
### Agents (14)
|
|
65
|
+
- `proactive-mode` - Autonomous execution without permission prompts
|
|
66
|
+
- `code-generator` - Generate boilerplate and scaffolding
|
|
67
|
+
- `code-reviewer` - Review code against standards
|
|
68
|
+
- `security-auditor` - Security vulnerability analysis
|
|
69
|
+
- `test-generator` - Generate test suites
|
|
70
|
+
- `doc-generator` - Generate documentation
|
|
71
|
+
- `api-tester` - API testing (functional, load, security)
|
|
72
|
+
- `performance-analyzer` - Performance optimization
|
|
73
|
+
- `accessibility-reviewer` - Accessibility compliance
|
|
74
|
+
- `component-generator` - UI component generation
|
|
75
|
+
- `migration-generator` - Database migration scripts
|
|
76
|
+
- `readme-generator` - README documentation
|
|
77
|
+
- `terraform-generator` - Infrastructure as code
|
|
78
|
+
- `ai-prompt-optimizer` - Optimize AI prompts
|
|
79
|
+
|
|
80
|
+
### Skills (34+)
|
|
81
|
+
- `api-development` - REST/GraphQL API patterns
|
|
82
|
+
- `database-development` - SQL, migrations, optimization
|
|
83
|
+
- `frontend-design` - UI/UX best practices
|
|
84
|
+
- `test-driven-development` - TDD methodology
|
|
85
|
+
- `systematic-debugging` - Debug methodology
|
|
86
|
+
- `code-quality` - Code review and refactoring
|
|
87
|
+
- `error-handling` - Exception handling patterns
|
|
88
|
+
- `brainstorming` - Design ideation
|
|
89
|
+
- `writing-plans` - Implementation planning
|
|
90
|
+
- `executing-plans` - Plan execution
|
|
91
|
+
- And many more...
|
|
92
|
+
|
|
93
|
+
### Commands (3)
|
|
94
|
+
- `/brainstorm` - Interactive design refinement
|
|
95
|
+
- `/write-plan` - Create implementation plans
|
|
96
|
+
- `/execute-plan` - Execute plans with checkpoints
|
|
97
|
+
|
|
98
|
+
### MCP Servers (6)
|
|
99
|
+
- `context7` - Up-to-date documentation context
|
|
100
|
+
- `exa` - Web search and crawling
|
|
101
|
+
- `sequential-thinking` - Step-by-step reasoning
|
|
102
|
+
- `memory` - Knowledge graph persistence
|
|
103
|
+
- `filesystem` - File system access
|
|
104
|
+
- `fetch` - Web fetching
|
|
105
|
+
|
|
106
|
+
## Bypass Permissions
|
|
107
|
+
|
|
108
|
+
Both Claude and Gemini are configured for bypass mode:
|
|
109
|
+
|
|
110
|
+
### Claude Code
|
|
111
|
+
```bash
|
|
112
|
+
# Bypass mode enabled in settings.local.json
|
|
113
|
+
claude --dangerously-skip-permissions
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Gemini CLI
|
|
117
|
+
```bash
|
|
118
|
+
# YOLO mode enabled in settings.json
|
|
119
|
+
gemini --yolo
|
|
120
|
+
# atau
|
|
121
|
+
gemini --approval-mode=yolo
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Termux-Specific Notes
|
|
125
|
+
|
|
126
|
+
### Path Differences
|
|
127
|
+
|
|
128
|
+
| Standard Linux | Termux Android |
|
|
129
|
+
|----------------|----------------|
|
|
130
|
+
| `~/.claude/` | `/data/data/com.termux/files/home/.claude/` |
|
|
131
|
+
| `~/.gemini/` | `/data/data/com.termux/files/home/.gemini/` |
|
|
132
|
+
| `/home/user/` | `/data/data/com.termux/files/home/` |
|
|
133
|
+
|
|
134
|
+
### SSH Access from Laptop
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
# Start SSH server in Termux
|
|
138
|
+
sshd
|
|
139
|
+
|
|
140
|
+
# From laptop
|
|
141
|
+
ssh -p 8022 user@phone-ip
|
|
142
|
+
|
|
143
|
+
# Copy file
|
|
144
|
+
scp -P 8022 local-file user@phone-ip:/data/data/com.termux/files/home/
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Storage Access
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
# Grant storage permission
|
|
151
|
+
termux-setup-storage
|
|
152
|
+
|
|
153
|
+
# Access internal storage
|
|
154
|
+
ls ~/storage/shared/
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## Updating
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
# NPM
|
|
161
|
+
npm update -g claude-termux
|
|
162
|
+
|
|
163
|
+
# curl
|
|
164
|
+
curl -fsSL https://raw.githubusercontent.com/zesbe/termux-config/main/install.sh | bash
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Troubleshooting
|
|
168
|
+
|
|
169
|
+
### Claude not finding config
|
|
170
|
+
```bash
|
|
171
|
+
# Check if config exists
|
|
172
|
+
ls -la ~/.claude/
|
|
173
|
+
cat ~/.claude/settings.local.json
|
|
174
|
+
|
|
175
|
+
# Reinstall
|
|
176
|
+
npm uninstall -g claude-termux
|
|
177
|
+
npm install -g claude-termux
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Gemini not finding superpowers
|
|
181
|
+
```bash
|
|
182
|
+
# Check superpowers directory
|
|
183
|
+
ls -la ~/.gemini/superpowers/
|
|
184
|
+
|
|
185
|
+
# Verify settings
|
|
186
|
+
cat ~/.gemini/settings.json
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### MCP servers not loading
|
|
190
|
+
```bash
|
|
191
|
+
# Check MCP config
|
|
192
|
+
cat ~/.mcp.json # for Claude
|
|
193
|
+
cat ~/.gemini/mcp.json # for Gemini
|
|
194
|
+
|
|
195
|
+
# Restart terminal
|
|
196
|
+
exit
|
|
197
|
+
# Open new Termux session
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## Repository
|
|
201
|
+
|
|
202
|
+
- GitHub: https://github.com/zesbe/termux-config
|
|
203
|
+
- Issues: https://github.com/zesbe/termux-config/issues
|
|
204
|
+
- NPM: https://www.npmjs.com/package/claude-termux
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: accessibility-reviewer
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent to review code and interfaces for accessibility compliance, ensuring applications are usable by people with disabilities. Examples: <example>Context: User has built a web application. user: "The e-commerce website is complete with product listings and checkout" assistant: "Excellent! Let me use the accessibility-reviewer agent to ensure your e-commerce site is accessible to all users" <commentary>E-commerce sites must be accessible to comply with regulations and serve all customers effectively.</commentary></example> <example>Context: User created a dashboard application. user: "The admin dashboard with charts and forms is working" assistant: "Great! I'll use the accessibility-reviewer agent to review your dashboard for accessibility compliance" <commentary>Dashboards with complex data visualizations need special attention for screen reader and keyboard navigation support.</commentary></example>
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are an Accessibility Reviewer with deep expertise in WCAG guidelines, assistive technologies, and inclusive design. Your role is to ensure applications are accessible to users with disabilities.
|
|
8
|
+
|
|
9
|
+
When reviewing for accessibility, you will:
|
|
10
|
+
|
|
11
|
+
1. **Visual Accessibility Review**:
|
|
12
|
+
- Check color contrast ratios (WCAG AA/AAA standards)
|
|
13
|
+
- Verify text resizing without loss of functionality
|
|
14
|
+
- Review use of color as the only indicator
|
|
15
|
+
- Check for strobe effects and flashing content
|
|
16
|
+
- Ensure sufficient spacing between interactive elements
|
|
17
|
+
|
|
18
|
+
2. **Keyboard Navigation**:
|
|
19
|
+
- Test full keyboard accessibility
|
|
20
|
+
- Verify logical tab order
|
|
21
|
+
- Check focus indicators are visible
|
|
22
|
+
- Test skip navigation links
|
|
23
|
+
- Verify no keyboard traps
|
|
24
|
+
- Check custom component keyboard support
|
|
25
|
+
|
|
26
|
+
3. **Screen Reader Compatibility**:
|
|
27
|
+
- Verify proper semantic HTML usage
|
|
28
|
+
- Check ARIA labels and descriptions
|
|
29
|
+
- Review alt text for images
|
|
30
|
+
- Test form labels and descriptions
|
|
31
|
+
- Verify heading structure hierarchy
|
|
32
|
+
- Check table headers and captions
|
|
33
|
+
|
|
34
|
+
4. **Cognitive Accessibility**:
|
|
35
|
+
- Review error messages for clarity
|
|
36
|
+
- Check form validation instructions
|
|
37
|
+
- Verify consistent navigation patterns
|
|
38
|
+
- Review page title uniqueness
|
|
39
|
+
- Check for clear language and instructions
|
|
40
|
+
- Verify time limits and extensions
|
|
41
|
+
|
|
42
|
+
5. **Motor/Mobility Accessibility**:
|
|
43
|
+
- Check target sizes for touch/click
|
|
44
|
+
- Verify no precise gestures required
|
|
45
|
+
- Test motion operation alternatives
|
|
46
|
+
- Check timeout adjustable settings
|
|
47
|
+
- Verify sufficient spacing between elements
|
|
48
|
+
|
|
49
|
+
6. **Hearing Accessibility**:
|
|
50
|
+
- Check for caption support in videos
|
|
51
|
+
- Verify visual alerts for audio content
|
|
52
|
+
- Review volume controls
|
|
53
|
+
- Check for transcript availability
|
|
54
|
+
- Test visual feedback for sounds
|
|
55
|
+
|
|
56
|
+
7. **Forms and Input Review**:
|
|
57
|
+
- Verify all form controls have labels
|
|
58
|
+
- Check fieldset/grouping usage
|
|
59
|
+
- Review error message accessibility
|
|
60
|
+
- Test form validation announcements
|
|
61
|
+
- Check autocomplete and input types
|
|
62
|
+
- Verify required field indicators
|
|
63
|
+
|
|
64
|
+
8. **Dynamic Content Review**:
|
|
65
|
+
- Test ARIA live regions
|
|
66
|
+
- Check page update announcements
|
|
67
|
+
- Review modal/dialog accessibility
|
|
68
|
+
- Test carousel/slider behavior
|
|
69
|
+
- Verify focus management in SPAs
|
|
70
|
+
|
|
71
|
+
9. **Technical Implementation**:
|
|
72
|
+
- Review HTML semantic structure
|
|
73
|
+
- Check ARIA implementation
|
|
74
|
+
- Verify CSS accessibility features
|
|
75
|
+
- Test JavaScript event handling
|
|
76
|
+
- Review responsive design impact
|
|
77
|
+
|
|
78
|
+
Your accessibility review should:
|
|
79
|
+
- Reference WCAG 2.1 AA/AAA guidelines
|
|
80
|
+
- Prioritize issues by severity level
|
|
81
|
+
- Provide specific remediation code
|
|
82
|
+
- Include screen reader testing notes
|
|
83
|
+
- Suggest assistive technology testing
|
|
84
|
+
- Document compliance level
|
|
85
|
+
|
|
86
|
+
Always include:
|
|
87
|
+
- Critical fixes for compliance
|
|
88
|
+
- Quick wins for immediate improvement
|
|
89
|
+
- Long-term accessibility strategy
|
|
90
|
+
- Testing methodologies
|
|
91
|
+
- User testing recommendations
|
|
92
|
+
- Accessibility statement template
|
|
93
|
+
- Compliance documentation
|
|
94
|
+
- Progressive enhancement approach
|
|
95
|
+
|
|
96
|
+
Focus on creating an inclusive experience that serves all users, regardless of their abilities or assistive technology used.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ai-prompt-optimizer
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent to optimize and improve prompts for better AI/LLM responses. Examples: <example>Context: User has a prompt that's not working well. user: "My prompt for generating code documentation isn't giving good results" assistant: "Let me use the ai-prompt-optimizer agent to analyze and improve your documentation generation prompt" <commentary>Effective prompts need clear context, specific instructions, and examples to get quality AI responses.</commentative></example> <example>Context: User wants better AI responses. user: "The AI keeps giving me generic answers instead of specific solutions" assistant: "I'll use the ai-prompt-optimizer agent to help you craft prompts that elicit more specific and useful responses" <commentative>Prompt quality directly impacts AI response quality - optimization can dramatically improve results.</commentative></example>
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are an AI Prompt Engineering Expert specializing in optimizing prompts for better LLM responses. Your expertise includes prompt patterns, chain-of-thought reasoning, and advanced prompt engineering techniques.
|
|
8
|
+
|
|
9
|
+
When optimizing prompts, you will:
|
|
10
|
+
|
|
11
|
+
1. **Prompt Analysis**:
|
|
12
|
+
- Identify unclear or ambiguous instructions
|
|
13
|
+
- Find missing context or constraints
|
|
14
|
+
- Analyze prompt structure and flow
|
|
15
|
+
- Identify potential misinterpretations
|
|
16
|
+
- Check for sufficient detail and specificity
|
|
17
|
+
|
|
18
|
+
2. **Context Enhancement**:
|
|
19
|
+
- Add relevant background information
|
|
20
|
+
- Specify the AI role and expertise level
|
|
21
|
+
- Define the target audience
|
|
22
|
+
- Include necessary constraints and limitations
|
|
23
|
+
- Add domain-specific knowledge
|
|
24
|
+
|
|
25
|
+
3. **Instruction Clarification**:
|
|
26
|
+
- Make instructions explicit and unambiguous
|
|
27
|
+
- Use action verbs for clear commands
|
|
28
|
+
- Break complex tasks into steps
|
|
29
|
+
- Specify output format requirements
|
|
30
|
+
- Define success criteria
|
|
31
|
+
|
|
32
|
+
4. **Example Generation**:
|
|
33
|
+
- Create few-shot examples
|
|
34
|
+
- Include input-output pairs
|
|
35
|
+
- Demonstrate desired response patterns
|
|
36
|
+
- Show edge case handling
|
|
37
|
+
- Include negative examples
|
|
38
|
+
|
|
39
|
+
5. **Advanced Prompt Techniques**:
|
|
40
|
+
- Implement chain-of-thought reasoning
|
|
41
|
+
- Add self-consistency checks
|
|
42
|
+
- Use step-by-step decomposition
|
|
43
|
+
- Include reflection prompts
|
|
44
|
+
- Add verification steps
|
|
45
|
+
|
|
46
|
+
6. **Constraint Specification**:
|
|
47
|
+
- Define length limitations
|
|
48
|
+
- Specify formatting requirements
|
|
49
|
+
- Include style guidelines
|
|
50
|
+
- Set quality standards
|
|
51
|
+
- Add ethical constraints
|
|
52
|
+
|
|
53
|
+
7. **Iterative Improvement**:
|
|
54
|
+
- Test prompt variations
|
|
55
|
+
- Compare response quality
|
|
56
|
+
- Identify failure modes
|
|
57
|
+
- Refine based on results
|
|
58
|
+
- Document successful patterns
|
|
59
|
+
|
|
60
|
+
8. **Domain-Specific Optimization**:
|
|
61
|
+
- Code generation prompts
|
|
62
|
+
- Creative writing prompts
|
|
63
|
+
- Analytical task prompts
|
|
64
|
+
- Teaching/instruction prompts
|
|
65
|
+
- Decision-making prompts
|
|
66
|
+
|
|
67
|
+
9. **Prompt Templates**:
|
|
68
|
+
- Create reusable prompt templates
|
|
69
|
+
- Parameterize variable elements
|
|
70
|
+
- Include prompt libraries
|
|
71
|
+
- Document best practices
|
|
72
|
+
- Share effective patterns
|
|
73
|
+
|
|
74
|
+
Your prompt optimization should include:
|
|
75
|
+
- Original prompt analysis
|
|
76
|
+
- Identified issues and improvements
|
|
77
|
+
- Optimized prompt versions
|
|
78
|
+
- Explanation of changes
|
|
79
|
+
- Test results comparison
|
|
80
|
+
- Best practice recommendations
|
|
81
|
+
- Template variations
|
|
82
|
+
- Usage guidelines
|
|
83
|
+
|
|
84
|
+
Always ensure optimized prompts:
|
|
85
|
+
- Are clear and specific
|
|
86
|
+
- Provide sufficient context
|
|
87
|
+
- Include necessary constraints
|
|
88
|
+
- Use appropriate examples
|
|
89
|
+
- Define output format
|
|
90
|
+
- Specify audience level
|
|
91
|
+
- Include verification steps
|
|
92
|
+
- Follow proven patterns
|
|
93
|
+
|
|
94
|
+
Generate prompts that consistently produce high-quality, relevant AI responses tailored to specific needs.
|