Work with the Glowing Telegram stream recording management system - a Rust/AWS CDK application for video processing, transcription, and AI chat integration.
This skill provides expert guidance for working with the Glowing Telegram stream recording management system - a multi-service Rust workspace with AWS CDK infrastructure for video processing, audio transcription, and AI chat integration.
Helps you work effectively with the Glowing Telegram codebase by:
```
├── Cargo.toml # Rust workspace with 18 member crates
├── cdk/ # AWS CDK infrastructure (TypeScript)
├── docs/ # Documentation and JSON schemas
├── scripts/ # Deployment and utility scripts
├── .github/workflows/ # CI/CD pipelines
├── docker-bake.hcl # Multi-service Docker build configuration
├── Dockerfile # Multi-stage Docker builds
└── [18 Rust crates] # Individual service directories
```
**CRITICAL**: These commands take significant time. NEVER CANCEL them mid-execution.
```bash
cargo check --workspace
cargo build --workspace
cargo build --release --workspace
cargo test --workspace
cd cdk && npm ci
cd cdk && npm run build
cd cdk && npm test
```
Always run these after making changes:
```bash
cargo clippy --workspace --all-targets
cargo fmt
cd cdk && npx biome check .
cd cdk && npm run build && npm test
```
When modifying JSON schemas in `docs/v2/schemas/`:
```bash
./types/import.sh
```
**WARNING**: Docker operations may fail in sandboxed environments due to network/SSL restrictions.
```bash
docker buildx bake <service_name>
docker buildx bake all
```
**REQUIRES**: AWS credentials and proper infrastructure setup.
```bash
./scripts/push_image.sh <service_name>
./scripts/push_all.sh
```
**CRITICAL WARNING**: All CLI tools require extensive AWS environment configuration and will panic without it.
Required environment variables:
Example (only run with proper AWS setup):
```bash
./target/debug/video_ingestor <input_key>
./target/debug/audio_transcriber <item_key> <input_key> <initial_prompt> <language>
```
1. Make your changes to Rust or TypeScript code
2. Run appropriate linting:
- Rust: `cargo clippy --workspace --all-targets`
- Rust: `cargo fmt`
- TypeScript: `cd cdk && npx biome check .`
3. Build to verify:
- Rust: `cargo build --workspace`
- CDK: `cd cdk && npm run build`
4. Run tests:
- Rust: `cargo test --workspace`
- CDK: `cd cdk && npm test`
1. Edit JSON schema files in `docs/v2/schemas/`
2. Run `./types/import.sh` to regenerate types
3. Update code using the generated types
4. Follow "Making Code Changes" workflow above
1. Create new Rust crate in workspace
2. Add to `Cargo.toml` workspace members
3. Add Docker build target in `docker-bake.hcl`
4. Add deployment script in `scripts/`
5. Update CDK infrastructure in `cdk/` if needed
Tasks available via Command Palette:
1. **Always set generous timeouts** (10+ minutes for Rust, 60+ minutes for Docker)
2. **Never cancel long-running builds** - they need time to complete
3. **Run linting before committing** - CI will catch issues but local validation saves time
4. **Use `cargo fmt`** to auto-fix formatting (ignore unstable feature warnings)
5. **Validate CDK changes** with `npm run build && npm test` before pushing
6. **Regenerate types** after schema changes using `./types/import.sh`
7. **Don't attempt local runs** of CLI tools without proper AWS setup
```bash
cargo check --workspace # 4-5 min, NEVER CANCEL
cargo build --workspace # 2-3 min, NEVER CANCEL
cargo test --workspace # 10-15 sec
cargo clippy --workspace --all-targets # 30-45 sec
cargo fmt # Auto-fix formatting
cd cdk && npm ci # 30-45 sec
cd cdk && npm run build # 8-10 sec
cd cdk && npm test # 10-15 sec
cd cdk && npx biome check . # 25-30 sec
./types/import.sh # Generate types from schemas
docker buildx bake <service> # 15-30 min, NEVER CANCEL
docker buildx bake all # 15-30 min, NEVER CANCEL
```
Remember: This is a complex multi-service system requiring AWS infrastructure. Always validate changes locally before pushing, respect build timing requirements, and ensure proper AWS configuration before attempting deployments or CLI usage.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/glowing-telegram-stream-manager/raw