ai-for-smart-cities
Reusable Windsurf rules and Cursor agent skill files for cross-project AI-assisted development
Install / Use
npx skills add Ryukijano/agent-skillsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Data & AnalyticsSupported Platforms
Tags
Skill content
View source on GitHubAI for Smart Cities
Description
Urban computing, IoT analytics, spatio-temporal forecasting, mobility, public safety, and citizen-centric services.
When to use
You are analyzing urban sensor, mobility, or demographic data to support city planning, operations, or citizen services.
Key concepts
- Urban computing: integration of sensing, data, and computing to understand and manage cities.
- Spatio-temporal graph learning: STGNNs for traffic, air quality, and crowd flow prediction.
- Digital twins and IoT platforms: real-time city models fed by heterogeneous sensors.
- Citizen engagement and governance: NLP and recommendation for participatory urban planning.
- Sustainability and equity: energy, emissions, accessibility, and resource distribution.
Code pattern
from torch_geometric_temporal.dataset import METRLADatasetLoader
from torch_geometric_temporal.signal import temporal_signal_split
loader = METRLADatasetLoader()
dataset = loader.get_dataset(num_timesteps_in=12, num_timesteps_out=12)
train, test = temporal_signal_split(dataset, train_ratio=0.8)
Tuning notes
- Handle data sparsity, missing sensors, and distribution shifts across city zones.
- Respect privacy and consent when using mobility, camera, or social data.
- Evaluate models on multiple spatial and temporal horizons, not just aggregate accuracy.
Verification
- Train an STGNN for traffic or air-quality forecasting and compare to a temporal baseline.
- Build a small digital-twin pipeline that ingests simulated IoT streams.
- Audit model predictions for fairness across neighborhoods and demographics.
References
- https://www.mdpi.com/2071-1050/15/5/3916
- https://doi.org/10.1145/3768163
- https://www.mdpi.com/2624-6511/7/3/57
- https://dl.acm.org/doi/10.1109/TKDE.2023.3333824
Related Skills
pyspark-etl-best-practices-cursorrules-prompt-file
40.6kCursor rules for PySpark ETL development with code style, joins, window functions, map operations, and Iceberg patterns.
semiotic-react-dataviz-cursorrules-prompt-file
40.6kCursor rules for Semiotic data visualization library with 30+ chart types, MCP server, and AI-assisted chart generation.
AstrBot
39.4kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
react-tanstack-router-query-cursorrules-prompt-file
40.6kCursor rules for React SPAs combining TanStack Router v1 and TanStack Query v5 for zero-loading-spinner routing and type-safe server state.
Security Score
Audited on Invalid Date
