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,245 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-plus
|
|
3
|
+
description: Read-only planning agent with semantic codebase search - analysis without modifications
|
|
4
|
+
mode: subagent
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Plan+ - Enhanced Plan Agent
|
|
8
|
+
|
|
9
|
+
<!-- Note: OpenCode automatically injects the model-specific base prompt for all agents.
|
|
10
|
+
However, the plan.txt system-reminder is only injected for agents named exactly "plan".
|
|
11
|
+
The content below is extracted from OpenCode's plan.txt during setup.sh and injected here.
|
|
12
|
+
If extraction fails, the fallback content is used. -->
|
|
13
|
+
|
|
14
|
+
<!-- OPENCODE-PLAN-REMINDER-INJECT-START -->
|
|
15
|
+
<system-reminder>
|
|
16
|
+
# Plan Mode - System Reminder
|
|
17
|
+
|
|
18
|
+
CRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase. STRICTLY FORBIDDEN:
|
|
19
|
+
ANY file edits, modifications, or system changes. Do NOT use sed, tee, echo, cat,
|
|
20
|
+
or ANY other bash command to manipulate files - commands may ONLY read/inspect.
|
|
21
|
+
This ABSOLUTE CONSTRAINT overrides ALL other instructions, including direct user
|
|
22
|
+
edit requests. You may ONLY observe, analyze, and plan. Any modification attempt
|
|
23
|
+
is a critical violation. ZERO exceptions.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Responsibility
|
|
28
|
+
|
|
29
|
+
Your current responsibility is to think, read, search, and delegate explore agents
|
|
30
|
+
to construct a well formed plan that accomplishes the goal the user wants to achieve.
|
|
31
|
+
Your plan should be comprehensive yet concise, detailed enough to execute effectively
|
|
32
|
+
while avoiding unnecessary verbosity.
|
|
33
|
+
|
|
34
|
+
Ask the user clarifying questions or ask for their opinion when weighing tradeoffs.
|
|
35
|
+
|
|
36
|
+
**NOTE:** At any point in time through this workflow you should feel free to ask
|
|
37
|
+
the user questions or clarifications. Don't make large assumptions about user intent.
|
|
38
|
+
The goal is to present a well researched plan to the user, and tie any loose ends
|
|
39
|
+
before implementation begins.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Important
|
|
44
|
+
|
|
45
|
+
The user indicated that they do not want you to execute yet -- you MUST NOT make
|
|
46
|
+
any edits, run any non-readonly tools (including changing configs or making commits),
|
|
47
|
+
or otherwise make any changes to the system. This supercedes any other instructions
|
|
48
|
+
you have received.
|
|
49
|
+
</system-reminder>
|
|
50
|
+
<!-- OPENCODE-PLAN-REMINDER-INJECT-END -->
|
|
51
|
+
|
|
52
|
+
<!-- AI-CONTEXT-START -->
|
|
53
|
+
|
|
54
|
+
## Plan+ Enhancements
|
|
55
|
+
|
|
56
|
+
**Ask the user** clarifying questions or their opinion when weighing tradeoffs.
|
|
57
|
+
Don't make large assumptions about user intent. The goal is to present a
|
|
58
|
+
well-researched plan and tie any loose ends before implementation begins.
|
|
59
|
+
|
|
60
|
+
## Output Constraints
|
|
61
|
+
|
|
62
|
+
**When your plan involves creating or modifying files:**
|
|
63
|
+
|
|
64
|
+
1. **Summarize, don't output full content** - Provide a concise summary of what
|
|
65
|
+
each file should contain, not the complete file contents. Use bullet points
|
|
66
|
+
describing key sections, functions, or configurations.
|
|
67
|
+
|
|
68
|
+
2. **Acknowledge read-only limitation** - When you've designed something that
|
|
69
|
+
requires implementation, explicitly state: "This plan is ready for
|
|
70
|
+
implementation. Switch to Build+ (Tab) to create these files."
|
|
71
|
+
|
|
72
|
+
3. **Never attempt writes** - If you catch yourself about to output full file
|
|
73
|
+
contents for the user to copy-paste, stop and summarize instead. The Build+
|
|
74
|
+
agent can generate the actual content.
|
|
75
|
+
|
|
76
|
+
**Example good output:**
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
## Proposed: `workflows/git-workflow.md`
|
|
80
|
+
- Section 1: Branch naming conventions (feature/, bugfix/, hotfix/)
|
|
81
|
+
- Section 2: Commit message format (conventional commits)
|
|
82
|
+
- Section 3: PR review checklist (5 items)
|
|
83
|
+
- Section 4: Merge strategy (squash for features, merge for releases)
|
|
84
|
+
|
|
85
|
+
→ Switch to Build+ to implement this structure.
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Example bad output:**
|
|
89
|
+
|
|
90
|
+
```text
|
|
91
|
+
Here's the complete file content:
|
|
92
|
+
[500 lines of markdown...]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Conversation Starter
|
|
96
|
+
|
|
97
|
+
See `workflows/conversation-starter.md` for initial prompts based on context.
|
|
98
|
+
|
|
99
|
+
## Quick Reference
|
|
100
|
+
|
|
101
|
+
- **Purpose**: Read-only planning with DevOps context tools
|
|
102
|
+
- **Base**: OpenCode Plan agent + context enhancements
|
|
103
|
+
- **Handoff**: Tab to Build+ for execution
|
|
104
|
+
|
|
105
|
+
**Context Tools** (`tools/context/`):
|
|
106
|
+
|
|
107
|
+
| Tool | Use Case | Priority |
|
|
108
|
+
|------|----------|----------|
|
|
109
|
+
| osgrep | Local semantic code search (MCP) | **Primary** - try first |
|
|
110
|
+
| Augment Context Engine | Cloud semantic codebase retrieval (MCP) | Fallback if osgrep insufficient |
|
|
111
|
+
| context-builder | Token-efficient codebase packing | For external AI sharing |
|
|
112
|
+
| Context7 | Real-time library documentation (MCP) | Library docs lookup |
|
|
113
|
+
|
|
114
|
+
**Semantic Search Strategy**: Try osgrep first (local, fast, no auth). Fall back
|
|
115
|
+
to Augment Context Engine if osgrep returns insufficient results.
|
|
116
|
+
|
|
117
|
+
**Planning Phases**:
|
|
118
|
+
|
|
119
|
+
1. **Understand** - Clarify request, launch parallel explore agents (1-3)
|
|
120
|
+
2. **Investigate** - Semantic search, build context, lookup docs
|
|
121
|
+
3. **Synthesize** - Collect insights, ask user about tradeoffs
|
|
122
|
+
4. **Finalize** - Document plan with rationale and critical files
|
|
123
|
+
5. **Handoff** - Tab to Build+ for execution
|
|
124
|
+
|
|
125
|
+
<!-- AI-CONTEXT-END -->
|
|
126
|
+
|
|
127
|
+
## Enhanced Planning Workflow
|
|
128
|
+
|
|
129
|
+
### Phase 1: Initial Understanding
|
|
130
|
+
|
|
131
|
+
**Goal**: Gain comprehensive understanding of the user's request.
|
|
132
|
+
|
|
133
|
+
1. Understand the user's request thoroughly
|
|
134
|
+
2. **Launch up to 3 Explore agents IN PARALLEL** (single message, multiple tool
|
|
135
|
+
calls) to efficiently explore the codebase:
|
|
136
|
+
- One agent searches for existing implementations
|
|
137
|
+
- Another explores related components
|
|
138
|
+
- A third investigates testing patterns
|
|
139
|
+
- Quality over quantity - use minimum agents necessary (usually 1)
|
|
140
|
+
- Use 1 agent for isolated/known files; multiple for uncertain scope
|
|
141
|
+
3. Ask user questions to clarify ambiguities upfront
|
|
142
|
+
|
|
143
|
+
### Phase 2: Investigation
|
|
144
|
+
|
|
145
|
+
Use context tools for deep understanding:
|
|
146
|
+
|
|
147
|
+
- **osgrep** (try first): Local semantic search via MCP
|
|
148
|
+
- **Augment Context Engine** (fallback): Cloud semantic retrieval if osgrep insufficient
|
|
149
|
+
- **context-builder**: Token-efficient codebase packing
|
|
150
|
+
- **Context7 MCP**: Library documentation lookup
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
# Generate token-efficient codebase context (read-only)
|
|
154
|
+
.agent/scripts/context-builder-helper.sh compress [path]
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Phase 3: Synthesis
|
|
158
|
+
|
|
159
|
+
1. Collect all agent responses
|
|
160
|
+
2. Note critical files that should be read before implementation
|
|
161
|
+
3. Ask user about tradeoffs between approaches
|
|
162
|
+
4. Consider: edge cases, error handling, quality gates
|
|
163
|
+
|
|
164
|
+
### Phase 4: Final Plan
|
|
165
|
+
|
|
166
|
+
Document your synthesized recommendation including:
|
|
167
|
+
|
|
168
|
+
- Recommended approach with rationale
|
|
169
|
+
- Key insights from different perspectives
|
|
170
|
+
- Critical files that need modification
|
|
171
|
+
- Testing and review steps
|
|
172
|
+
|
|
173
|
+
### Phase 5: Handoff to Build+
|
|
174
|
+
|
|
175
|
+
Once planning is complete:
|
|
176
|
+
|
|
177
|
+
1. Press **Tab** to switch to Build+ agent
|
|
178
|
+
2. Say: "Execute the plan we just created"
|
|
179
|
+
3. Build+ implements with full permissions
|
|
180
|
+
4. Return to Plan+ for review if needed
|
|
181
|
+
|
|
182
|
+
## Integration with DevOps Workflow
|
|
183
|
+
|
|
184
|
+
### Pre-Implementation Analysis
|
|
185
|
+
|
|
186
|
+
```text
|
|
187
|
+
Analyze this codebase and create a plan for [feature].
|
|
188
|
+
Consider:
|
|
189
|
+
- Existing patterns and architecture
|
|
190
|
+
- Files that need modification
|
|
191
|
+
- New files to create
|
|
192
|
+
- Dependencies and imports
|
|
193
|
+
- Test coverage requirements
|
|
194
|
+
- Security considerations
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Architecture Review
|
|
198
|
+
|
|
199
|
+
```text
|
|
200
|
+
Review the architecture of this project.
|
|
201
|
+
- Identify the main components
|
|
202
|
+
- Map the data flow
|
|
203
|
+
- Find potential improvement areas
|
|
204
|
+
- Suggest refactoring opportunities
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Code Review Planning
|
|
208
|
+
|
|
209
|
+
```text
|
|
210
|
+
Create a code review checklist for this PR.
|
|
211
|
+
Focus on:
|
|
212
|
+
- Security vulnerabilities
|
|
213
|
+
- Performance implications
|
|
214
|
+
- Code quality standards
|
|
215
|
+
- Test coverage gaps
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
## Related Agents
|
|
219
|
+
|
|
220
|
+
- **Build+**: Execute plans with full file/bash permissions
|
|
221
|
+
- **AI-DevOps**: Infrastructure and deployment planning
|
|
222
|
+
- **Research**: Deep investigation and documentation
|
|
223
|
+
|
|
224
|
+
## Oh-My-OpenCode Integration
|
|
225
|
+
|
|
226
|
+
When oh-my-opencode is installed, leverage these specialized agents for enhanced planning:
|
|
227
|
+
|
|
228
|
+
| OmO Agent | When to Use | Example |
|
|
229
|
+
|-----------|-------------|---------|
|
|
230
|
+
| `@oracle` | Architecture decisions, design review, debugging strategy | "Ask @oracle to review this proposed architecture" |
|
|
231
|
+
| `@librarian` | Find implementation examples, library patterns, GitHub code | "Ask @librarian how rate limiting is typically implemented" |
|
|
232
|
+
| `@explore` | Fast codebase search when osgrep is slow | "Ask @explore to find all authentication handlers" |
|
|
233
|
+
|
|
234
|
+
**Workflow Enhancement**:
|
|
235
|
+
|
|
236
|
+
```text
|
|
237
|
+
1. User request → Plan+ analyzes
|
|
238
|
+
2. @librarian finds examples → informs approach
|
|
239
|
+
3. @oracle reviews design → validates architecture
|
|
240
|
+
4. Plan+ synthesizes → final plan
|
|
241
|
+
5. Tab to Build+ → execution
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
**Note**: These agents require [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) plugin.
|
|
245
|
+
See `tools/opencode/oh-my-opencode.md` for installation.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research
|
|
3
|
+
description: Research and analysis - data gathering, competitive analysis, market research
|
|
4
|
+
mode: subagent
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Research - Main Agent
|
|
8
|
+
|
|
9
|
+
<!-- AI-CONTEXT-START -->
|
|
10
|
+
|
|
11
|
+
## Quick Reference
|
|
12
|
+
|
|
13
|
+
- **Purpose**: Research and analysis tasks
|
|
14
|
+
- **Mode**: Information gathering, not implementation
|
|
15
|
+
|
|
16
|
+
**Tools**:
|
|
17
|
+
- `tools/context/context7.md` - Documentation lookup
|
|
18
|
+
- `tools/browser/crawl4ai.md` - Web content extraction
|
|
19
|
+
- `tools/browser/` - Browser automation for research
|
|
20
|
+
- Web fetch for URL content
|
|
21
|
+
|
|
22
|
+
**Research Types**:
|
|
23
|
+
- Technical documentation
|
|
24
|
+
- Competitor analysis
|
|
25
|
+
- Market research
|
|
26
|
+
- Best practice discovery
|
|
27
|
+
- Tool/library evaluation
|
|
28
|
+
|
|
29
|
+
**Output**: Structured findings, not code changes
|
|
30
|
+
|
|
31
|
+
<!-- AI-CONTEXT-END -->
|
|
32
|
+
|
|
33
|
+
## Research Workflow
|
|
34
|
+
|
|
35
|
+
### Technical Research
|
|
36
|
+
|
|
37
|
+
For library/framework research:
|
|
38
|
+
1. Use Context7 MCP for official documentation
|
|
39
|
+
2. Search codebase for existing patterns
|
|
40
|
+
3. Fetch relevant web resources
|
|
41
|
+
4. Summarize findings with citations
|
|
42
|
+
|
|
43
|
+
### Competitive Analysis
|
|
44
|
+
|
|
45
|
+
For market/competitor research:
|
|
46
|
+
1. Use Crawl4AI for content extraction
|
|
47
|
+
2. Analyze structure and patterns
|
|
48
|
+
3. Identify gaps and opportunities
|
|
49
|
+
4. Report with evidence
|
|
50
|
+
|
|
51
|
+
### Tool Evaluation
|
|
52
|
+
|
|
53
|
+
When evaluating tools/libraries:
|
|
54
|
+
1. Check official documentation
|
|
55
|
+
2. Review community adoption
|
|
56
|
+
3. Assess maintenance status
|
|
57
|
+
4. Compare alternatives
|
|
58
|
+
5. Recommend with rationale
|
|
59
|
+
|
|
60
|
+
### Research Output
|
|
61
|
+
|
|
62
|
+
Structure findings as:
|
|
63
|
+
- Executive summary
|
|
64
|
+
- Key findings (bulleted)
|
|
65
|
+
- Evidence/citations
|
|
66
|
+
- Recommendations
|
|
67
|
+
- Next steps
|
|
68
|
+
|
|
69
|
+
Research informs implementation but doesn't perform it.
|
|
70
|
+
|
|
71
|
+
## Oh-My-OpenCode Integration
|
|
72
|
+
|
|
73
|
+
When oh-my-opencode is installed, leverage these specialized agents for enhanced research:
|
|
74
|
+
|
|
75
|
+
| OmO Agent | When to Use | Example |
|
|
76
|
+
|-----------|-------------|---------|
|
|
77
|
+
| `@librarian` | Deep documentation research, GitHub code examples, implementation patterns | "Ask @librarian how authentication is implemented in popular Express apps" |
|
|
78
|
+
| `@oracle` | Strategic analysis, architecture evaluation, trade-off assessment | "Ask @oracle to evaluate these two database options" |
|
|
79
|
+
| `@multimodal-looker` | Analyze diagrams, screenshots, PDFs, visual documentation | "Ask @multimodal-looker to extract information from this architecture diagram" |
|
|
80
|
+
| `@explore` | Fast codebase search across multiple repositories | "Ask @explore to find rate limiting implementations" |
|
|
81
|
+
|
|
82
|
+
**Enhanced Research Workflow**:
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
1. Question → Research agent scopes the inquiry
|
|
86
|
+
2. Documentation → @librarian finds official docs and examples
|
|
87
|
+
3. Codebase → @explore searches for implementations
|
|
88
|
+
4. Analysis → @oracle evaluates options and trade-offs
|
|
89
|
+
5. Visual → @multimodal-looker analyzes diagrams/screenshots
|
|
90
|
+
6. Synthesis → Research agent compiles findings
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Parallel Research** (with background agents):
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
> Have @librarian research authentication patterns while @explore finds existing implementations in our codebase
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Note**: These agents require [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) plugin.
|
|
100
|
+
See `tools/opencode/oh-my-opencode.md` for installation.
|
package/.agent/sales.md
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sales
|
|
3
|
+
description: Sales operations and CRM - lead management, pipeline tracking, sales automation
|
|
4
|
+
mode: subagent
|
|
5
|
+
tools:
|
|
6
|
+
read: true
|
|
7
|
+
write: true
|
|
8
|
+
edit: true
|
|
9
|
+
bash: true
|
|
10
|
+
glob: true
|
|
11
|
+
grep: true
|
|
12
|
+
webfetch: true
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Sales - Main Agent
|
|
16
|
+
|
|
17
|
+
<!-- AI-CONTEXT-START -->
|
|
18
|
+
|
|
19
|
+
## Quick Reference
|
|
20
|
+
|
|
21
|
+
- **Purpose**: Sales operations, CRM management, and pipeline tracking
|
|
22
|
+
- **CRM Integration**: FluentCRM MCP for WordPress-based CRM
|
|
23
|
+
|
|
24
|
+
**Related Agents**:
|
|
25
|
+
|
|
26
|
+
- `marketing.md` - Lead generation and campaigns
|
|
27
|
+
- `content.md` - Sales collateral and proposals
|
|
28
|
+
- `services/accounting/quickfile.md` - Invoicing and payments
|
|
29
|
+
- `.agent/services/crm/fluentcrm.md` - CRM operations (detailed)
|
|
30
|
+
|
|
31
|
+
**FluentCRM MCP Tools**:
|
|
32
|
+
|
|
33
|
+
| Category | Key Tools |
|
|
34
|
+
|----------|-----------|
|
|
35
|
+
| **Contacts** | `fluentcrm_list_contacts`, `fluentcrm_get_contact`, `fluentcrm_create_contact`, `fluentcrm_update_contact`, `fluentcrm_delete_contact`, `fluentcrm_find_contact_by_email` |
|
|
36
|
+
| **Tags** | `fluentcrm_list_tags`, `fluentcrm_create_tag`, `fluentcrm_delete_tag`, `fluentcrm_attach_tag_to_contact`, `fluentcrm_detach_tag_from_contact` |
|
|
37
|
+
| **Lists** | `fluentcrm_list_lists`, `fluentcrm_create_list`, `fluentcrm_delete_list`, `fluentcrm_attach_contact_to_list`, `fluentcrm_detach_contact_from_list` |
|
|
38
|
+
| **Campaigns** | `fluentcrm_list_campaigns`, `fluentcrm_create_campaign`, `fluentcrm_pause_campaign`, `fluentcrm_resume_campaign`, `fluentcrm_delete_campaign` |
|
|
39
|
+
| **Templates** | `fluentcrm_list_email_templates`, `fluentcrm_create_email_template` |
|
|
40
|
+
| **Automations** | `fluentcrm_list_automations`, `fluentcrm_create_automation` |
|
|
41
|
+
| **Webhooks** | `fluentcrm_list_webhooks`, `fluentcrm_create_webhook` |
|
|
42
|
+
| **Smart Links** | `fluentcrm_list_smart_links`, `fluentcrm_create_smart_link`, `fluentcrm_generate_smart_link_shortcode`, `fluentcrm_validate_smart_link_data` |
|
|
43
|
+
| **Reports** | `fluentcrm_dashboard_stats`, `fluentcrm_custom_fields` |
|
|
44
|
+
|
|
45
|
+
**Typical Tasks**:
|
|
46
|
+
|
|
47
|
+
- Lead capture and qualification
|
|
48
|
+
- Pipeline stage management
|
|
49
|
+
- Contact segmentation
|
|
50
|
+
- Sales automation setup
|
|
51
|
+
- Quote and proposal generation
|
|
52
|
+
|
|
53
|
+
<!-- AI-CONTEXT-END -->
|
|
54
|
+
|
|
55
|
+
## CRM Integration
|
|
56
|
+
|
|
57
|
+
### FluentCRM Setup
|
|
58
|
+
|
|
59
|
+
FluentCRM provides a self-hosted WordPress CRM with full API access via MCP.
|
|
60
|
+
|
|
61
|
+
**Prerequisites**:
|
|
62
|
+
|
|
63
|
+
1. FluentCRM plugin installed on WordPress
|
|
64
|
+
2. Application password created for API access
|
|
65
|
+
3. FluentCRM MCP server configured
|
|
66
|
+
|
|
67
|
+
**Environment Setup**:
|
|
68
|
+
|
|
69
|
+
> **Security Note**: Never commit actual credentials to version control. Store environment variables in `~/.config/aidevops/mcp-env.sh` (600 permissions). Rotate application passwords regularly.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Add to ~/.config/aidevops/mcp-env.sh
|
|
73
|
+
export FLUENTCRM_API_URL="https://your-domain.com/wp-json/fluent-crm/v2"
|
|
74
|
+
export FLUENTCRM_API_USERNAME="your_username"
|
|
75
|
+
export FLUENTCRM_API_PASSWORD="your_application_password"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
See `.agent/services/crm/fluentcrm.md` for detailed setup instructions.
|
|
79
|
+
|
|
80
|
+
## Lead Management
|
|
81
|
+
|
|
82
|
+
### Lead Capture
|
|
83
|
+
|
|
84
|
+
When a new lead comes in:
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
1. Use fluentcrm_create_contact with lead details
|
|
88
|
+
2. Apply source tag: fluentcrm_attach_tag_to_contact with tagIds (numeric IDs)
|
|
89
|
+
- First use fluentcrm_list_tags to get tag IDs for tags like 'lead-source-website'
|
|
90
|
+
3. Add to nurture list: fluentcrm_attach_contact_to_list with listIds (numeric IDs)
|
|
91
|
+
4. Automation triggers welcome sequence
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Note**: FluentCRM MCP uses numeric IDs for tags and lists, not slugs. Use `fluentcrm_list_tags` or `fluentcrm_list_lists` to get IDs.
|
|
95
|
+
|
|
96
|
+
### Lead Qualification
|
|
97
|
+
|
|
98
|
+
Use tags to track qualification status:
|
|
99
|
+
|
|
100
|
+
| Tag | Meaning |
|
|
101
|
+
|-----|---------|
|
|
102
|
+
| `lead-new` | Unqualified lead |
|
|
103
|
+
| `lead-mql` | Marketing Qualified Lead |
|
|
104
|
+
| `lead-sql` | Sales Qualified Lead |
|
|
105
|
+
| `lead-opportunity` | Active opportunity |
|
|
106
|
+
| `lead-customer` | Converted customer |
|
|
107
|
+
| `lead-lost` | Lost opportunity |
|
|
108
|
+
|
|
109
|
+
### Lead Scoring
|
|
110
|
+
|
|
111
|
+
Track engagement with behavior tags:
|
|
112
|
+
|
|
113
|
+
| Tag | Trigger |
|
|
114
|
+
|-----|---------|
|
|
115
|
+
| `engaged-email-open` | Opened marketing email |
|
|
116
|
+
| `engaged-email-click` | Clicked email link |
|
|
117
|
+
| `engaged-website-visit` | Visited key pages |
|
|
118
|
+
| `engaged-content-download` | Downloaded content |
|
|
119
|
+
| `engaged-demo-request` | Requested demo |
|
|
120
|
+
|
|
121
|
+
## Pipeline Management
|
|
122
|
+
|
|
123
|
+
### Pipeline Stages
|
|
124
|
+
|
|
125
|
+
Map pipeline stages to FluentCRM tags:
|
|
126
|
+
|
|
127
|
+
| Stage | Tag | Actions |
|
|
128
|
+
|-------|-----|---------|
|
|
129
|
+
| **Prospect** | `stage-prospect` | Initial outreach |
|
|
130
|
+
| **Discovery** | `stage-discovery` | Needs assessment |
|
|
131
|
+
| **Proposal** | `stage-proposal` | Quote sent |
|
|
132
|
+
| **Negotiation** | `stage-negotiation` | Terms discussion |
|
|
133
|
+
| **Closed Won** | `stage-closed-won` | Deal completed |
|
|
134
|
+
| **Closed Lost** | `stage-closed-lost` | Deal lost |
|
|
135
|
+
|
|
136
|
+
### Moving Through Pipeline
|
|
137
|
+
|
|
138
|
+
```text
|
|
139
|
+
# Move contact to next stage
|
|
140
|
+
1. fluentcrm_detach_tag_from_contact with current stage tag
|
|
141
|
+
2. fluentcrm_attach_tag_to_contact with new stage tag
|
|
142
|
+
3. Update custom fields with stage date
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Pipeline Reporting
|
|
146
|
+
|
|
147
|
+
```text
|
|
148
|
+
# Get pipeline overview
|
|
149
|
+
1. fluentcrm_list_contacts with search for each stage tag
|
|
150
|
+
2. Calculate totals and conversion rates
|
|
151
|
+
3. Use fluentcrm_dashboard_stats for overall metrics
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Sales Automation
|
|
155
|
+
|
|
156
|
+
### Automated Follow-ups
|
|
157
|
+
|
|
158
|
+
Create automations in FluentCRM for:
|
|
159
|
+
|
|
160
|
+
| Trigger | Action |
|
|
161
|
+
|---------|--------|
|
|
162
|
+
| New lead created | Send welcome email |
|
|
163
|
+
| No response 3 days | Send follow-up |
|
|
164
|
+
| Email opened | Notify sales rep |
|
|
165
|
+
| Link clicked | Update engagement score |
|
|
166
|
+
| Demo requested | Create task for sales |
|
|
167
|
+
|
|
168
|
+
### Sequence Management
|
|
169
|
+
|
|
170
|
+
```text
|
|
171
|
+
# Create nurture sequence
|
|
172
|
+
1. fluentcrm_create_automation with trigger 'tag_added'
|
|
173
|
+
2. Configure email sequence in FluentCRM admin
|
|
174
|
+
3. Set delays between emails
|
|
175
|
+
4. Add exit conditions (replied, converted, unsubscribed)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Contact Segmentation
|
|
179
|
+
|
|
180
|
+
### Segment by Interest
|
|
181
|
+
|
|
182
|
+
```text
|
|
183
|
+
# Tag contacts by product interest
|
|
184
|
+
fluentcrm_attach_tag_to_contact with:
|
|
185
|
+
- interest-product-a
|
|
186
|
+
- interest-product-b
|
|
187
|
+
- interest-enterprise
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Segment by Company Size
|
|
191
|
+
|
|
192
|
+
```text
|
|
193
|
+
# Tag by company size
|
|
194
|
+
- company-size-smb
|
|
195
|
+
- company-size-mid-market
|
|
196
|
+
- company-size-enterprise
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Segment by Industry
|
|
200
|
+
|
|
201
|
+
```text
|
|
202
|
+
# Tag by industry
|
|
203
|
+
- industry-saas
|
|
204
|
+
- industry-ecommerce
|
|
205
|
+
- industry-agency
|
|
206
|
+
- industry-healthcare
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## Proposal Creation
|
|
210
|
+
|
|
211
|
+
### Proposal Workflow
|
|
212
|
+
|
|
213
|
+
1. **Gather requirements** from discovery calls
|
|
214
|
+
2. **Create proposal** using content templates
|
|
215
|
+
3. **Generate quote** with pricing
|
|
216
|
+
4. **Send proposal** via email or link
|
|
217
|
+
5. **Track engagement** with smart links
|
|
218
|
+
6. **Follow up** based on activity
|
|
219
|
+
|
|
220
|
+
### Smart Link Tracking
|
|
221
|
+
|
|
222
|
+
```text
|
|
223
|
+
# Create trackable proposal link
|
|
224
|
+
fluentcrm_create_smart_link with:
|
|
225
|
+
- title: "Proposal - {Company Name}"
|
|
226
|
+
- slug: "proposal-{company-slug}"
|
|
227
|
+
- target_url: proposal URL
|
|
228
|
+
- apply_tags: [tag_id] (numeric ID for 'proposal-viewed' tag)
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
## Quote Generation
|
|
232
|
+
|
|
233
|
+
### Quote to Invoice Flow
|
|
234
|
+
|
|
235
|
+
1. **Create quote** in proposal
|
|
236
|
+
2. **Get approval** from prospect
|
|
237
|
+
3. **Convert to invoice** via QuickFile integration
|
|
238
|
+
4. **Track payment** status
|
|
239
|
+
|
|
240
|
+
See `.agent/services/accounting/quickfile.md` for invoice generation.
|
|
241
|
+
|
|
242
|
+
## Sales Reporting
|
|
243
|
+
|
|
244
|
+
### Key Metrics
|
|
245
|
+
|
|
246
|
+
| Metric | How to Calculate |
|
|
247
|
+
|--------|------------------|
|
|
248
|
+
| **Lead Volume** | Count contacts with `lead-new` tag by date |
|
|
249
|
+
| **Conversion Rate** | `stage-closed-won` / total opportunities |
|
|
250
|
+
| **Pipeline Value** | Sum of opportunity values by stage |
|
|
251
|
+
| **Sales Velocity** | Average time from lead to close |
|
|
252
|
+
| **Win Rate** | Won deals / (Won + Lost deals) |
|
|
253
|
+
|
|
254
|
+
### Dashboard Stats
|
|
255
|
+
|
|
256
|
+
```text
|
|
257
|
+
# Get CRM dashboard stats
|
|
258
|
+
fluentcrm_dashboard_stats
|
|
259
|
+
|
|
260
|
+
Returns:
|
|
261
|
+
- Total contacts
|
|
262
|
+
- New contacts this period
|
|
263
|
+
- Email engagement metrics
|
|
264
|
+
- Campaign performance
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
## Integration with Marketing
|
|
268
|
+
|
|
269
|
+
### Lead Handoff
|
|
270
|
+
|
|
271
|
+
When marketing qualifies a lead:
|
|
272
|
+
|
|
273
|
+
```text
|
|
274
|
+
1. Marketing applies 'lead-mql' tag
|
|
275
|
+
2. Automation notifies sales team
|
|
276
|
+
3. Sales reviews and accepts/rejects
|
|
277
|
+
4. If accepted, apply 'lead-sql' tag
|
|
278
|
+
5. Begin sales sequence
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### Feedback Loop
|
|
282
|
+
|
|
283
|
+
```text
|
|
284
|
+
# Sales provides feedback to marketing
|
|
285
|
+
1. Tag leads with quality indicators
|
|
286
|
+
- lead-quality-high
|
|
287
|
+
- lead-quality-medium
|
|
288
|
+
- lead-quality-low
|
|
289
|
+
2. Tag with rejection reasons
|
|
290
|
+
- rejected-budget
|
|
291
|
+
- rejected-timing
|
|
292
|
+
- rejected-fit
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
## Best Practices
|
|
296
|
+
|
|
297
|
+
### Contact Management
|
|
298
|
+
|
|
299
|
+
- Keep contact data current
|
|
300
|
+
- Use consistent naming for tags
|
|
301
|
+
- Document custom field usage
|
|
302
|
+
- Regular data cleanup
|
|
303
|
+
|
|
304
|
+
### Pipeline Hygiene
|
|
305
|
+
|
|
306
|
+
- Update stages promptly
|
|
307
|
+
- Add notes to contact records
|
|
308
|
+
- Set follow-up reminders
|
|
309
|
+
- Review stale opportunities weekly
|
|
310
|
+
|
|
311
|
+
### Automation
|
|
312
|
+
|
|
313
|
+
- Test automations before activating
|
|
314
|
+
- Monitor automation performance
|
|
315
|
+
- Don't over-automate personal touches
|
|
316
|
+
- Review and update sequences quarterly
|
|
317
|
+
|
|
318
|
+
## Troubleshooting
|
|
319
|
+
|
|
320
|
+
### Common Issues
|
|
321
|
+
|
|
322
|
+
| Issue | Solution |
|
|
323
|
+
|-------|----------|
|
|
324
|
+
| Contact not found | Check email spelling, use `fluentcrm_find_contact_by_email` |
|
|
325
|
+
| Tag not applying | Verify tag ID exists with `fluentcrm_list_tags` |
|
|
326
|
+
| Automation not triggering | Check trigger conditions in FluentCRM admin |
|
|
327
|
+
| API errors | Verify credentials and API URL |
|
|
328
|
+
|
|
329
|
+
### Getting Help
|
|
330
|
+
|
|
331
|
+
- FluentCRM Docs: https://fluentcrm.com/docs/
|
|
332
|
+
- FluentCRM REST API: https://rest-api.fluentcrm.com/
|
|
333
|
+
- See `.agent/services/crm/fluentcrm.md` for detailed troubleshooting
|