frappe-project-triage
Detect Frappe project type, installed apps, version, and tooling. Use as the first step when working on any Frappe/ERPNext codebase to understand the project structure before making changes.
What this skill does
# Frappe Project Triage Quickly analyze a Frappe project to determine its type, installed apps, version, and available tooling. ## When to use - First step when opening a new Frappe project - Before making any code changes to understand the codebase - When debugging to determine which apps/versions are involved - To identify the development environment (Bench vs Frappe Manager) ## Inputs required - Project root path (where `apps/`, `sites/`, or app code lives) - Access to run shell commands (for version checks) ## Procedure ### 0) Identify project structure Check for these patterns: | Pattern | Project Type | |---------|--------------| | `apps/` + `sites/` directories | Bench installation | | `docker-compose.yml` with frappe | Frappe Manager site | | `pyproject.toml` or `setup.py` with frappe | Standalone app | | `doctype/` directory | Inside an app module | ### 1) Detect installed apps ```bash # Inside Bench/FM shell bench --site <site> list-apps # Or check apps directory ls apps/ ``` ### 2) Check Frappe version ```bash # Inside Bench/FM shell bench version # Or check from Python bench --site <site> console >>> frappe.__version__ ``` ### 3) Identify tooling | File/Directory | Tooling | |----------------|---------| | `Procfile` | Standard bench | | `docker-compose.yml` | Docker/FM | | `cypress/` | UI testing available | | `.github/workflows/` | CI configured | | `package.json` with `@frappe/*` | JS build tooling | ### 4) Check development mode ```bash # Check site config bench --site <site> console >>> frappe.conf.developer_mode ``` ## Verification - [ ] Project type identified (bench/FM/standalone app) - [ ] Installed apps listed - [ ] Frappe version known - [ ] Development mode status confirmed - [ ] Available tooling documented ## Failure modes / debugging - **No site found**: May be inside an app directory, navigate to bench root - **bench command not found**: Not in bench environment, use `fm shell` or activate venv - **Permission errors**: Check if running as correct user ## Escalation If project structure is unclear: 1. Look for `hooks.py` to identify app root 2. Look for `sites/common_site_config.json` for bench root 3. Check git remote for app repository identification ## Output format After triage, document: ``` Project Type: [bench|frappe-manager|standalone-app] Frappe Version: X.Y.Z Installed Apps: [list] Developer Mode: [yes|no] Tooling: [list] Site Name: <site> ``` Use this output to route to the appropriate skill: - DocType work → `frappe-doctype-development` - API work → `frappe-api-development` - Testing → `frappe-testing` - Enterprise patterns → `frappe-enterprise-patterns` ## Guardrails - **Never modify code** before completing triage - understand the project first - **Check for custom apps** that may override standard behavior - **Verify site exists** before running site-specific commands - **Check developer_mode** before making schema changes (required for DocType modifications) - **Note Node.js version** - frontend builds require compatible Node (typically 18+ for v15) ## Common Mistakes | Mistake | Why It Fails | Fix | |---------|--------------|-----| | Running `bench migrate` without site | Affects wrong/default site | Always use `--site sitename` | | Assuming ERPNext is installed | Import errors, missing DocTypes | Check `list-apps` output first | | Missing FM shell context | bench commands not found | Use `fm shell sitename` first | | Wrong directory level | Commands fail silently | Navigate to bench root (where `apps/` exists) | | Ignoring custom app overrides | Unexpected behavior | Check hooks.py for overrides | | Not checking Python version | Syntax/compatibility errors | Verify Python >= 3.10 for v15+ |
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.