# AI assistance

> The canonical skill is yii2-csv-export. Its scope follows this package's current source; installation does not add runtime dependencies or prove client...

The canonical skill is [yii2-csv-export](https://github.com/yii2-extensions/csv-export/blob/main/skills/yii2-csv-export/SKILL.md). Its scope follows this package's current
source; installation does not add runtime dependencies or prove client activation.

## Install in an application

### Automatic Composer installation

Use the [one-time Composer setup](https://yii2-framework.github.io/docs/project/ai-agents/#composer-installation) for
`llm/skills`, then explicitly trust `yii2-extensions/csv-export` as a donor in the application's configuration. Verify
that the installed revision contains `skills/` and its `extra.skills.source` declaration. Composer metadata alone does
not install a synchronizer. Keep project scope and existing dependency/plugin permissions.

```bash
composer install
composer skills:show
```

With automatic synchronization disabled, run `composer skills:update` explicitly. Automatic synchronization requires the
application's configured plugin and `auto-sync` setting. Check its actual result; Composer success alone is not
activation evidence.

### Optional npx installation

Alternatively, an optional pinned installer can inspect the local source:

```bash
npx skills@1.7.2 add /absolute/path/to/csv-export --list
npx skills@1.7.2 add /absolute/path/to/csv-export --skill yii2-csv-export --agent claude-code codex opencode
```

Run installers only with authorization. Do not claim an unpublished local skill is available from the remote default
branch. Copied skills must be refreshed after upgrades; keep one editable canonical source.

## Native discovery

This checkout links `.agents/skills/yii2-csv-export` and `.claude/skills/yii2-csv-export` to `skills/yii2-csv-export`.
In a fresh project session, use `$yii2-csv-export` in Codex, `/yii2-csv-export` in Claude Code or the installed client's
native skill tool. Check the loaded path and avoid a global same-named fallback. A file listing or manual read is not
native activation; record it separately from actual task execution.

## Example prompts

### Explicit invocation

```text
$yii2-csv-export
Show a batched CSV export with explicit columns and a test that parses the resulting file and verifies rows containing quotes and newlines.
Use the installed revision. Do not install dependencies or modify files without authorization.
```

### Natural selection

```text
My export consumes too much memory after I disabled provider pagination. Explain the batching behavior and how to verify it.
```

### Verification

Inspect the skill's package-specific checks, run the appropriate isolated PHP or application tests and compare actual
results with independent assertions. Preserve unsupported-version or missing-dependency limitations. Test an unrelated
prompt in a separate session as a selection negative control. Do not treat generated code, discovery or supplied-context
answers as completed runtime verification. Keep maintainer traces and fixtures out of the public package.

[Back to documentation](/docs/extensions/csv-export/index.md#documentation)