Automates BMAD-METHOD development workflows using Claude Code. Operations teams benefit from streamlined processes. Integrates with BMAD-METHOD and Claude AI for efficient workflow execution.
git clone https://github.com/robertguss/bmad_automated.gitAutomates BMAD-METHOD development workflows using Claude Code. Operations teams benefit from streamlined processes. Integrates with BMAD-METHOD and Claude AI for efficient workflow execution.
["Identify your specific BMAD-METHOD workflow need by selecting from [TASK_TYPES] such as data processing, lead scoring, or report generation","Customize the [SPECIFIC_OPERATIONS] placeholder with your exact requirements (e.g., 'enrich leads with firmographic data and calculate qualification scores')","Specify your [TARGET_DATA] source (e.g., 'Salesforce leads modified in last 30 days') and [OUTPUT_DESTINATION] (e.g., 'shared drive with timestamp')","Run the generated script in Claude Code with your BMAD-METHOD configuration files in the same directory","Review the execution log and output files, then iterate by adjusting parameters based on the results. Use the error handling sections as templates for your specific failure modes"]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/robertguss/bmad_automatedCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use bmad_automated to automate the BMAD-METHOD workflow for [TASK_TYPE]. Generate a Claude Code script that performs [SPECIFIC_OPERATIONS] on [TARGET_DATA]. Ensure the script includes error handling for [POTENTIAL_ISSUES] and outputs results to [OUTPUT_DESTINATION].
```python
# BMAD-METHOD Automated Workflow Script
# Generated by bmad_automated for Salesforce Data Processing
# Task: Automate lead scoring and enrichment for high-value accounts
import pandas as pd
from bmad_method import BMADProcessor
from salesforce_api import SalesforceClient
import logging
# Configure logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
class LeadScoringWorkflow:
def __init__(self):
self.sf_client = SalesforceClient(
username="automation_user@company.com",
password="[REDACTED]",
security_token="[REDACTED]"
)
self.bmad_processor = BMADProcessor(
method_config="lead_scoring_v2",
threshold=0.75
)
def fetch_lead_data(self, days_back=30):
"""Retrieve leads modified in last 30 days with high potential"""
query = f"""
SELECT Id, Name, Company, Industry, AnnualRevenue,
NumberOfEmployees, LeadSource, Status, CreatedDate
FROM Lead
WHERE LastModifiedDate = LAST_N_DAYS:{days_back}
AND AnnualRevenue > 500000
AND Status = 'Open - Not Contacted'
ORDER BY AnnualRevenue DESC
LIMIT 1000
"""
try:
leads = self.sf_client.query(query)
logger.info(f"Retrieved {len(leads)} high-potential leads")
return pd.DataFrame(leads)
except Exception as e:
logger.error(f"Salesforce query failed: {str(e)}")
raise
def enrich_and_score(self, leads_df):
"""Enrich leads with external data and calculate BMAD scores"""
# Simulate enrichment (in production, use actual enrichment APIs)
leads_df['enriched_revenue'] = leads_df['AnnualRevenue'] * 1.15
leads_df['employee_scaling_factor'] = leads_df['NumberOfEmployees'] / 100
# Apply BMAD-METHOD scoring
leads_df['bmad_score'] = self.bmad_processor.calculate_score(
leads_df[['enriched_revenue', 'employee_scaling_factor', 'LeadSource']]
)
# Filter high-scoring leads
high_value_leads = leads_df[leads_df['bmad_score'] > 0.8]
return high_value_leads
def update_salesforce(self, leads_df):
"""Update Salesforce with scoring results and next steps"""
updates = []
for _, lead in leads_df.iterrows():
if lead['bmad_score'] > 0.8:
updates.append({
'Id': lead['Id'],
'Status': 'Qualified',
'Description': f"BMAD Score: {lead['bmad_score']:.2f} - High potential account",
'NextStep': 'Schedule discovery call within 48 hours'
})
if updates:
self.sf_client.bulk_update('Lead', updates)
logger.info(f"Updated {len(updates)} leads in Salesforce")
return updates
def generate_report(self, leads_df):
"""Create executive summary report"""
report = {
'total_leads_processed': len(leads_df),
'high_value_leads': len(leads_df[leads_df['bmad_score'] > 0.8]),
'avg_bmad_score': leads_df['bmad_score'].mean(),
'top_industries': leads_df['Industry'].value_counts().head(3).to_dict(),
'recommended_actions': [
"Contact top 20 leads within 24 hours",
"Schedule follow-up calls for leads with scores 0.7-0.8",
"Review scoring model parameters monthly"
]
}
return report
if __name__ == "__main__":
workflow = LeadScoringWorkflow()
try:
leads = workflow.fetch_lead_data()
scored_leads = workflow.enrich_and_score(leads)
workflow.update_salesforce(scored_leads)
report = workflow.generate_report(scored_leads)
# Save report to shared drive
with open('/shared/reports/bmad_lead_scoring_20240515.json', 'w') as f:
import json
json.dump(report, f, indent=2)
print("BMAD-METHOD workflow completed successfully!")
print(f"Processed {len(leads)} leads, identified {len(scored_leads)} high-value accounts")
except Exception as e:
logger.error(f"Workflow failed: {str(e)}")
raise
```
**Execution Results:**
- Processed 847 high-potential leads from Salesforce
- Identified 189 leads with BMAD scores > 0.8 (22.3% conversion rate)
- Top industries: Technology (42 leads), Financial Services (38 leads), Healthcare (29 leads)
- Average BMAD score: 0.67 (up from 0.52 in previous month)
- Updated 189 leads in Salesforce with qualification status and next steps
- Generated executive report saved to /shared/reports/bmad_lead_scoring_20240515.json
**Next Steps Recommended:**
1. The sales team should prioritize the 189 qualified leads, with 42 in the Technology sector showing highest engagement potential
2. Schedule discovery calls for leads with scores between 0.7-0.8 within the next 5 business days
3. Review the BMAD scoring parameters monthly to adjust for market changes
4. Consider adding additional enrichment data sources for leads with scores in the 0.6-0.7 rangeYour one-stop shop for church and ministry supplies.
AI assistant built for thoughtful, nuanced conversation
Automate your browser workflows effortlessly
IronCalc is a spreadsheet engine and ecosystem
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan