Skip to content

Commit 7da7ed7

Browse files
committed
refactor(aurora-dsql): slim SKILL.md by consolidating redundant sections
Collapse CLI Scripts listing and Workflow 5 (Scoped Roles) into concise pointers to their reference files, reducing upfront context without losing discoverability. These sections duplicated content the agent would naturally reach via access-control.md and scripts/README.md. Co-authored-by: anwesham-lab <64298192+anwesham-lab@users.noreply.github.com>
1 parent b35a476 commit 7da7ed7

1 file changed

Lines changed: 3 additions & 37 deletions

File tree

  • plugins/aurora-dsql/skills/aurora-dsql

plugins/aurora-dsql/skills/aurora-dsql/SKILL.md

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -140,32 +140,8 @@ See [mcp-tools.md](mcp/mcp-tools.md) for detailed usage and examples.
140140

141141
## CLI Scripts Available
142142

143-
Bash scripts for cluster management and direct psql connections. All scripts are located in [scripts/](../../scripts/).
144-
145-
**Cluster Management:**
146-
147-
- **create-cluster.sh** - Create new DSQL cluster with optional tags
148-
- **delete-cluster.sh** - Delete cluster with confirmation prompt
149-
- **list-clusters.sh** - List all clusters in a region
150-
- **cluster-info.sh** - Get detailed cluster information
151-
152-
**Database Connection:**
153-
154-
- **psql-connect.sh** - Connect to DSQL using psql with automatic IAM auth token generation
155-
156-
**Data Loading:**
157-
158-
- **loader.sh** - Install and run Aurora DSQL Loader for bulk S3 data loading
159-
160-
**Quick example:**
161-
162-
```bash
163-
./scripts/create-cluster.sh --region us-east-1
164-
export CLUSTER=abc123def456
165-
./scripts/psql-connect.sh
166-
```
167-
168-
See [scripts/README.md](../../scripts/README.md) for detailed usage and hook configuration.
143+
Bash scripts in [scripts/](../../scripts/) for cluster management (create, delete, list, cluster info), psql connection, and bulk data loading from local/s3 csv/tsv/parquet files.
144+
See [scripts/README.md](../../scripts/README.md) for usage and hook configuration.
169145

170146
---
171147

@@ -240,17 +216,7 @@ Always use CREATE INDEX ASYNC in separate transaction
240216

241217
### Workflow 5: Set Up Scoped Database Roles
242218

243-
MUST load [access-control.md](references/access-control.md) for detailed guidance.
244-
245-
1. Connect as `admin` (the only time admin should be used)
246-
2. Create database roles with `CREATE ROLE <name> WITH LOGIN`
247-
3. Create IAM roles with `dsql:DbConnect` for each database role
248-
4. Map database roles to IAM roles with `AWS IAM GRANT`
249-
5. Grant schema and table permissions per role
250-
251-
- ALWAYS use scoped database roles for application connections
252-
- MUST place sensitive data in dedicated schemas, not `public`
253-
- SHOULD create separate roles per service component
219+
MUST load [access-control.md](references/access-control.md) for role setup, IAM mapping, and schema permissions.
254220

255221
### Workflow 6: Table Recreation DDL Migration
256222

0 commit comments

Comments
 (0)