aidevops 2.52.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/.agent/AGENTS.md +614 -0
- package/.agent/accounts.md +65 -0
- package/.agent/aidevops/add-new-mcp-to-aidevops.md +456 -0
- package/.agent/aidevops/api-integrations.md +335 -0
- package/.agent/aidevops/architecture.md +510 -0
- package/.agent/aidevops/configs.md +274 -0
- package/.agent/aidevops/docs.md +244 -0
- package/.agent/aidevops/extension.md +311 -0
- package/.agent/aidevops/mcp-integrations.md +340 -0
- package/.agent/aidevops/mcp-troubleshooting.md +162 -0
- package/.agent/aidevops/memory-patterns.md +172 -0
- package/.agent/aidevops/providers.md +217 -0
- package/.agent/aidevops/recommendations.md +321 -0
- package/.agent/aidevops/requirements.md +301 -0
- package/.agent/aidevops/resources.md +214 -0
- package/.agent/aidevops/security-requirements.md +174 -0
- package/.agent/aidevops/security.md +350 -0
- package/.agent/aidevops/service-links.md +400 -0
- package/.agent/aidevops/services.md +357 -0
- package/.agent/aidevops/setup.md +153 -0
- package/.agent/aidevops/troubleshooting.md +389 -0
- package/.agent/aidevops.md +124 -0
- package/.agent/build-plus.md +244 -0
- package/.agent/content/guidelines.md +109 -0
- package/.agent/content.md +87 -0
- package/.agent/health.md +59 -0
- package/.agent/legal.md +59 -0
- package/.agent/loop-state/full-loop.local.md +16 -0
- package/.agent/loop-state/ralph-loop.local.md +10 -0
- package/.agent/marketing.md +440 -0
- package/.agent/memory/README.md +260 -0
- package/.agent/onboarding.md +796 -0
- package/.agent/plan-plus.md +245 -0
- package/.agent/research.md +100 -0
- package/.agent/sales.md +333 -0
- package/.agent/scripts/101domains-helper.sh +701 -0
- package/.agent/scripts/add-missing-returns.sh +140 -0
- package/.agent/scripts/agent-browser-helper.sh +311 -0
- package/.agent/scripts/agno-setup.sh +712 -0
- package/.agent/scripts/ahrefs-mcp-wrapper.js +168 -0
- package/.agent/scripts/aidevops-update-check.sh +71 -0
- package/.agent/scripts/ampcode-cli.sh +522 -0
- package/.agent/scripts/auto-version-bump.sh +156 -0
- package/.agent/scripts/autogen-helper.sh +512 -0
- package/.agent/scripts/beads-sync-helper.sh +596 -0
- package/.agent/scripts/closte-helper.sh +5 -0
- package/.agent/scripts/cloudron-helper.sh +321 -0
- package/.agent/scripts/codacy-cli-chunked.sh +581 -0
- package/.agent/scripts/codacy-cli.sh +442 -0
- package/.agent/scripts/code-audit-helper.sh +5 -0
- package/.agent/scripts/coderabbit-cli.sh +417 -0
- package/.agent/scripts/coderabbit-pro-analysis.sh +238 -0
- package/.agent/scripts/commands/code-simplifier.md +86 -0
- package/.agent/scripts/commands/full-loop.md +246 -0
- package/.agent/scripts/commands/postflight-loop.md +103 -0
- package/.agent/scripts/commands/recall.md +182 -0
- package/.agent/scripts/commands/remember.md +132 -0
- package/.agent/scripts/commands/save-todo.md +175 -0
- package/.agent/scripts/commands/session-review.md +154 -0
- package/.agent/scripts/comprehensive-quality-fix.sh +106 -0
- package/.agent/scripts/context-builder-helper.sh +522 -0
- package/.agent/scripts/coolify-cli-helper.sh +674 -0
- package/.agent/scripts/coolify-helper.sh +380 -0
- package/.agent/scripts/crawl4ai-examples.sh +401 -0
- package/.agent/scripts/crawl4ai-helper.sh +1078 -0
- package/.agent/scripts/crewai-helper.sh +681 -0
- package/.agent/scripts/dev-browser-helper.sh +513 -0
- package/.agent/scripts/dns-helper.sh +396 -0
- package/.agent/scripts/domain-research-helper.sh +917 -0
- package/.agent/scripts/dspy-helper.sh +285 -0
- package/.agent/scripts/dspyground-helper.sh +291 -0
- package/.agent/scripts/eeat-score-helper.sh +1242 -0
- package/.agent/scripts/efficient-return-fix.sh +92 -0
- package/.agent/scripts/extract-opencode-prompts.sh +128 -0
- package/.agent/scripts/find-missing-returns.sh +113 -0
- package/.agent/scripts/fix-auth-headers.sh +104 -0
- package/.agent/scripts/fix-common-strings.sh +254 -0
- package/.agent/scripts/fix-content-type.sh +100 -0
- package/.agent/scripts/fix-error-messages.sh +130 -0
- package/.agent/scripts/fix-misplaced-returns.sh +74 -0
- package/.agent/scripts/fix-remaining-literals.sh +152 -0
- package/.agent/scripts/fix-return-statements.sh +41 -0
- package/.agent/scripts/fix-s131-default-cases.sh +249 -0
- package/.agent/scripts/fix-sc2155-simple.sh +102 -0
- package/.agent/scripts/fix-shellcheck-critical.sh +187 -0
- package/.agent/scripts/fix-string-literals.sh +273 -0
- package/.agent/scripts/full-loop-helper.sh +773 -0
- package/.agent/scripts/generate-opencode-agents.sh +497 -0
- package/.agent/scripts/generate-opencode-commands.sh +1629 -0
- package/.agent/scripts/generate-skills.sh +366 -0
- package/.agent/scripts/git-platforms-helper.sh +640 -0
- package/.agent/scripts/gitea-cli-helper.sh +743 -0
- package/.agent/scripts/github-cli-helper.sh +702 -0
- package/.agent/scripts/gitlab-cli-helper.sh +682 -0
- package/.agent/scripts/gsc-add-user-helper.sh +325 -0
- package/.agent/scripts/gsc-sitemap-helper.sh +678 -0
- package/.agent/scripts/hetzner-helper.sh +485 -0
- package/.agent/scripts/hostinger-helper.sh +229 -0
- package/.agent/scripts/keyword-research-helper.sh +1815 -0
- package/.agent/scripts/langflow-helper.sh +544 -0
- package/.agent/scripts/linkedin-automation.py +241 -0
- package/.agent/scripts/linter-manager.sh +599 -0
- package/.agent/scripts/linters-local.sh +434 -0
- package/.agent/scripts/list-keys-helper.sh +488 -0
- package/.agent/scripts/local-browser-automation.py +339 -0
- package/.agent/scripts/localhost-helper.sh +744 -0
- package/.agent/scripts/loop-common.sh +806 -0
- package/.agent/scripts/mainwp-helper.sh +728 -0
- package/.agent/scripts/markdown-formatter.sh +338 -0
- package/.agent/scripts/markdown-lint-fix.sh +311 -0
- package/.agent/scripts/mass-fix-returns.sh +58 -0
- package/.agent/scripts/mcp-diagnose.sh +167 -0
- package/.agent/scripts/mcp-inspector-helper.sh +449 -0
- package/.agent/scripts/memory-helper.sh +650 -0
- package/.agent/scripts/monitor-code-review.sh +255 -0
- package/.agent/scripts/onboarding-helper.sh +706 -0
- package/.agent/scripts/opencode-github-setup-helper.sh +797 -0
- package/.agent/scripts/opencode-test-helper.sh +213 -0
- package/.agent/scripts/pagespeed-helper.sh +464 -0
- package/.agent/scripts/pandoc-helper.sh +362 -0
- package/.agent/scripts/postflight-check.sh +555 -0
- package/.agent/scripts/pre-commit-hook.sh +259 -0
- package/.agent/scripts/pre-edit-check.sh +169 -0
- package/.agent/scripts/qlty-cli.sh +356 -0
- package/.agent/scripts/quality-cli-manager.sh +525 -0
- package/.agent/scripts/quality-feedback-helper.sh +462 -0
- package/.agent/scripts/quality-fix.sh +263 -0
- package/.agent/scripts/quality-loop-helper.sh +1108 -0
- package/.agent/scripts/ralph-loop-helper.sh +836 -0
- package/.agent/scripts/ralph-upstream-check.sh +341 -0
- package/.agent/scripts/secretlint-helper.sh +847 -0
- package/.agent/scripts/servers-helper.sh +241 -0
- package/.agent/scripts/ses-helper.sh +619 -0
- package/.agent/scripts/session-review-helper.sh +404 -0
- package/.agent/scripts/setup-linters-wizard.sh +379 -0
- package/.agent/scripts/setup-local-api-keys.sh +330 -0
- package/.agent/scripts/setup-mcp-integrations.sh +472 -0
- package/.agent/scripts/shared-constants.sh +246 -0
- package/.agent/scripts/site-crawler-helper.sh +1487 -0
- package/.agent/scripts/snyk-helper.sh +940 -0
- package/.agent/scripts/sonarcloud-autofix.sh +193 -0
- package/.agent/scripts/sonarcloud-cli.sh +191 -0
- package/.agent/scripts/sonarscanner-cli.sh +455 -0
- package/.agent/scripts/spaceship-helper.sh +747 -0
- package/.agent/scripts/stagehand-helper.sh +321 -0
- package/.agent/scripts/stagehand-python-helper.sh +321 -0
- package/.agent/scripts/stagehand-python-setup.sh +441 -0
- package/.agent/scripts/stagehand-setup.sh +439 -0
- package/.agent/scripts/system-cleanup.sh +340 -0
- package/.agent/scripts/terminal-title-helper.sh +388 -0
- package/.agent/scripts/terminal-title-setup.sh +549 -0
- package/.agent/scripts/test-stagehand-both-integration.sh +317 -0
- package/.agent/scripts/test-stagehand-integration.sh +309 -0
- package/.agent/scripts/test-stagehand-python-integration.sh +341 -0
- package/.agent/scripts/todo-ready.sh +263 -0
- package/.agent/scripts/tool-version-check.sh +362 -0
- package/.agent/scripts/toon-helper.sh +469 -0
- package/.agent/scripts/twilio-helper.sh +917 -0
- package/.agent/scripts/updown-helper.sh +279 -0
- package/.agent/scripts/validate-mcp-integrations.sh +250 -0
- package/.agent/scripts/validate-version-consistency.sh +131 -0
- package/.agent/scripts/vaultwarden-helper.sh +597 -0
- package/.agent/scripts/vercel-cli-helper.sh +816 -0
- package/.agent/scripts/verify-mirrors.sh +169 -0
- package/.agent/scripts/version-manager.sh +831 -0
- package/.agent/scripts/webhosting-helper.sh +471 -0
- package/.agent/scripts/webhosting-verify.sh +238 -0
- package/.agent/scripts/wordpress-mcp-helper.sh +508 -0
- package/.agent/scripts/worktree-helper.sh +595 -0
- package/.agent/scripts/worktree-sessions.sh +577 -0
- package/.agent/seo/dataforseo.md +215 -0
- package/.agent/seo/domain-research.md +532 -0
- package/.agent/seo/eeat-score.md +659 -0
- package/.agent/seo/google-search-console.md +366 -0
- package/.agent/seo/gsc-sitemaps.md +282 -0
- package/.agent/seo/keyword-research.md +521 -0
- package/.agent/seo/serper.md +278 -0
- package/.agent/seo/site-crawler.md +387 -0
- package/.agent/seo.md +236 -0
- package/.agent/services/accounting/quickfile.md +159 -0
- package/.agent/services/communications/telfon.md +470 -0
- package/.agent/services/communications/twilio.md +569 -0
- package/.agent/services/crm/fluentcrm.md +449 -0
- package/.agent/services/email/ses.md +399 -0
- package/.agent/services/hosting/101domains.md +378 -0
- package/.agent/services/hosting/closte.md +177 -0
- package/.agent/services/hosting/cloudflare.md +251 -0
- package/.agent/services/hosting/cloudron.md +478 -0
- package/.agent/services/hosting/dns-providers.md +335 -0
- package/.agent/services/hosting/domain-purchasing.md +344 -0
- package/.agent/services/hosting/hetzner.md +327 -0
- package/.agent/services/hosting/hostinger.md +287 -0
- package/.agent/services/hosting/localhost.md +419 -0
- package/.agent/services/hosting/spaceship.md +353 -0
- package/.agent/services/hosting/webhosting.md +330 -0
- package/.agent/social-media.md +69 -0
- package/.agent/templates/plans-template.md +114 -0
- package/.agent/templates/prd-template.md +129 -0
- package/.agent/templates/tasks-template.md +108 -0
- package/.agent/templates/todo-template.md +89 -0
- package/.agent/tools/ai-assistants/agno.md +471 -0
- package/.agent/tools/ai-assistants/capsolver.md +326 -0
- package/.agent/tools/ai-assistants/configuration.md +221 -0
- package/.agent/tools/ai-assistants/overview.md +209 -0
- package/.agent/tools/ai-assistants/status.md +171 -0
- package/.agent/tools/ai-assistants/windsurf.md +193 -0
- package/.agent/tools/ai-orchestration/autogen.md +406 -0
- package/.agent/tools/ai-orchestration/crewai.md +445 -0
- package/.agent/tools/ai-orchestration/langflow.md +405 -0
- package/.agent/tools/ai-orchestration/openprose.md +487 -0
- package/.agent/tools/ai-orchestration/overview.md +362 -0
- package/.agent/tools/ai-orchestration/packaging.md +647 -0
- package/.agent/tools/browser/agent-browser.md +464 -0
- package/.agent/tools/browser/browser-automation.md +400 -0
- package/.agent/tools/browser/chrome-devtools.md +282 -0
- package/.agent/tools/browser/crawl4ai-integration.md +422 -0
- package/.agent/tools/browser/crawl4ai-resources.md +277 -0
- package/.agent/tools/browser/crawl4ai-usage.md +416 -0
- package/.agent/tools/browser/crawl4ai.md +585 -0
- package/.agent/tools/browser/dev-browser.md +341 -0
- package/.agent/tools/browser/pagespeed.md +260 -0
- package/.agent/tools/browser/playwright.md +266 -0
- package/.agent/tools/browser/playwriter.md +310 -0
- package/.agent/tools/browser/stagehand-examples.md +456 -0
- package/.agent/tools/browser/stagehand-python.md +483 -0
- package/.agent/tools/browser/stagehand.md +421 -0
- package/.agent/tools/build-agent/agent-review.md +224 -0
- package/.agent/tools/build-agent/build-agent.md +784 -0
- package/.agent/tools/build-mcp/aidevops-plugin.md +476 -0
- package/.agent/tools/build-mcp/api-wrapper.md +445 -0
- package/.agent/tools/build-mcp/build-mcp.md +240 -0
- package/.agent/tools/build-mcp/deployment.md +401 -0
- package/.agent/tools/build-mcp/server-patterns.md +632 -0
- package/.agent/tools/build-mcp/transports.md +366 -0
- package/.agent/tools/code-review/auditing.md +383 -0
- package/.agent/tools/code-review/automation.md +219 -0
- package/.agent/tools/code-review/best-practices.md +203 -0
- package/.agent/tools/code-review/codacy.md +151 -0
- package/.agent/tools/code-review/code-simplifier.md +174 -0
- package/.agent/tools/code-review/code-standards.md +309 -0
- package/.agent/tools/code-review/coderabbit.md +101 -0
- package/.agent/tools/code-review/management.md +155 -0
- package/.agent/tools/code-review/qlty.md +248 -0
- package/.agent/tools/code-review/secretlint.md +565 -0
- package/.agent/tools/code-review/setup.md +250 -0
- package/.agent/tools/code-review/snyk.md +563 -0
- package/.agent/tools/code-review/tools.md +230 -0
- package/.agent/tools/content/summarize.md +353 -0
- package/.agent/tools/context/augment-context-engine.md +468 -0
- package/.agent/tools/context/context-builder-agent.md +76 -0
- package/.agent/tools/context/context-builder.md +375 -0
- package/.agent/tools/context/context7.md +371 -0
- package/.agent/tools/context/dspy.md +302 -0
- package/.agent/tools/context/dspyground.md +374 -0
- package/.agent/tools/context/llm-tldr.md +219 -0
- package/.agent/tools/context/osgrep.md +488 -0
- package/.agent/tools/context/prompt-optimization.md +338 -0
- package/.agent/tools/context/toon.md +292 -0
- package/.agent/tools/conversion/pandoc.md +304 -0
- package/.agent/tools/credentials/api-key-management.md +154 -0
- package/.agent/tools/credentials/api-key-setup.md +224 -0
- package/.agent/tools/credentials/environment-variables.md +180 -0
- package/.agent/tools/credentials/vaultwarden.md +382 -0
- package/.agent/tools/data-extraction/outscraper.md +974 -0
- package/.agent/tools/deployment/coolify-cli.md +388 -0
- package/.agent/tools/deployment/coolify-setup.md +353 -0
- package/.agent/tools/deployment/coolify.md +345 -0
- package/.agent/tools/deployment/vercel.md +390 -0
- package/.agent/tools/git/authentication.md +132 -0
- package/.agent/tools/git/gitea-cli.md +193 -0
- package/.agent/tools/git/github-actions.md +207 -0
- package/.agent/tools/git/github-cli.md +223 -0
- package/.agent/tools/git/gitlab-cli.md +190 -0
- package/.agent/tools/git/opencode-github-security.md +350 -0
- package/.agent/tools/git/opencode-github.md +328 -0
- package/.agent/tools/git/opencode-gitlab.md +252 -0
- package/.agent/tools/git/security.md +196 -0
- package/.agent/tools/git.md +207 -0
- package/.agent/tools/opencode/oh-my-opencode.md +375 -0
- package/.agent/tools/opencode/opencode-anthropic-auth.md +446 -0
- package/.agent/tools/opencode/opencode.md +651 -0
- package/.agent/tools/social-media/bird.md +437 -0
- package/.agent/tools/task-management/beads.md +336 -0
- package/.agent/tools/terminal/terminal-title.md +251 -0
- package/.agent/tools/ui/shadcn.md +196 -0
- package/.agent/tools/ui/ui-skills.md +115 -0
- package/.agent/tools/wordpress/localwp.md +311 -0
- package/.agent/tools/wordpress/mainwp.md +391 -0
- package/.agent/tools/wordpress/scf.md +527 -0
- package/.agent/tools/wordpress/wp-admin.md +729 -0
- package/.agent/tools/wordpress/wp-dev.md +940 -0
- package/.agent/tools/wordpress/wp-preferred.md +398 -0
- package/.agent/tools/wordpress.md +95 -0
- package/.agent/workflows/branch/bugfix.md +63 -0
- package/.agent/workflows/branch/chore.md +95 -0
- package/.agent/workflows/branch/experiment.md +115 -0
- package/.agent/workflows/branch/feature.md +59 -0
- package/.agent/workflows/branch/hotfix.md +98 -0
- package/.agent/workflows/branch/refactor.md +92 -0
- package/.agent/workflows/branch/release.md +96 -0
- package/.agent/workflows/branch.md +347 -0
- package/.agent/workflows/bug-fixing.md +267 -0
- package/.agent/workflows/changelog.md +129 -0
- package/.agent/workflows/code-audit-remote.md +279 -0
- package/.agent/workflows/conversation-starter.md +69 -0
- package/.agent/workflows/error-feedback.md +578 -0
- package/.agent/workflows/feature-development.md +355 -0
- package/.agent/workflows/git-workflow.md +702 -0
- package/.agent/workflows/multi-repo-workspace.md +268 -0
- package/.agent/workflows/plans.md +709 -0
- package/.agent/workflows/postflight.md +604 -0
- package/.agent/workflows/pr.md +571 -0
- package/.agent/workflows/preflight.md +278 -0
- package/.agent/workflows/ralph-loop.md +773 -0
- package/.agent/workflows/release.md +498 -0
- package/.agent/workflows/session-manager.md +254 -0
- package/.agent/workflows/session-review.md +311 -0
- package/.agent/workflows/sql-migrations.md +631 -0
- package/.agent/workflows/version-bump.md +283 -0
- package/.agent/workflows/wiki-update.md +333 -0
- package/.agent/workflows/worktree.md +477 -0
- package/LICENSE +21 -0
- package/README.md +1446 -0
- package/VERSION +1 -0
- package/aidevops.sh +1746 -0
- package/bin/aidevops +21 -0
- package/package.json +75 -0
- package/scripts/npm-postinstall.js +60 -0
- package/setup.sh +2366 -0
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: onboarding
|
|
3
|
+
description: Interactive onboarding wizard - discover services, check credentials, configure integrations
|
|
4
|
+
mode: subagent
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Onboarding Wizard - aidevops Configuration
|
|
8
|
+
|
|
9
|
+
<!-- AI-CONTEXT-START -->
|
|
10
|
+
|
|
11
|
+
## Quick Reference
|
|
12
|
+
|
|
13
|
+
- **Command**: `/onboarding` or `@onboarding`
|
|
14
|
+
- **Script**: `~/.aidevops/agents/scripts/onboarding-helper.sh`
|
|
15
|
+
- **Purpose**: Interactive wizard to discover, configure, and verify aidevops integrations
|
|
16
|
+
|
|
17
|
+
**Workflow**:
|
|
18
|
+
1. Welcome & explain aidevops capabilities
|
|
19
|
+
2. Ask about user's work/interests for personalized suggestions
|
|
20
|
+
3. Show current setup status (configured vs needs setup)
|
|
21
|
+
4. Guide through setting up selected services
|
|
22
|
+
5. Verify configurations work
|
|
23
|
+
|
|
24
|
+
<!-- AI-CONTEXT-END -->
|
|
25
|
+
|
|
26
|
+
## Welcome Flow
|
|
27
|
+
|
|
28
|
+
When invoked, follow this conversation flow:
|
|
29
|
+
|
|
30
|
+
### Step 1: Introduction (if new user)
|
|
31
|
+
|
|
32
|
+
Ask if the user would like an explanation of what aidevops does:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
Welcome to aidevops setup!
|
|
36
|
+
|
|
37
|
+
Would you like me to explain what aidevops can help you with? (yes/no)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
If yes, provide a brief overview:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
aidevops gives your AI assistant superpowers for DevOps and infrastructure management:
|
|
44
|
+
|
|
45
|
+
- **Infrastructure**: Manage servers across Hetzner, Hostinger, Cloudron, Coolify
|
|
46
|
+
- **Domains & DNS**: Purchase domains, manage DNS via Cloudflare, Spaceship, 101domains
|
|
47
|
+
- **Git Platforms**: GitHub, GitLab, Gitea with full CLI integration
|
|
48
|
+
- **Code Quality**: SonarCloud, Codacy, CodeRabbit, Snyk, Qlty analysis
|
|
49
|
+
- **WordPress**: LocalWP development, MainWP fleet management
|
|
50
|
+
- **SEO**: Keyword research, SERP analysis, Google Search Console
|
|
51
|
+
- **Browser Automation**: Playwright, Stagehand, Chrome DevTools
|
|
52
|
+
- **Context Tools**: Augment, osgrep, Context7, Repomix for AI context
|
|
53
|
+
|
|
54
|
+
All through natural conversation - just tell me what you need!
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 2: Check Concept Familiarity
|
|
58
|
+
|
|
59
|
+
Before diving in, gauge what concepts the user is comfortable with:
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
To tailor this onboarding, which of these concepts are you already familiar with?
|
|
63
|
+
|
|
64
|
+
1. Git & version control (commits, branches, pull requests)
|
|
65
|
+
2. Terminal/command line basics
|
|
66
|
+
3. API keys and authentication
|
|
67
|
+
4. Web hosting and servers
|
|
68
|
+
5. SEO (Search Engine Optimization)
|
|
69
|
+
6. AI assistants and prompting
|
|
70
|
+
7. None of these / I'm new to all of this
|
|
71
|
+
|
|
72
|
+
Reply with numbers (e.g., "1, 2, 5") or "all" if you're comfortable with everything.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Based on their response, offer to explain unfamiliar concepts:**
|
|
76
|
+
|
|
77
|
+
If they're unfamiliar with **Git**:
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
Git is a version control system that tracks changes to your code. Think of it like
|
|
81
|
+
"save points" in a video game - you can always go back. Key concepts:
|
|
82
|
+
- **Repository (repo)**: A project folder tracked by Git
|
|
83
|
+
- **Commit**: A saved snapshot of your changes
|
|
84
|
+
- **Branch**: A parallel version to experiment without affecting the main code
|
|
85
|
+
- **Pull Request (PR)**: A proposal to merge your changes into the main branch
|
|
86
|
+
|
|
87
|
+
aidevops uses Git workflows extensively - but I'll guide you through each step.
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
If they're unfamiliar with **Terminal**:
|
|
91
|
+
|
|
92
|
+
```text
|
|
93
|
+
The terminal (or command line) is a text-based way to control your computer.
|
|
94
|
+
Instead of clicking, you type commands. Examples:
|
|
95
|
+
- `cd ~/projects` - Go to your projects folder
|
|
96
|
+
- `ls` - List files in current folder
|
|
97
|
+
- `git status` - Check what's changed in your code
|
|
98
|
+
|
|
99
|
+
Don't worry - I'll provide the exact commands to run, and explain what each does.
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
If they're unfamiliar with **API keys**:
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
An API key is like a password that lets software talk to other software.
|
|
106
|
+
When you sign up for services like OpenAI or GitHub, they give you a secret key.
|
|
107
|
+
You store this key securely, and aidevops uses it to access those services on your behalf.
|
|
108
|
+
|
|
109
|
+
I'll show you exactly where to get each key and how to store it safely.
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
If they're unfamiliar with **Hosting**:
|
|
113
|
+
|
|
114
|
+
```text
|
|
115
|
+
Hosting is where your website or application lives on the internet.
|
|
116
|
+
- **Shared hosting**: Your site shares a server with others (cheap, simple)
|
|
117
|
+
- **VPS**: Your own virtual server (more control, more responsibility)
|
|
118
|
+
- **PaaS**: Platform that handles servers for you (Vercel, Coolify)
|
|
119
|
+
|
|
120
|
+
aidevops can help manage servers across multiple providers from one conversation.
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
If they're unfamiliar with **SEO**:
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
SEO (Search Engine Optimization) is how you help people find your website through
|
|
127
|
+
search engines like Google. Key concepts:
|
|
128
|
+
- **Keywords**: Words people type when searching (e.g., "best coffee shops near me")
|
|
129
|
+
- **SERP**: Search Engine Results Page - what Google shows for a search
|
|
130
|
+
- **Ranking**: Your position in search results (higher = more traffic)
|
|
131
|
+
- **Backlinks**: Links from other websites to yours (builds authority)
|
|
132
|
+
- **Search Console**: Google's tool showing how your site performs in search
|
|
133
|
+
|
|
134
|
+
aidevops has powerful SEO capabilities:
|
|
135
|
+
- Research keywords with volume, difficulty, and competition data
|
|
136
|
+
- Analyze SERPs to find ranking opportunities
|
|
137
|
+
- Track your site's performance in Google Search Console
|
|
138
|
+
- Discover what keywords competitors rank for
|
|
139
|
+
- Automate SEO audits and reporting
|
|
140
|
+
|
|
141
|
+
Even if you're not an SEO expert, I can help you understand and improve your
|
|
142
|
+
site's search visibility through natural conversation.
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
If they're unfamiliar with **AI assistants**:
|
|
146
|
+
|
|
147
|
+
```text
|
|
148
|
+
AI assistants (like me!) can help you code, manage infrastructure, and automate tasks.
|
|
149
|
+
Key concepts:
|
|
150
|
+
- **Prompt**: What you ask the AI to do
|
|
151
|
+
- **Context**: Information the AI needs to help you effectively
|
|
152
|
+
- **Agents**: Specialized AI personas for different tasks (SEO, WordPress, etc.)
|
|
153
|
+
- **Commands**: Shortcuts that trigger specific workflows (/release, /feature)
|
|
154
|
+
|
|
155
|
+
The more specific you are, the better I can help. Don't hesitate to ask questions!
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
If they're **new to everything**:
|
|
159
|
+
|
|
160
|
+
```text
|
|
161
|
+
No problem! Everyone starts somewhere. I'll explain each concept as we go.
|
|
162
|
+
The key thing to know: aidevops lets you manage complex technical tasks through
|
|
163
|
+
natural conversation. You tell me what you want to accomplish, and I'll handle
|
|
164
|
+
the technical details - explaining each step along the way.
|
|
165
|
+
|
|
166
|
+
Let's start simple and build up from there.
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Step 3: Understand User's Work
|
|
170
|
+
|
|
171
|
+
Ask what they do or might work on:
|
|
172
|
+
|
|
173
|
+
```text
|
|
174
|
+
What kind of work do you do, or what would you like aidevops to help with?
|
|
175
|
+
|
|
176
|
+
For example:
|
|
177
|
+
1. Web development (WordPress, React, Node.js)
|
|
178
|
+
2. DevOps & infrastructure management
|
|
179
|
+
3. SEO & content marketing
|
|
180
|
+
4. Multiple client/site management
|
|
181
|
+
5. Something else (describe it)
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Based on their answer, highlight relevant services.
|
|
185
|
+
|
|
186
|
+
### Step 4: Show Current Status
|
|
187
|
+
|
|
188
|
+
Run the status check and display results:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
~/.aidevops/agents/scripts/onboarding-helper.sh status
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Display in a clear format:
|
|
195
|
+
|
|
196
|
+
```text
|
|
197
|
+
## Your aidevops Setup Status
|
|
198
|
+
|
|
199
|
+
### Configured & Ready
|
|
200
|
+
- GitHub CLI (gh) - authenticated
|
|
201
|
+
- OpenAI API - key loaded
|
|
202
|
+
- Cloudflare - API token configured
|
|
203
|
+
|
|
204
|
+
### Needs Setup
|
|
205
|
+
- Hetzner Cloud - no API token found
|
|
206
|
+
- DataForSEO - credentials not configured
|
|
207
|
+
- Google Search Console - not connected
|
|
208
|
+
|
|
209
|
+
### Optional (based on your interests)
|
|
210
|
+
- MainWP - for WordPress fleet management
|
|
211
|
+
- Stagehand - for browser automation
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Step 5: Guide Setup
|
|
215
|
+
|
|
216
|
+
Ask which service to set up:
|
|
217
|
+
|
|
218
|
+
```text
|
|
219
|
+
Which service would you like to set up next?
|
|
220
|
+
|
|
221
|
+
1. Hetzner Cloud (VPS servers)
|
|
222
|
+
2. DataForSEO (keyword research)
|
|
223
|
+
3. Google Search Console (search analytics)
|
|
224
|
+
4. Skip for now
|
|
225
|
+
|
|
226
|
+
Enter a number or service name:
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
For each service, provide:
|
|
230
|
+
1. What it does and why it's useful
|
|
231
|
+
2. Link to create account/get API key
|
|
232
|
+
3. Step-by-step instructions
|
|
233
|
+
4. Command to store the credential
|
|
234
|
+
5. Verification that it works
|
|
235
|
+
|
|
236
|
+
## Service Catalog
|
|
237
|
+
|
|
238
|
+
### AI Providers (Core)
|
|
239
|
+
|
|
240
|
+
| Service | Env Var | Setup Link | Purpose |
|
|
241
|
+
|---------|---------|------------|---------|
|
|
242
|
+
| OpenAI | `OPENAI_API_KEY` | https://platform.openai.com/api-keys | GPT models, Stagehand |
|
|
243
|
+
| Anthropic | `ANTHROPIC_API_KEY` | https://console.anthropic.com/settings/keys | Claude models |
|
|
244
|
+
|
|
245
|
+
**Setup command**:
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set OPENAI_API_KEY "sk-..."
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### Git Platforms
|
|
252
|
+
|
|
253
|
+
| Service | Auth Method | Setup Command | Purpose |
|
|
254
|
+
|---------|-------------|---------------|---------|
|
|
255
|
+
| GitHub | `gh auth login` | Opens browser OAuth | Repos, PRs, Actions |
|
|
256
|
+
| GitLab | `glab auth login` | Opens browser OAuth | Repos, MRs, Pipelines |
|
|
257
|
+
| Gitea | `tea login add` | Token-based | Self-hosted Git |
|
|
258
|
+
|
|
259
|
+
**Verification**:
|
|
260
|
+
|
|
261
|
+
```bash
|
|
262
|
+
gh auth status
|
|
263
|
+
glab auth status
|
|
264
|
+
tea login list
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Hosting Providers
|
|
268
|
+
|
|
269
|
+
| Service | Env Var(s) | Setup Link | Purpose |
|
|
270
|
+
|---------|------------|------------|---------|
|
|
271
|
+
| Hetzner Cloud | `HCLOUD_TOKEN_*` | https://console.hetzner.cloud/ -> Security -> API Tokens | VPS, networking |
|
|
272
|
+
| Cloudflare | `CLOUDFLARE_API_TOKEN` | https://dash.cloudflare.com/profile/api-tokens | DNS, CDN, security |
|
|
273
|
+
| Coolify | `COOLIFY_API_TOKEN` | Your Coolify instance -> Settings -> API | Self-hosted PaaS |
|
|
274
|
+
| Vercel | `VERCEL_TOKEN` | https://vercel.com/account/tokens | Serverless deployment |
|
|
275
|
+
|
|
276
|
+
**Hetzner multi-account setup**:
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
# For each project/account
|
|
280
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set HCLOUD_TOKEN_MAIN "your-token"
|
|
281
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set HCLOUD_TOKEN_CLIENT1 "client-token"
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Code Quality
|
|
285
|
+
|
|
286
|
+
| Service | Env Var | Setup Link | Purpose |
|
|
287
|
+
|---------|---------|------------|---------|
|
|
288
|
+
| SonarCloud | `SONAR_TOKEN` | https://sonarcloud.io/account/security | Security analysis |
|
|
289
|
+
| Codacy | `CODACY_PROJECT_TOKEN` | https://app.codacy.com -> Project -> Settings -> Integrations | Code quality |
|
|
290
|
+
| CodeRabbit | `CODERABBIT_API_KEY` | https://app.coderabbit.ai/settings | AI code review |
|
|
291
|
+
| Snyk | `SNYK_TOKEN` | https://app.snyk.io/account | Vulnerability scanning |
|
|
292
|
+
|
|
293
|
+
**CodeRabbit special storage**:
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
mkdir -p ~/.config/coderabbit
|
|
297
|
+
echo "your-api-key" > ~/.config/coderabbit/api_key
|
|
298
|
+
chmod 600 ~/.config/coderabbit/api_key
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### SEO & Research
|
|
302
|
+
|
|
303
|
+
aidevops provides comprehensive SEO capabilities through multiple integrated services:
|
|
304
|
+
|
|
305
|
+
| Service | Env Var(s) | Setup Link | Purpose |
|
|
306
|
+
|---------|------------|------------|---------|
|
|
307
|
+
| DataForSEO | `DATAFORSEO_USERNAME`, `DATAFORSEO_PASSWORD` | https://app.dataforseo.com/api-access | SERP, keywords, backlinks, on-page analysis |
|
|
308
|
+
| Serper | `SERPER_API_KEY` | https://serper.dev/api-key | Google Search API (web, images, news) |
|
|
309
|
+
| Outscraper | `OUTSCRAPER_API_KEY` | https://outscraper.com/dashboard | Business data, Google Maps extraction |
|
|
310
|
+
| Google Search Console | OAuth via MCP | https://search.google.com/search-console | Your site's search performance |
|
|
311
|
+
|
|
312
|
+
**What you can do with SEO tools:**
|
|
313
|
+
|
|
314
|
+
- **Keyword Research**: Find keywords with volume, CPC, difficulty, and search intent
|
|
315
|
+
- **SERP Analysis**: Analyze top 10 results for any keyword, find weaknesses to exploit
|
|
316
|
+
- **Competitor Research**: See what keywords competitors rank for
|
|
317
|
+
- **Keyword Gap Analysis**: Find keywords they have that you don't
|
|
318
|
+
- **Autocomplete Mining**: Discover long-tail keywords from Google suggestions
|
|
319
|
+
- **Site Auditing**: Crawl sites for SEO issues (broken links, missing meta, etc.)
|
|
320
|
+
- **Rank Tracking**: Monitor your positions in search results
|
|
321
|
+
- **Backlink Analysis**: Research link profiles and find opportunities
|
|
322
|
+
|
|
323
|
+
**DataForSEO setup** (recommended - most comprehensive):
|
|
324
|
+
|
|
325
|
+
```bash
|
|
326
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set DATAFORSEO_USERNAME "your-email"
|
|
327
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set DATAFORSEO_PASSWORD "your-password"
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
**Serper setup** (simpler, good for basic searches):
|
|
331
|
+
|
|
332
|
+
```bash
|
|
333
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set SERPER_API_KEY "your-key"
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
**SEO Commands available:**
|
|
337
|
+
|
|
338
|
+
| Command | Purpose |
|
|
339
|
+
|---------|---------|
|
|
340
|
+
| `/keyword-research` | Expand seed keywords with volume, CPC, difficulty |
|
|
341
|
+
| `/autocomplete-research` | Mine Google autocomplete for long-tail keywords |
|
|
342
|
+
| `/keyword-research-extended` | Full SERP analysis with 17 weakness indicators |
|
|
343
|
+
| `/webmaster-keywords` | Get keywords from your Google Search Console |
|
|
344
|
+
|
|
345
|
+
**Example workflow:**
|
|
346
|
+
|
|
347
|
+
```text
|
|
348
|
+
# Switch to SEO agent
|
|
349
|
+
Tab → SEO
|
|
350
|
+
|
|
351
|
+
# Research keywords
|
|
352
|
+
/keyword-research "best project management tools"
|
|
353
|
+
|
|
354
|
+
# Deep dive on promising keywords
|
|
355
|
+
/keyword-research-extended "project management software for small teams"
|
|
356
|
+
|
|
357
|
+
# Check your own site's performance
|
|
358
|
+
/webmaster-keywords https://yoursite.com
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
### Context & Semantic Search
|
|
362
|
+
|
|
363
|
+
| Service | Auth Method | Setup Command | Purpose |
|
|
364
|
+
|---------|-------------|---------------|---------|
|
|
365
|
+
| Augment Context Engine | `auggie login` | Opens browser OAuth | Semantic codebase search |
|
|
366
|
+
| osgrep | None (local) | `npm i -g osgrep && osgrep setup` | Local semantic search |
|
|
367
|
+
| Context7 | None | MCP config only | Library documentation |
|
|
368
|
+
|
|
369
|
+
**Augment setup**:
|
|
370
|
+
|
|
371
|
+
```bash
|
|
372
|
+
npm install -g @augmentcode/auggie@prerelease
|
|
373
|
+
auggie login # Opens browser
|
|
374
|
+
auggie token print # Verify
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
### Browser Automation
|
|
378
|
+
|
|
379
|
+
| Service | Requirements | Setup | Purpose |
|
|
380
|
+
|---------|--------------|-------|---------|
|
|
381
|
+
| Playwright | Node.js | `npx playwright install` | Cross-browser testing |
|
|
382
|
+
| Stagehand | OpenAI/Anthropic key | Key already configured | AI browser automation |
|
|
383
|
+
| Chrome DevTools | Chrome running | `--remote-debugging-port=9222` | Browser debugging |
|
|
384
|
+
| Playwriter | Browser extension | Install from Chrome Web Store | Extension-based automation |
|
|
385
|
+
|
|
386
|
+
### WordPress
|
|
387
|
+
|
|
388
|
+
| Service | Requirements | Setup Link | Purpose |
|
|
389
|
+
|---------|--------------|------------|---------|
|
|
390
|
+
| LocalWP | LocalWP installed | https://localwp.com/releases | Local WordPress dev |
|
|
391
|
+
| MainWP | MainWP Dashboard plugin | https://mainwp.com/ | WordPress fleet management |
|
|
392
|
+
|
|
393
|
+
**MainWP config** (`configs/mainwp-config.json`):
|
|
394
|
+
|
|
395
|
+
```json
|
|
396
|
+
{
|
|
397
|
+
"dashboard_url": "https://your-mainwp-dashboard.com",
|
|
398
|
+
"api_key": "your-api-key"
|
|
399
|
+
}
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
### AWS Services
|
|
403
|
+
|
|
404
|
+
| Service | Env Var(s) | Setup Link | Purpose |
|
|
405
|
+
|---------|------------|------------|---------|
|
|
406
|
+
| AWS General | `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_DEFAULT_REGION` | https://console.aws.amazon.com/iam | AWS services |
|
|
407
|
+
| Amazon SES | Same as above + SES permissions | IAM with SES permissions | Email sending |
|
|
408
|
+
|
|
409
|
+
### Domain Registrars
|
|
410
|
+
|
|
411
|
+
| Service | Config File | Setup Link | Purpose |
|
|
412
|
+
|---------|-------------|------------|---------|
|
|
413
|
+
| Spaceship | `configs/spaceship-config.json` | https://www.spaceship.com/ | Domain registration |
|
|
414
|
+
| 101domains | `configs/101domains-config.json` | https://www.101domain.com/ | Domain purchasing |
|
|
415
|
+
|
|
416
|
+
### Password Management
|
|
417
|
+
|
|
418
|
+
| Service | Config | Setup | Purpose |
|
|
419
|
+
|---------|--------|-------|---------|
|
|
420
|
+
| Vaultwarden | `configs/vaultwarden-config.json` | Self-hosted Bitwarden | Secrets management |
|
|
421
|
+
|
|
422
|
+
## Verification Commands
|
|
423
|
+
|
|
424
|
+
After setting up each service, verify it works:
|
|
425
|
+
|
|
426
|
+
```bash
|
|
427
|
+
# Git platforms
|
|
428
|
+
gh auth status
|
|
429
|
+
glab auth status
|
|
430
|
+
|
|
431
|
+
# Hetzner
|
|
432
|
+
hcloud server list
|
|
433
|
+
|
|
434
|
+
# Cloudflare
|
|
435
|
+
curl -s -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
|
|
436
|
+
"https://api.cloudflare.com/client/v4/user/tokens/verify" | jq .success
|
|
437
|
+
|
|
438
|
+
# DataForSEO
|
|
439
|
+
curl -s -u "$DATAFORSEO_USERNAME:$DATAFORSEO_PASSWORD" \
|
|
440
|
+
"https://api.dataforseo.com/v3/appendix/user_data" | jq .status_message
|
|
441
|
+
|
|
442
|
+
# Augment
|
|
443
|
+
auggie token print
|
|
444
|
+
|
|
445
|
+
# All keys overview
|
|
446
|
+
~/.aidevops/agents/scripts/list-keys-helper.sh
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
## Credential Storage
|
|
450
|
+
|
|
451
|
+
All credentials are stored securely:
|
|
452
|
+
|
|
453
|
+
| Location | Purpose | Permissions |
|
|
454
|
+
|----------|---------|-------------|
|
|
455
|
+
| `~/.config/aidevops/mcp-env.sh` | Primary credential store | 600 |
|
|
456
|
+
| `~/.config/coderabbit/api_key` | CodeRabbit token | 600 |
|
|
457
|
+
| `configs/*-config.json` | Service-specific configs | 600, gitignored |
|
|
458
|
+
|
|
459
|
+
**Add a new credential**:
|
|
460
|
+
|
|
461
|
+
```bash
|
|
462
|
+
~/.aidevops/agents/scripts/setup-local-api-keys.sh set SERVICE_NAME "value"
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
**List all credentials** (names only, never values):
|
|
466
|
+
|
|
467
|
+
```bash
|
|
468
|
+
~/.aidevops/agents/scripts/list-keys-helper.sh
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
## Recommended Setup Order
|
|
472
|
+
|
|
473
|
+
For new users, suggest this order based on their interests:
|
|
474
|
+
|
|
475
|
+
### Web Developer
|
|
476
|
+
|
|
477
|
+
1. GitHub CLI (`gh auth login`)
|
|
478
|
+
2. OpenAI API (for AI features)
|
|
479
|
+
3. Augment Context Engine (semantic search)
|
|
480
|
+
4. Playwright (browser testing)
|
|
481
|
+
|
|
482
|
+
### DevOps Engineer
|
|
483
|
+
|
|
484
|
+
1. GitHub/GitLab CLI
|
|
485
|
+
2. Hetzner Cloud or preferred hosting
|
|
486
|
+
3. Cloudflare (DNS)
|
|
487
|
+
4. Coolify or Vercel (deployment)
|
|
488
|
+
5. SonarCloud + Codacy (code quality)
|
|
489
|
+
|
|
490
|
+
### SEO Professional
|
|
491
|
+
|
|
492
|
+
1. DataForSEO (keyword research)
|
|
493
|
+
2. Serper (Google Search API)
|
|
494
|
+
3. Google Search Console
|
|
495
|
+
4. Outscraper (business data)
|
|
496
|
+
|
|
497
|
+
### WordPress Developer
|
|
498
|
+
|
|
499
|
+
1. LocalWP (local development)
|
|
500
|
+
2. MainWP (if managing multiple sites)
|
|
501
|
+
3. GitHub CLI
|
|
502
|
+
4. Hostinger or preferred hosting
|
|
503
|
+
|
|
504
|
+
### Full Stack
|
|
505
|
+
|
|
506
|
+
1. All Git CLIs
|
|
507
|
+
2. OpenAI + Anthropic
|
|
508
|
+
3. Augment Context Engine
|
|
509
|
+
4. Hetzner + Cloudflare
|
|
510
|
+
5. All code quality tools
|
|
511
|
+
6. DataForSEO + Serper
|
|
512
|
+
|
|
513
|
+
## Troubleshooting
|
|
514
|
+
|
|
515
|
+
### Key not loading
|
|
516
|
+
|
|
517
|
+
```bash
|
|
518
|
+
# Check if mcp-env.sh is sourced
|
|
519
|
+
grep "mcp-env.sh" ~/.zshrc ~/.bashrc
|
|
520
|
+
|
|
521
|
+
# Source manually
|
|
522
|
+
source ~/.config/aidevops/mcp-env.sh
|
|
523
|
+
|
|
524
|
+
# Verify
|
|
525
|
+
echo "${OPENAI_API_KEY:0:10}..."
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
### MCP not connecting
|
|
529
|
+
|
|
530
|
+
```bash
|
|
531
|
+
# Check MCP status
|
|
532
|
+
opencode mcp list
|
|
533
|
+
|
|
534
|
+
# Diagnose specific MCP
|
|
535
|
+
~/.aidevops/agents/scripts/mcp-diagnose.sh <name>
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
### Permission denied
|
|
539
|
+
|
|
540
|
+
```bash
|
|
541
|
+
# Fix permissions
|
|
542
|
+
chmod 600 ~/.config/aidevops/mcp-env.sh
|
|
543
|
+
chmod 700 ~/.config/aidevops
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
## Understanding Agents, Subagents, and Commands
|
|
547
|
+
|
|
548
|
+
aidevops uses a layered system to give your AI assistant the right context at the right time, without wasting tokens on irrelevant information.
|
|
549
|
+
|
|
550
|
+
### The Three Layers
|
|
551
|
+
|
|
552
|
+
| Layer | How to Use | Purpose | Example |
|
|
553
|
+
|-------|------------|---------|---------|
|
|
554
|
+
| **Main Agents** | Tab key in OpenCode | Switch AI persona with focused capabilities | `Build+`, `SEO`, `WordPress` |
|
|
555
|
+
| **Subagents** | `@name` mention | Pull in specialized knowledge on demand | `@hetzner`, `@dataforseo`, `@code-standards` |
|
|
556
|
+
| **Commands** | `/name` | Execute specific workflows | `/release`, `/feature`, `/keyword-research` |
|
|
557
|
+
|
|
558
|
+
### Main Agents (Tab to Switch)
|
|
559
|
+
|
|
560
|
+
Main agents are complete AI personas with their own tools and focus areas. In OpenCode, press **Tab** to switch between them:
|
|
561
|
+
|
|
562
|
+
| Agent | Focus | Best For |
|
|
563
|
+
|-------|-------|----------|
|
|
564
|
+
| `Plan+` | Read-only planning | Architecture decisions, research, analysis |
|
|
565
|
+
| `Build+` | Full development | Coding, debugging, file changes |
|
|
566
|
+
| `SEO` | Search optimization | Keyword research, SERP analysis, GSC |
|
|
567
|
+
| `WordPress` | WordPress ecosystem | Theme/plugin dev, MainWP, LocalWP |
|
|
568
|
+
| `AI-DevOps` | Framework operations | Setup, troubleshooting, meta-tasks |
|
|
569
|
+
|
|
570
|
+
**When to switch agents:** Switch when your task changes focus. Planning? Use `Plan+`. Ready to code? Switch to `Build+`. Need SEO analysis? Switch to `SEO`.
|
|
571
|
+
|
|
572
|
+
### Subagents (@mention)
|
|
573
|
+
|
|
574
|
+
Subagents provide specialized knowledge without switching your main agent. Use `@name` to pull in context:
|
|
575
|
+
|
|
576
|
+
```text
|
|
577
|
+
@hetzner list all my servers
|
|
578
|
+
@code-standards check this function
|
|
579
|
+
@dataforseo research keywords for "ai tools"
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
**How it works:** When you mention a subagent, the AI reads that agent's instructions and gains its specialized knowledge - but stays in your current main agent context.
|
|
583
|
+
|
|
584
|
+
**Common subagents:**
|
|
585
|
+
|
|
586
|
+
| Category | Subagents |
|
|
587
|
+
|----------|-----------|
|
|
588
|
+
| Hosting | `@hetzner`, `@cloudflare`, `@coolify`, `@vercel` |
|
|
589
|
+
| Git | `@github-cli`, `@gitlab-cli`, `@gitea-cli` |
|
|
590
|
+
| Quality | `@code-standards`, `@codacy`, `@coderabbit`, `@snyk` |
|
|
591
|
+
| SEO | `@dataforseo`, `@serper`, `@keyword-research` |
|
|
592
|
+
| Context | `@augment-context-engine`, `@osgrep`, `@context7` |
|
|
593
|
+
| WordPress | `@wp-dev`, `@wp-admin`, `@localwp`, `@mainwp` |
|
|
594
|
+
|
|
595
|
+
### Commands (/slash)
|
|
596
|
+
|
|
597
|
+
Commands execute specific workflows with predefined steps:
|
|
598
|
+
|
|
599
|
+
```text
|
|
600
|
+
/feature add-user-auth
|
|
601
|
+
/release minor
|
|
602
|
+
/keyword-research "best ai tools"
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
**How it works:** Commands invoke a workflow that may use multiple tools and follow a specific process. They're action-oriented.
|
|
606
|
+
|
|
607
|
+
**When to use what:**
|
|
608
|
+
|
|
609
|
+
| Situation | Use | Example |
|
|
610
|
+
|-----------|-----|---------|
|
|
611
|
+
| Need to switch focus entirely | Main agent (Tab) | Tab → `SEO` |
|
|
612
|
+
| Need specialized knowledge | Subagent (@) | `@hetzner help me configure` |
|
|
613
|
+
| Need to execute a workflow | Command (/) | `/release minor` |
|
|
614
|
+
| General conversation | Just talk | "How do I deploy this?" |
|
|
615
|
+
|
|
616
|
+
### Progressive Context Loading
|
|
617
|
+
|
|
618
|
+
aidevops uses **progressive disclosure** - agents only load the context they need:
|
|
619
|
+
|
|
620
|
+
1. **Root AGENTS.md** loads first (minimal, universal rules)
|
|
621
|
+
2. **Main agent** loads when selected (focused capabilities)
|
|
622
|
+
3. **Subagents** load on @mention (specialized knowledge)
|
|
623
|
+
4. **Commands** load workflow steps (action sequences)
|
|
624
|
+
|
|
625
|
+
This keeps token usage efficient while giving you access to deep expertise when needed.
|
|
626
|
+
|
|
627
|
+
### Example Session
|
|
628
|
+
|
|
629
|
+
```text
|
|
630
|
+
# Start in Build+ agent (Tab to select)
|
|
631
|
+
|
|
632
|
+
> I need to add a new API endpoint for user profiles
|
|
633
|
+
|
|
634
|
+
# AI helps you plan and code...
|
|
635
|
+
|
|
636
|
+
> @code-standards check my implementation
|
|
637
|
+
|
|
638
|
+
# AI reads code-standards subagent, reviews your code
|
|
639
|
+
|
|
640
|
+
> /pr
|
|
641
|
+
|
|
642
|
+
# AI runs the PR workflow: linting, auditing, standards check
|
|
643
|
+
|
|
644
|
+
# Later, need to research keywords for the feature...
|
|
645
|
+
|
|
646
|
+
# Tab → SEO agent
|
|
647
|
+
|
|
648
|
+
> /keyword-research "user profile api"
|
|
649
|
+
|
|
650
|
+
# AI runs keyword research with SEO context
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
## Workflow Features
|
|
654
|
+
|
|
655
|
+
aidevops isn't just about API integrations - it provides powerful workflow enhancements for any project.
|
|
656
|
+
|
|
657
|
+
### Enable Features in Any Project
|
|
658
|
+
|
|
659
|
+
```bash
|
|
660
|
+
cd ~/your-project
|
|
661
|
+
aidevops init # Enable all features
|
|
662
|
+
aidevops init planning # Enable only planning
|
|
663
|
+
aidevops init planning,git-workflow # Enable specific features
|
|
664
|
+
aidevops features # List available features
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
**Available features:** `planning`, `git-workflow`, `code-quality`, `time-tracking`
|
|
668
|
+
|
|
669
|
+
This creates:
|
|
670
|
+
|
|
671
|
+
- `.aidevops.json` - Configuration with enabled features
|
|
672
|
+
- `.agent` symlink → `~/.aidevops/agents/`
|
|
673
|
+
- `TODO.md` - Quick task tracking
|
|
674
|
+
- `todo/PLANS.md` - Complex execution plans
|
|
675
|
+
|
|
676
|
+
### Slash Commands
|
|
677
|
+
|
|
678
|
+
Once aidevops is configured, these commands are available in OpenCode:
|
|
679
|
+
|
|
680
|
+
**Planning & Tasks:**
|
|
681
|
+
|
|
682
|
+
| Command | Purpose |
|
|
683
|
+
|---------|---------|
|
|
684
|
+
| `/create-prd` | Create Product Requirements Document for complex features |
|
|
685
|
+
| `/generate-tasks` | Generate implementation tasks from a PRD |
|
|
686
|
+
| `/plan-status` | Check status of plans and TODO.md |
|
|
687
|
+
| `/log-time-spent` | Log time spent on a task |
|
|
688
|
+
|
|
689
|
+
**Development Workflow:**
|
|
690
|
+
|
|
691
|
+
| Command | Purpose |
|
|
692
|
+
|---------|---------|
|
|
693
|
+
| `/feature` | Create and develop a feature branch |
|
|
694
|
+
| `/bugfix` | Create and resolve a bugfix branch |
|
|
695
|
+
| `/hotfix` | Urgent hotfix for critical issues |
|
|
696
|
+
| `/context` | Build AI context for complex tasks |
|
|
697
|
+
|
|
698
|
+
**Quality & Release:**
|
|
699
|
+
|
|
700
|
+
| Command | Purpose |
|
|
701
|
+
|---------|---------|
|
|
702
|
+
| `/linters-local` | Run local linting (ShellCheck, secretlint) |
|
|
703
|
+
| `/code-audit-remote` | Run remote auditing (CodeRabbit, Codacy, SonarCloud) |
|
|
704
|
+
| `/pr` | Unified PR workflow (orchestrates all checks) |
|
|
705
|
+
| `/preflight` | Quality checks before release |
|
|
706
|
+
| `/release` | Full release workflow (bump, tag, GitHub release) |
|
|
707
|
+
| `/changelog` | Update CHANGELOG.md |
|
|
708
|
+
|
|
709
|
+
**SEO (if configured):**
|
|
710
|
+
|
|
711
|
+
| Command | Purpose |
|
|
712
|
+
|---------|---------|
|
|
713
|
+
| `/keyword-research` | Seed keyword expansion |
|
|
714
|
+
| `/keyword-research-extended` | Full SERP analysis with weakness detection |
|
|
715
|
+
|
|
716
|
+
### Time Tracking
|
|
717
|
+
|
|
718
|
+
Tasks support time estimates and actuals:
|
|
719
|
+
|
|
720
|
+
```markdown
|
|
721
|
+
- [ ] Add user dashboard @marcus #feature ~4h (ai:2h test:1h) started:2025-01-15T10:30Z
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
| Field | Purpose | Example |
|
|
725
|
+
|-------|---------|---------|
|
|
726
|
+
| `~estimate` | Total time estimate | `~4h`, `~30m` |
|
|
727
|
+
| `(breakdown)` | AI/test/read time | `(ai:2h test:1h)` |
|
|
728
|
+
| `started:` | When work began | ISO timestamp |
|
|
729
|
+
| `actual:` | Actual time spent | `actual:5h30m` |
|
|
730
|
+
|
|
731
|
+
## Hands-On Playground
|
|
732
|
+
|
|
733
|
+
The best way to learn aidevops is by doing. Let's create a playground project to experiment with.
|
|
734
|
+
|
|
735
|
+
### Step 1: Create Playground Repository
|
|
736
|
+
|
|
737
|
+
```bash
|
|
738
|
+
mkdir -p ~/Git/aidevops-playground
|
|
739
|
+
cd ~/Git/aidevops-playground
|
|
740
|
+
git init
|
|
741
|
+
aidevops init
|
|
742
|
+
```
|
|
743
|
+
|
|
744
|
+
### Step 2: Explore What's Possible
|
|
745
|
+
|
|
746
|
+
Based on your interests (from earlier in onboarding), here are some ideas:
|
|
747
|
+
|
|
748
|
+
**For Web Developers:**
|
|
749
|
+
- "Create a simple landing page with a contact form"
|
|
750
|
+
- "Build a REST API with authentication"
|
|
751
|
+
- "Set up a React component library"
|
|
752
|
+
|
|
753
|
+
**For DevOps Engineers:**
|
|
754
|
+
- "Create a deployment script for my servers"
|
|
755
|
+
- "Build a monitoring dashboard"
|
|
756
|
+
- "Automate SSL certificate renewal"
|
|
757
|
+
|
|
758
|
+
**For SEO Professionals:**
|
|
759
|
+
- "Build a keyword tracking spreadsheet"
|
|
760
|
+
- "Create a site audit report generator"
|
|
761
|
+
- "Automate competitor analysis"
|
|
762
|
+
|
|
763
|
+
**For WordPress Developers:**
|
|
764
|
+
- "Create a custom plugin skeleton"
|
|
765
|
+
- "Build a theme starter template"
|
|
766
|
+
- "Automate plugin updates across sites"
|
|
767
|
+
|
|
768
|
+
### Step 3: Try the Full Workflow
|
|
769
|
+
|
|
770
|
+
Pick a simple idea and experience the complete workflow:
|
|
771
|
+
|
|
772
|
+
1. **Plan it**: `/create-prd my-first-feature`
|
|
773
|
+
2. **Generate tasks**: `/generate-tasks`
|
|
774
|
+
3. **Start development**: `/feature my-first-feature`
|
|
775
|
+
4. **Build it**: Work with the AI to implement
|
|
776
|
+
5. **Quality check**: `/linters-local` then `/pr`
|
|
777
|
+
6. **Release it**: `/release patch`
|
|
778
|
+
|
|
779
|
+
### Step 4: Personalized Project Ideas
|
|
780
|
+
|
|
781
|
+
If you're not sure what to build, tell me:
|
|
782
|
+
- What problems do you face regularly?
|
|
783
|
+
- What repetitive tasks do you wish were automated?
|
|
784
|
+
- What tools do you wish existed?
|
|
785
|
+
|
|
786
|
+
I'll suggest a small project tailored to your needs that we can build together in the playground.
|
|
787
|
+
|
|
788
|
+
## Next Steps After Setup
|
|
789
|
+
|
|
790
|
+
Once services are configured:
|
|
791
|
+
|
|
792
|
+
1. **Create your playground**: `mkdir ~/Git/aidevops-playground && cd ~/Git/aidevops-playground && git init && aidevops init`
|
|
793
|
+
2. **Test a simple task**: "List my GitHub repos" or "Check my Hetzner servers"
|
|
794
|
+
3. **Explore agents**: Type `@` to see available agents
|
|
795
|
+
4. **Try a workflow**: `/create-prd` → `/generate-tasks` → `/feature` → build → `/release`
|
|
796
|
+
5. **Read the docs**: `@aidevops` for framework guidance
|