Skip to content
Agentmart
Submit a tool

catchadmin-import

Use when implementing Excel/CSV import classes, controller import endpoints, column-index validation, async import dispatch, or visual import flows under…

Skill by catch-admin

IndexedMIT★ 5
Write a review

Chalk Labs

Need help deploying catchadmin-import?

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/catch-admin-catchadmin-import

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

Use when implementing Excel/CSV import classes, controller import endpoints, column-index validation, async import dispatch, or visual import flows under `modules/**/Excel/Import/`.

Use cases: spreadsheets

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/catchadmin-import

What's inside

Skill name
catchadmin-import
Description
Use when implementing Excel/CSV import classes, controller import endpoints, column-index validation, async import dispatch, or visual import flows under `modules/**/Excel/Import/`.
License
MIT
Instructions
75 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • import-api.md · references/

SKILL.md (first lines)

# CatchAdmin Import

## Scope

Use the repo's import base class and the existing module import style first.

## Core Rules

- Create import classes under `modules/{Module}/Excel/Import/`
- Extend `Catch\Support\Excel\Import`
- Implement `collection(Collection $rows): void`
- Read row values by numeric index, such as `$row[0]` and `$row[1]`
- Use `rules()` with column index keys like `'0'`, `'1'`
- Keep controller endpoints thin: accept the file, inject the import class, return `$import->import(...)`
- Keep async import explicit with `AsyncTaskInterface` plus `AsyncTaskDispatch`

## Minimal Shape

```php
<?php

declare(strict_types=1);

namespace Modules\{Module}\Excel\Import;

use Catch\Contracts\AsyncTaskInterface;
use Catch\Support\Excel\Import;
use Illuminate\Support\Collection;
use Modules\System\Support\Traits\AsyncTaskDispatch;

class {Name} extends Import implements AsyncTaskInterface
{
    use AsyncTaskDispatch;

    protected int $chunkSize = 200;
    protected int $start = 2;
    protected static int $importMaxNum = 5000;

    public function collection(Collection $rows): void
    {
        // Process rows by numeric index.
    }

    public function rules(): array
    {
        return [
            '0' => 'required',
            '1' => 'nullable',
        ];
    }
}
```

## Controller Integration

```php
public function import(Request $request, {Name} $import): mixed
{
    return $import->import($request->file('file'));
}
```

## Validation and Flow

- Keep validation aligned with imported columns and field mapping
- Set `$start` to match the first data row
- Keep `$importMaxNum` in place for large files
- Use async mode for larger uploads with `->async()->import(...)`
- Use the visual import stack only when the module needs template tracking or import history

## References

- [references/import-api.md](references/import-api.md)

From catch-admin/core, MIT.

More from catch-admin/core

Signals

Stars
5
Forks
8
Open issues
0
Last commit (this folder)
Apr 25, 2026 (6 months ago)
Last release
Sep 10, 2024 (2 years ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from catch-admin

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 catchadmin-import 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 catchadmin-import?

CallGet help
Cite this page

catchadmin-import skill. Agent Mart. https://agentmart.dev/skills/catch-admin-catchadmin-import (last updated 2026-10-24)