This skill synchronizes Aurora YAML schemas with Google Sheets in both directions, enabling push and pull operations and streamlined configuration.
npx playbooks add skill avvale/aurora-front --skill aurora-sheets-sync
push)pull)---
| Sheet | Purpose |
|-------|---------|
| DATA | Dropdown values, validations (don't modify) |
| TEMPLATE | Template duplicated for new modules |
| MODULES | Index with hyperlinks to module sheets |
| {module-name} | One sheet per module (e.g., business-partner) |
✓ (CHAR 9989) = true, empty = falseRule: If no content changes in spreadsheet, YAML files must NOT be modified.
// Content comparison before writing
if (normalizeYamlForComparison(existing) === normalizeYamlForComparison(new)) {
// Skip write - preserves original formatting
}
Fields in YAML without spreadsheet columns are preserved on pull:
relationship.singularName, relationship.aggregateName, relationship.modulePathrelationship.key, relationship.field, relationship.avoidConstraintwebComponent| Sheet Column | YAML Field | Notes |
|--------------|------------|-------|
| relationship | relationship.type | 1:1, N:1, 1:N, N:N |
| master | relationship.modulePath | Module name only |
| subtype | arrayOptions.type | When type=array |
| values | Multiple | enumOptions, decimals, or arrayOptions.enumOptions |
| hasAuth | hasOAuth | Header mapping |
Inline format [A, B, C]:
enumOptionsdecimalsdefaultValue (when array)Multi-line format (for readability):
excludedOperationsexcludedFilesfalse (never undefined)[value] when type=array---
# Navigate to tool directory
cd scripts/aurora-sheets-sync
# Install dependencies (first time)
npm install
# Push: YAML → Google Sheets
npx ts-node src/index.ts push --bc business-partner-portal
npx ts-node src/index.ts push --all
npx ts-node src/index.ts push --bc iam --dry-run
# Pull: Google Sheets → YAML
npx ts-node src/index.ts pull --bc business-partner-portal
npx ts-node src/index.ts pull --bc iam --no-backup
npx ts-node src/index.ts pull --all --dry-run
# Validate connection
npx ts-node src/index.ts validate --bc business-partner-portal
# List configured bounded contexts
npx ts-node src/index.ts list
---
{
"credentialsPath": "./scripts/aurora-sheets-sync/credentials/service-account.json",
"boundedContexts": {
"business-partner-portal": {
"spreadsheetId": "1ABC123xyz...",
"description": "Business Partner Portal"
}
},
"backupsPath": "backups/aurora-schemas",
"cliterPath": "cliter"
}
credentials/service-account.json---
| Error | Solution |
|-------|----------|
| The caller does not have permission | Share spreadsheet with service account email |
| Google Sheets API has not been enabled | Enable API in Google Cloud Console |
| Could not load credentials | Check credentialsPath in config |
| Skipped: X (empty or invalid) | Sheet missing headers or name/type columns |
| Pull shows "(no changes)" | Idempotent - content unchanged, file preserved |
---
scripts/aurora-sheets-sync/
├── src/
│ ├── index.ts # CLI entry point
│ ├── sync/
│ │ ├── yaml-to-sheet.ts # Push logic
│ │ └── sheet-to-yaml.ts # Pull logic (idempotent)
│ └── transformers/
│ └── property-transformer.ts # YAML ↔ Row conversion
├── credentials/
│ └── service-account.json # Google credentials (gitignored)
├── CONTEXT.md # Technical documentation
└── README.md # User guide
---
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.