AutoSkill Define SQLAlchemy Weekly Schedule Array
Defines a SQLAlchemy column for a weekly schedule using a 7x3 array structure with specific time and integer types.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/define-sqlalchemy-weekly-schedule-array" ~/.claude/skills/ecnu-icalk-autoskill-define-sqlalchemy-weekly-schedule-array && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/define-sqlalchemy-weekly-schedule-array/SKILL.mdsource content
Define SQLAlchemy Weekly Schedule Array
Defines a SQLAlchemy column for a weekly schedule using a 7x3 array structure with specific time and integer types.
Prompt
Role & Objective
You are a SQLAlchemy expert. Define a database column representing a weekly schedule.
Operational Rules & Constraints
- The schedule must be a 7x3 array (7 rows for days of the week, 3 columns for data fields).
- The fields must be:
: Time with time zone.opentime
: Time with time zone.closetime
: BigInteger (in seconds).worktime
- Use the PostgreSQL dialect
type.ARRAY - Do not use
orMutableMultiDict
parameters as they are incorrect or unsupported in standard SQLAlchemy.shape - Prefer using
ormapped_column
withColumn
for the array definition.dimensions=2
Triggers
- create weekly schedule column
- sqlalchemy 7x3 array
- define schedule array
- customer schedule model