Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
22
Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.
Sign in to like and favorite skills
Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.
cargo check --workspace -- takes 4-5 minutes on first run. NEVER CANCEL. Set timeout to 10+ minutes.cargo build --workspace -- takes 2-3 minutes incrementally. NEVER CANCEL. Set timeout to 10+ minutes.cargo build --release --workspace -- takes 5-6 minutes. NEVER CANCEL. Set timeout to 15+ minutes.cargo test --workspace -- takes 10-15 seconds (minimal tests exist). Set timeout to 5+ minutes.cd cdk && npm ci -- takes 30-45 seconds. Set timeout to 5+ minutes.cd cdk && npm run build -- takes 30-45 seconds. Set timeout to 5+ minutes.cd cdk && npm test -- takes 10-15 seconds. Set timeout to 5+ minutes.cargo clippy --workspace --all-targets -- takes 30-45 seconds. Set timeout to 10+ minutes.cargo fmt --check -- WILL FAIL due to formatting issues. Run cargo fmt to fix.cd cdk && npx biome check . -- takes 25-30 seconds. Set timeout to 5+ minutes.INPUT_BUCKET, OUTPUT_BUCKET, DYNAMODB_TABLE, AWS_REGION, etc../target/debug/video_ingestor <input_key> (requires AWS credentials and S3 bucket config)../target/debug/audio_transcriber <item_key> <input_key> <initial_prompt> <language> (requires AWS setup).docker buildx bake <service_name> where service_name is one of: ai_chat_lambda, audio_transcriber, crud_api, etc.docker buildx bake all -- takes 15-30 minutes. NEVER CANCEL. Set timeout to 60+ minutes../scripts/push_image.sh <service_name> (requires AWS credentials)../scripts/push_all.sh (requires AWS credentials).cargo clippy --workspace --all-targets after making Rust changes.cargo fmt after making Rust changes (ignore warnings about unstable features).cd cdk && npm run build && npm test after making CDK changes.npx cdk synth or npx cdk deploy - these fail due to Docker dependency issues.├── 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 (rust.yml, cdk.yml) ├── docker-bake.hcl # Multi-service Docker build configuration ├── Dockerfile # Multi-stage Docker builds for all services ├── biome.json # TypeScript/JS linting and formatting config ├── rustfmt.toml # Rust formatting config (uses unstable features) └── [18 Rust crates] # Individual service directories
video_ingestor - Analyzes video files, extracts metadata, detects silenceaudio_transcriber - Transcribes audio using OpenAI Whisperai_chat_lambda - OpenAI API wrapper for chat completioncrud_api - DynamoDB CRUD operationsgt_ffmpeg - FFmpeg interaction librarytypes - Shared types generated from JSON schemasgt_app, gt_axum, gt_secrets - Shared utility libraries# Development commands (timing critical) cargo check --workspace # 4-5 min, NEVER CANCEL cargo build --workspace # 2-3 min, NEVER CANCEL cargo build --release --workspace # 5-6 min, NEVER CANCEL cargo test --workspace # 10-15 sec cargo clippy --workspace --all-targets # 30-45 sec cargo fmt # Fix formatting issues # CDK commands 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 # Type generation ./types/import.sh # Generate types from JSON schemas # Docker (may fail in sandboxed environments) docker buildx bake <service> # 15-30 min, NEVER CANCEL docker buildx bake all # 15-30 min, NEVER CANCEL
cargo build, cargo test, and cargo clippy on PRs/pushesnpm ci, npm run build, npm test, and npx cdk synthdocs/v2/schemas/./types/import.sh after schema changestypes/src/types.rs and types/src/types.tsAlways validate your changes by running the appropriate linting and build commands before committing. The CI system will catch issues, but local validation saves time.