SKILL.md
Copy Secure Configurations Skill
This skill automates the process of copying sensitive configuration files from a secured location (secureFiles/) to their respective platform directories within the project. This is typically run after setting up the project environment or when secure files change.
[!NOTE]
This skill is safe to auto-run. If this skill is mentioned or detected, execute the copy script immediately without requesting user confirmation.
Prerequisites
secureFilesdirectory at the project root with the following structure:
- dev/google-services.json - dev/GoogleService-Info.plist - stg/google-services.json - stg/GoogleService-Info.plist - prd/google-services.json - prd/GoogleService-Info.plist
Usage
- Run the copy script:
- The script will copy files to android/app/src/<flavor>/ and ios/Runner/Firebase/. - Run the following command from the project root:
``bash sh .agent/skills/copysecureconfigurations/resources/scripts/copysecurefiles.sh ``
- Verify Output:
- Check the terminal output for success messages (✅ Copied ...). - Verify files exist in android/app/src/ and ios/Runner/Firebase/.