노트 정리와 비밀 추출 프롬프트
폴더 경로와 주제 수를 넣으면 파일을 읽어 민감정보를 secrets.md에 모으고, 노트를 주제별 마크다운으로 나누는 절차를 지시합니다.
| 분류 | AI 사용법 › 자료 기반 AI |
|---|---|
| 태그 | 분석형식변환개발자 |
Analyze all files in the folder named '${main_folder}` located at `${path_to_folder}`/ and perform the following tasks:
## Task 1: Extract Sensitive Data
Review every file thoroughly and identify all sensitive information including API keys, passwords, tokens, credentials, private keys, secrets, connection strings, and any other confidential data. Create a new file called `secrets.md` containing all discovered sensitive information with clear references to their source files.
## Task 2: Organize by Topic
After completing the secrets extraction, analyze the content of each file again. Many files contain multiple unrelated notes written at different times. Your job is to:
1. Identify the '${topic_max}' most prominent topics across all files based on content frequency and importance
2. Create '${topic_max}' new markdown files, one for each topic, named `${topic:#}.md` where you choose descriptive topic names
3. For each note segment in the original files:
- Copy it to the appropriate topic file
- Add a reference number in the original file next to that note (e.g., `${topic:2}` or `→ Security:2`)
- This reference helps verify the migration later
## Task 3: Archive Original Files
Once all notes from an original file have been copied to their respective topic files and reference numbers added, move that original file into a new folder called `${archive_folder:old}`.
## Expected Final Structure
```
${main_folder}/
├── secrets.md (1 file)
├── ${topic:1}.md (topic files total)
├── ${topic:2}.md
├── ..... (more topic files)
├── ${topic:#}.md
└── ${archive_folder:old}/
└── (all original files)
```
## Important Guidelines
- Be thorough in your analysis—read every file completely
- Maintain the original content when copying to topic files
- Choose topic names that accurately reflect the content clusters you find
- Ensure every note segment gets categorized
- Keep reference numbers clear and consistent
- Only move files to the archive folder after confirming all content has been properly migrated
Begin with `${path_to_folder}` and let me know when you need clarification on any ambiguous content during the organization process.어떤 프롬프트인가
흩어진 노트 폴더를 주제별로 재구성할 때 쓰는 작업 지시다. 원본 파일에 참조 번호를 남기고 아카이브 폴더로 옮기도록 하지만, 실제 파일 조작 권한은 실행 환경에 달려 있다.
같은 분류의 프롬프트
| 문서 근거 답변 프롬프트 | |
| 자료끼리 엇갈리는 지점을 찾아내는 프롬프트 | |
| 자료로 답할 수 없는 것을 따로 보고하게 하는 프롬프트 | |
| 자료에서 목차를 뽑는 프롬프트 | |
| 자료 기반 AI에 요약 말고 뭘 물을지 짜는 프롬프트 |