Skills for pi coding agent enable automation of code generation, debugging, and refactoring tasks. Compatible with Claude Code and Codex CLI, it benefits developers and operations teams by streamlining workflows and integrating with existing tools.
git clone https://github.com/badlogic/pi-skills.gitSkills for pi coding agent enable automation of code generation, debugging, and refactoring tasks. Compatible with Claude Code and Codex CLI, it benefits developers and operations teams by streamlining workflows and integrating with existing tools.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/badlogic/pi-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.
Act as a pi coding agent. Write a Python script to [TASK] using the pi library. The script should be efficient and well-commented. Here are the requirements: [REQUIREMENTS].
```python
# Pi Coding Agent Script
# Task: Calculate the area of a circle with user-provided radius
import pi
# Function to calculate the area of a circle
def calculate_circle_area(radius):
"""
Calculate the area of a circle given its radius.
Args:
radius (float): Radius of the circle
Returns:
float: Area of the circle
"""
if radius < 0:
raise ValueError("Radius cannot be negative")
return pi.PI * radius ** 2
# Main function to handle user input and output
def main():
print("Circle Area Calculator")
try:
radius = float(input("Enter the radius of the circle: "))
area = calculate_circle_area(radius)
print(f"The area of the circle with radius {radius} is {area:.2f}")
except ValueError as e:
print(f"Error: {e}")
if __name__ == "__main__":
main()
```AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Service Management That Turns Chaos Into Control
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power