Skip to content
Agentmart
Submit a tool

magento2-db-sql-csv

Magento 2 best practices for database queries and CSV exports.

Skill by community

IndexedMIT★ 4
Write a review

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/tuanhaviet22-magento2-db-sql-csv

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

Magento 2 best practices for database queries and CSV exports. Use when writing SQL queries, fetching data from DB, or exporting data to CSV files. Triggers on tasks involving raw SQL, SELECT queries, JOIN operations, CSV generation, or file export adapters. DO NOT use for frontend, caching, or search topics.

Use cases: spreadsheets, frontend, backend, data

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

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/magento2-db-sql-csv

What's inside

Skill name
magento2-db-sql-csv
Description
Magento 2 best practices for database queries and CSV exports. Use when writing SQL queries, fetching data from DB, or exporting data to CSV files. Triggers on tasks involving raw SQL, SELECT queries, JOIN operations, CSV generation, or file export adapters. DO NOT use for frontend, caching, or search topics.
License
MIT
Metadata
author: community · version: 1.0.0
Instructions
22 lines in SKILL.md · view on GitHub

Files (5)

  • AGENTS.md
  • README.md
  • SKILL.md
  • csv-adapter.md · rules/
  • no-raw-sql.md · rules/

SKILL.md (first lines)

# Magento 2 — DB Query & CSV Export Best Practices

Two mandatory rules for Magento 2 projects.

## Rules

| # | Rule | Severity |
|---|------|----------|
| 1 | Never write raw SQL — always use the Magento query builder | CRITICAL |
| 2 | Always use/create a CSV adapter class for file exports | REQUIRED |

---

## Rule 1 — No Raw SQL, Use Query Builder

Read: `rules/no-raw-sql.md`

## Rule 2 — CSV Export via Adapter

Read: `rules/csv-adapter.md`

From tuanhaviet22/magento-skills, MIT.

Signals

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

From GitHub (fetched Oct 24, 2026).

Details

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

More from community

Cite this page

magento2-db-sql-csv skill. Agent Mart. https://agentmart.dev/skills/tuanhaviet22-magento2-db-sql-csv (last updated 2026-10-24)