Opencode helps users to effortlessly generate code snippets and automate repetitive tasks, enhancing productivity and creativity. Unlock your coding potential with this intuitive AI assistant, ideal for developers of all skill levels.
npx skills add sh/agentsOpencode helps users to effortlessly generate code snippets and automate repetitive tasks, enhancing productivity and creativity. Unlock your coding potential with this intuitive AI assistant, ideal for developers of all skill levels.
Generate code snippets
Automate repetitive tasks
Simplify debugging processes
npx skills add sh/agentsgit clone https://github.com/sh/agentsCopy 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.
Generate a Python function that [TASK] for [COMPANY] in the [INDUSTRY] sector. Include error handling and comments. Use [DATA] as input.
# Function to process sales data and generate a summary report
# Input: CSV file containing sales data
# Output: JSON file with summarized sales metrics
import csv
import json
def process_sales_data(input_file, output_file):
"""
Processes sales data from a CSV file and generates a summary report in JSON format.
Args:
input_file (str): Path to the input CSV file
output_file (str): Path to the output JSON file
"""
try:
with open(input_file, mode='r') as csv_file:
csv_reader = csv.DictReader(csv_file)
total_sales = 0
sales_by_region = {}
for row in csv_reader:
total_sales += float(row['Amount'])
region = row['Region']
sales_by_region[region] = sales_by_region.get(region, 0) + float(row['Amount'])
# Calculate average sale
average_sale = total_sales / len(sales_by_region)
# Prepare output data
output_data = {
'total_sales': total_sales,
'average_sale': average_sale,
'sales_by_region': sales_by_region
}
# Write output to JSON file
with open(output_file, mode='w') as json_file:
json.dump(output_data, json_file, indent=4)
except FileNotFoundError:
print(f"Error: The file {input_file} was not found.")
except Exception as e:
print(f"An error occurred: {str(e)}")
# Example usage
# process_sales_data('sales_data.csv', 'sales_summary.json')Your one-stop shop for church and ministry supplies.
Automate your browser workflows effortlessly
Gain insights into SaaS spending with real-time analytics and budget forecasting tools.
Orchestrate workloads with multi-cloud support, job scheduling, and integrated service discovery features.
Manage CI/CD processes efficiently with build configuration as code and multi-language support.
Enhance performance monitoring and root cause analysis with real-time distributed tracing.
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan