A collection of Claude Skills and resources for automating operations tasks. Benefits teams using Claude by providing reusable code snippets and workflows. Connects to Claude's API for task automation.
git clone https://github.com/Microck/ordinary-claude-skills.gitA collection of Claude Skills and resources for automating operations tasks. Benefits teams using Claude by providing reusable code snippets and workflows. Connects to Claude's API for task automation.
[{"step":"Identify the specific automation task you need to perform (e.g., data retrieval, file processing, API calls).","action":"Use the prompt template to generate a reusable code snippet by filling in [TASK], [SPECIFIC_FUNCTIONALITY], [COMMON_ERRORS], [FUNCTION_NAME], and any other placeholders.","tip":"Be specific about the functionality needed. For example, instead of 'handling errors', specify 'handling rate limiting and authentication failures'."},{"step":"Copy the generated code snippet into your Claude project or automation script.","action":"Replace placeholder values (like API keys) with your actual credentials or configuration. Test the function with sample inputs.","tip":"Use Claude's built-in testing tools to verify the function works as expected before deploying it in production."},{"step":"Integrate the function into your workflow by calling it from other parts of your code or automation pipeline.","action":"For example, if the function fetches invoices, use it in a loop to process each invoice or trigger follow-up actions like sending reminders.","tip":"Add logging to track function calls and errors. Use Claude's logging capabilities to monitor performance."},{"step":"Save the snippet in a shared library or documentation for reuse across your team.","action":"Store the code in a version-controlled repository or Claude's skill library. Document any dependencies or prerequisites.","tip":"Include example usage and edge cases in the documentation to help other team members adopt the snippet quickly."},{"step":"Optimize the snippet based on feedback or changing requirements.","action":"Review the function's performance and error handling. Update the code as needed to accommodate new use cases or improved error handling.","tip":"Use Claude's code review features to get feedback on the snippet's efficiency and readability."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Microck/ordinary-claude-skillsCopy 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 reusable code snippet for [TASK] using Claude's API. The snippet should handle [SPECIFIC_FUNCTIONALITY] and include error handling for [COMMON_ERRORS]. Format the code as a Python function named [FUNCTION_NAME] with clear docstrings and type hints. Example: 'Generate a Python function called `fetch_invoices` that retrieves unpaid invoices from a database using Claude's API, handles connection errors, and returns a list of invoice IDs.'
```python
import requests
from typing import List, Optional
def fetch_invoices(api_key: str, due_date: str) -> List[dict]:
"""
Retrieves a list of unpaid invoices from the database via Claude's API.
Args:
api_key: Claude API key for authentication
due_date: ISO format date (YYYY-MM-DD) to filter overdue invoices
Returns:
List of invoice dictionaries with keys: id, customer_name, amount, due_date
Returns empty list if no invoices found or on error
Raises:
ValueError: If due_date is not in valid format
"""
if not validate_date_format(due_date):
raise ValueError("Invalid date format. Use YYYY-MM-DD")
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
"query": "SELECT id, customer_name, amount, due_date FROM invoices WHERE paid=false AND due_date < :due_date",
"params": {"due_date": due_date}
}
try:
response = requests.post(
"https://api.claude.com/v1/query",
json=payload,
headers=headers,
timeout=10
)
response.raise_for_status()
return response.json().get("results", [])
except requests.exceptions.RequestException as e:
print(f"API request failed: {str(e)}")
return []
def validate_date_format(date_str: str) -> bool:
"""Validates ISO 8601 date format (YYYY-MM-DD)"""
try:
from datetime import datetime
datetime.strptime(date_str, "%Y-%m-%d")
return True
except ValueError:
return False
```
**Usage Example:**
```python
# In your Claude project
auth_key = "claude_sk_xyz123"
overdue_invoices = fetch_invoices(auth_key, "2023-11-15")
if overdue_invoices:
print(f"Found {len(overdue_invoices)} overdue invoices")
for invoice in overdue_invoices:
print(f"Invoice {invoice['id']} for ${invoice['amount']} due {invoice['due_date']}")
else:
print("No overdue invoices found or API error occurred")
```AI assistant built for thoughtful, nuanced conversation
Discover startups before they're on everyone's radar
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
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