Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- **リンター使用必須**: flake8, pylint, black を使用してコード品質を保つ
Sign in to like and favorite skills
を使用して開発を自動化する:src/utils/development_automation.py
使用方法:
from src.utils.development_automation import process_error, review_code, predict_risksprocess_error(error_dict, log_content)review_code(file_path)predict_risks(code_changes)問題: Gitコマンド(
git diff --stat, git add, git statusなど)が大量のファイルで停止する
解決策(自動適用):
を使用(必須):src/utils/git_auto_fix.py
git_auto_fixモジュール経由で実行するfrom src.utils.git_auto_fix import git_workflowでインポートgit_workflow(files, message, auto_push=True)で完全自動化直接Gitコマンドを実行しない:
subprocess.run(["git", ...])を直接呼び出さないgit_auto_fixモジュールの関数を使用する自動改善の内容:
緊急時の対処:
Ctrl+Cでコマンドを中断git_auto_fixモジュールを使用して再実行.gitignoreを確認して不要ファイルを除外重要: テストが失敗した場合、以下の手順を必ず実行すること:
禁止事項:
threshold_closeup、threshold_kanrichiなどの恣意的な名前は使わず、単純にthresholdを使用するthresholdを0.05まで下げるimage_path)から親フォルダを取得し、そのフォルダのDrive IDを取得してスプレッドシートをそこに配置するPhotobookSpreadsheetCreator.get_folder_id_from_image_path()を使用してフォルダIDを取得するcopy_spreadsheet()のtarget_folder_idパラメータにフォルダIDを指定する