You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: plugins/aurora-dsql/skills/aurora-dsql/SKILL.md
+3-37Lines changed: 3 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,32 +140,8 @@ See [mcp-tools.md](mcp/mcp-tools.md) for detailed usage and examples.
140
140
141
141
## CLI Scripts Available
142
142
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.
169
145
170
146
---
171
147
@@ -240,17 +216,7 @@ Always use CREATE INDEX ASYNC in separate transaction
240
216
241
217
### Workflow 5: Set Up Scoped Database Roles
242
218
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.
0 commit comments