Skip to content
Agentmart
Submit a tool

code_generation

Skill by prathamchopra001

IndexedMIT
Write a review

Chalk Labs

Need help deploying code_generation?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/prathamchopra001-code-generation

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
code_generation
Description
None
License
MIT
Instructions
103 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (2)

  • SKILL.md
  • skill_meta.json

SKILL.md (first lines)

```markdown
# SKILL: Code Generation for Data Analysis

This skill generates Python code for data analysis tasks, focusing on clarity, executability, and error handling. The code should use pandas, matplotlib, and scipy where appropriate.

## Output Format

Python code as a single string. The code should be well-formatted and include comments explaining each step. The code should be ready to be executed. Always include error handling using `try...except` blocks.

## Decision Framework

1.  **Understand the Objective**: Carefully analyze the task description, dataset information, and research objective to fully grasp the analysis goal.
2.  **Data Loading**: Load the data using `pandas`. Handle potential file errors (e.g., file not found) using `try...except`.
3.  **Data Cleaning**: Based on the objective, clean the data. This may include handling missing values (imputation or removal), removing duplicates, and converting data types.
4.  **Data Analysis**: Perform the core data analysis based on the objective. This might involve:
    *   **Descriptive Statistics**: Calculate means, medians, standard deviations using `pandas`.
    *   **Data Visualization**: Create plots and charts using `matplotlib` to explore data relationships. Choose appropriate plot types (scatter plots, histograms, bar charts, etc.). Label axes and provide titles.
    *   **Statistical Analysis**: Use `scipy` for statistical tests (e.g., t-tests, ANOVA, correlation tests).
5.  **Error Handling**: Wrap potentially problematic sections of code in `try...except` blocks to catch errors and print informative error messages.
6.  **Output**: Ensure the code prints the results of the analysis in a clear and understandable format.
7.  **Confidence Scoring**: High confidence if all steps are implemented correctly, error handling is robust, and the code is well-commented and executable. Medium confidence if some parts are missing or could be improved. Low confidence if the code is incomplete, contains errors, or doesn't address the objective.

## Common Patterns

**Example 1:**

**Input:** "Analyze the 'iris' dataset to show the relationship between sepal length and sepal width using a scatter plot."

**Output:**

```python
import pandas as pd
import matplotlib.pyplot as plt

try:
    # Load the iris dataset
    iris = pd.read_csv('iris.csv')

    # Create a scatter plot of sepal length vs sepal width
    plt.figure(figsize=(8, 6))
    plt.scatter(iris['sepal_length'], iris['sepal_width'])
    plt.title('Sepal Length vs Sepal Width in Iris Dataset')
    plt.xlabel('Sepal Length (cm)')
    plt.ylabel('Sepal Width (cm)')
    plt.grid(True)
    plt.show()

except FileNotFoundError:
    print("Error: The iris.csv file was not found.")
except Exception as e:
    print(f"An error occurred: {e}")
```

**Example 2:**

**Input:** "Calculate the mean and standard deviation of the 'age' column in the 'customers' dataset."

**Output:**

```python
import pandas as pd

try:
    # Load the customers dataset
    customers = pd.read_csv('customers.csv')

    # Calculate the mean and standard deviation of the age column
    mean_age = customers['age'].mean()
    std_age = customers['age'].std()

    # Print the results
    print(f"Mean age: {mean_age:.2f}")
    print(f"Standard deviation of age: {std_age:.2f}")

except FileNotFoundError:
    print("Error: The customers.csv file was not found.")
except KeyError:
    print("Error: The 'age' column was not found in the dataset.")
except Exception as e:
    print(f"An error occurred: {e}")
```

## Anti-Patterns

*   **Not including error handling**: Always include `try...except` blocks to handle potential errors.
*   **Generating non-executable code**: Ensure the code is syntactically correct and can be run without errors.
*   **Not commenting the code**: Add comments to explain each step of the analysis.
*   **Ignoring the objective**: Ensure the code directly addresses the specified analysis objective.
*   **Using hardcoded file paths without checking existence**: Verify that data files exist before attempting to load them.
*   **Creating overly complex or unnecessary code**: Keep the code as simple and straightforward as possible.
*   **Failing to label plots correctly**: Always label axes and provide titles for plots.

## Quality Checklist

*   [ ] The code is executable and produces the expected output.
*   [ ] Error handling is implemented using `try...except` blocks.
*   [ ] The code is well-commented and easy to understand.
*   [ ] The code addresses the specified analysis objective.
*   [ ] The output is clear and understandable.
*   [ ] The code uses pandas, matplotlib, and scipy appropriately.
*   [ ] Plots are labeled correctly.
*   [ ] File paths are handled robustly.
```

From prathamchopra001/INQUIRO, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 11, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get code_generation running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying code_generation?

CallGet help
Cite this page

code_generation skill. Agent Mart. https://agentmart.dev/skills/prathamchopra001-code-generation (last updated 2026-10-24)