Specialized skill for creating "Series Documentales" within the TRD system. It enforces mandatory validation of the series name and the producing dependency, ensuring consistent archival hierarchy.
This skill helps the agent create documentary series with the correct association and validation rules.
Before creating any series, the agent MUST ensure that the following data is provided:
entidades context as the default.If any of these fields are missing, the agent MUST pause and request them explicitly:
The agent MUST NOT proceed with the creation until both fields are available.
Each series MUST be associated with an existing dependency.
El código de la serie debe construirse automáticamente siguiendo esta estructura: [Código de la dependencia]-[Número consecutivo de la serie]
Utiliza el script scripts/generate_serie_codigo.py para calcular el siguiente código disponible respetando estas reglas.
Cuando el usuario solicite crear una serie, el agente DEBE seguir este orden:
[CódigoDep]-[Consecutivo].scripts/generate_serie_codigo.py.tipoDocumental.