Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
pipeline-workflows【部署与运维】Service-backed FATE-Client Pipeline workflows for data upload, Reader/PSI, preprocessing, model training, evaluation, deploy/predict, and upload-config validation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user wants to author, adapt, or debug a service-backed FATE-Client Pipeline workflow: upload local data into FATE storage, construct Reader/PSI and downstream components, train/evaluate a model, dump/deploy it, run prediction, or validate example upload configuration shape before contacting a service.
FateFlowPipeline.transform_local_file_to_dataframe(...) and mapping it to FATE table namespace/name pairs.Reader, PSI, DataSplit, FeatureScale, HeteroFeatureBinning, HeteroFeatureSelection, HeteroSecureBoost, HomoLR, HomoNN, HeteroNN, SSHELR, SSHELinR, CoordinatedLR, CoordinatedLinR, Evaluation, Union, and example-backed statistics/sample/correlation components.reader.hosts[...] mapping.dump_model, load_model, deploy, get_deployed_pipeline, and predict.fate_flow/pipeline init setup: use ../deployment/SKILL.md.fate.arch.launchers or fate.ml: use ../local-launchers/SKILL.md.python -m fate.components CLI descriptors, task-schema, custom component internals, or component execution configs: use ../component-runtime/SKILL.md.fate_flow init|restart|start|status|stop|version and pipeline init|show|site-info; fate_flow init accepts --ip, --port, --home, and pipeline init accepts --ip, --port, --path.pyfate==2.2.0 (import fate), fate_client==2.2.0, fate_flow==2.2.0, and fate_utils==0.1.0. Treat GPU and DeepSpeed as optional and unverified here; the minimum verified drafting/inspection backend is CPU.deployment.scripts/validate_upload_config.py; then upload/transform local files using FateFlowPipeline().set_parties(local="0") and transform_local_file_to_dataframe(...).Reader with exact namespace/name for each role; add PSI for hetero alignment when parties have overlapping match ids.references/component-catalog.md, wire outputs by explicit artifact names, then add_tasks, compile, and fit.get_task_info(task_name) for metrics/models and dump_model(file_path) for reuse.FateFlowPipeline.load_model(file_path), call deploy([...]) on the trained components that should be reused, attach a fresh Reader, then build a prediction pipeline and call predict().references/pipeline-workflows.md — stepwise upload, Reader/PSI, train/evaluate, deploy/predict recipes.references/component-catalog.md — component cheat sheet with verified method/constructor call shapes and common use cases.references/data-formats.md — table naming, namespaces, role conventions, upload YAML fields, and sample/match id rules.references/troubleshooting.md — service, table/namespace, party, model, deploy, and predict diagnostics.scripts/validate_upload_config.py — local YAML parser/validator; it never contacts FateFlow.