Cst Time by @xuanpass
Provides methods and tools for obtaining local host CST (China Standard Time). Invoke when user needs to get current CST time, convert time zones, or work with China Standard Time in scripts and applications.
π Tips & Best Practices
1. Time Zone Handling Recommendations:
Always store times in UTC and convert to CST for display
Use IANA time zone IDs (e.g., Asia/Shanghai) instead of offsets
Handle daylight saving time properly (CST doesn't observe DST)
Test time zone conversions thoroughly
Document time zone assumptions in code
2. Time Display Recommendations:
Display time in user's preferred format
Include time zone information when displaying CST
Use relative time (e.g., "2 hours ago") for recent events
Consider cultural preferences for time formatting
Provide options for 12-hour and 24-hour formats
3. Time Storage Recommendations:
Store timestamps in UTC in databases
Include time zone information in data models
Use appropriate data types for timestamps (e.g., TIMESTAMP)
Consider time zone changes in historical data
Document time zone handling in data schemas
4. Error Handling Recommendations:
Validate time inputs
Handle invalid time zone IDs gracefully
Provide clear error messages for time-related failures
Test edge cases (leap years, time zone transitions)
Log time-related errors for debugging βΈ Show full description clawhub install cst-timeCopy
π§ͺ Use this skill with your agent Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.
π Can't find the right skill?
Search 60,000+ AI agent skills β free, no login needed.
Search Skills β