본문 바로가기

11월 26일 18:35 기준 · 10분마다 새 소식을 확인합니다

광고나 제휴로 순서를 바꾸지 않습니다 · pick 기준 보기 ›
소식 받기
코딩 · 개발

자동 파일명 변경 포털 개발

구글 앱스 스크립트 기반 문서 파일명 대량 변경 웹 포털 개발 시 활용합니다.

추천 툴
공통AI 분류
쓰인 기법
역할 부여 · 요구사항 명시 · 제약조건 설정

프롬프트 원문

Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool. Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.

Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.

Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.

You will use variables such as `${month}` and `${year}` in file naming for flexibility.
한국어 풀이 보기(참고용)
웹 개발자로서 자동 파일 이름 변경 도구를 위한 현대적인 관리자 포털을 제작하는 역할을 맡으세요. 당신의 임무는 Google Apps Script, HTML, CSS 및 JavaScript를 사용하여 안전하고 반응형인 웹 기반 인터페이스를 개발하는 것입니다.

당신의 책임은 다음과 같습니다:
- 세션 관리 및 자동 타임아웃 기능이 포함된 안전한 관리자 로그인을 구현합니다.
- 업로드된 전체 CSV 레코드 수, 업로드된 전체 파일 수, 성공적으로 이름이 변경된 파일, 일치하지 않는 파일, 중복 일치 항목, 처리 상태, 다운로드 기록 및 최근 활동과 같은 지표를 표시하는 대시보드를 생성합니다.
- 두 개의 필드(사원 번호, 이름, 중간 이름, 성)를 사용하여 CSV 파일의 직원 정보와 일치시키는 파일 이름 변경 시스템을 설계합니다.
- 관리자가 이름 변경 템플릿을 정의할 수 있도록 허용합니다.
- 성공적으로 이름이 변경된 파일의 ZIP 압축 파일을 `SalarySlips_Renamed_${month}_${year}.zip` 형식의 이름 규칙으로 생성합니다.
- 상세한 통계 및 오류가 포함된 처리 보고서를 생성하고, Excel 및 CSV 형식으로 내보낼 수 있도록 합니다.

규칙 및 제약 조건:
- 업로드된 모든 파일(PDF 및 JPG)이 템플릿에 따라 이름이 변경되는지 확인하세요.
- 오류를 로깅하고 실패했거나 건너뛴 파일을 보고서에 포함하여 처리하세요.
- 깔끔하고 전문적인 사용자 인터페이스를 유지하세요.
- 작업 완료 후 ZIP 및 처리 보고서를 다운로드할 수 있는 옵션을 제공하세요.

유연성을 위해 파일 이름 지정에 `${month}` 및 `${year}`와 같은 변수를 사용합니다.
  • 활용구글 드라이브 API 연동 코드를 추가 요청하면 완성도를 높일 수 있습니다.
  • 활용직원 정보 CSV 예시 데이터를 함께 제공하여 더 정확한 코드를 얻으세요.
  • 활용관리자 로그인 세션 및 OAuth 인증 방식을 구체화하여 요청할 수 있습니다.

출처 · prompts.chat · Administrator Portal for Auto File Renaming Tool — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.

웹 화면(HTML) 결과

Gemini로 프롬프트를 실행해 생성한 화면입니다. 화면 안에서 직접 조작하실 수 있습니다.

mopick 파일 오토네임 어드민은 CSV 데이터의 사원 정보(사원번호, 이름, 성 등 2개 필드 조합)를 기반으로 PDF/JPG 파일명을 자동으로 매칭하여 일괄 변경하는 대시보드 시스템입니다. 세션 관리, 실시간 캔버스 그래프 통계, 템플릿 맞춤 설정, 모의 변환 프로세스 및 리포트/ZIP 파일 다운로드 기능을 완전한 대화형 인터페이스로 제공합니다.

자동 파일명 변경 포털 개발 실행 결과
새 창에서 보기 ↗데스크톱 1280px 화면을 0%로 보이는 중격리된 환경에서 실행되며 외부와 통신하지 않습니다.
실행 입력값 보기
Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool (mopick 파일 오토네임 어드민). Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.

Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.

Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.

You will use variables such as `${month}` and `${year}` in file naming for flexibility.

텍스트 결과

Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).

실행 입력값 보기
Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool (mopick 파일 오토네임 어드민). Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.

Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.

Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.

You will use variables such as `${month}` and `${year}` in file naming for flexibility.

mopick 파일 오토네임 어드민은 CSV 데이터의 사원 정보(사원번호, 이름, 성 등 2개 필드 조합)를 기반으로 PDF/JPG 파일명을 자동으로 매칭하여 일괄 변경하는 대시보드 시스템입니다. 세션 관리, 실시간 캔버스 그래프 통계, 템플릿 맞춤 설정, 모의 변환 프로세스 및 리포트/ZIP 파일 다운로드 기능을 완전한 대화형 인터페이스로 제공합니다.

mopick 개선안

원문을 더 잘 동작하게 고쳐 쓴 프롬프트

원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.

AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님

원문74
개선안93

원문의 문제 → 개선안에서 고친 점

  • 입력 칸레슨 05 배우기 ›

    원문 · 2개바꿔 넣을 자리가 일부만 표시돼 있어 쓸 때마다 원문을 고쳐야 했습니다.

    개선 · 5개[e.g., `${EmpID}_${Surname}_${month}_${year}`] · [e.g., 15 minutes] · [Session Timeout Limit]

  • 작업 순서레슨 07 배우기 ›

    원문 · 없음작업 순서가 정해져 있지 않아 AI 가 순서를 스스로 정해야 했습니다.

    개선 · 4단계

고친 이유 (개선안을 만든 AI 의 설명)

  1. 1[대괄호] 입력란을 추가하여 프롬프트의 재사용성을 높임
  2. 2코드 파일 구조(Code.gs, HTML 등)와 출력 형식을 명확히 지정함
  3. 3구체적인 모듈화 단계 및 비동기 처리 제약 조건 추가

원문

Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool. Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.

Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.

Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.

You will use variables such as `${month}` and `${year}` in file naming for flexibility.

개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요

Act as a Senior Web Developer specializing in Google Apps Script (GAS) web applications. Your task is to develop a secure, responsive web-based Administrator Portal for an Auto File Renaming Tool using Google Apps Script, HTML, CSS, and JavaScript.

Context & Setup Parameters:
- Default Naming Pattern: [e.g., `${EmpID}_${Surname}_${month}_${year}`]
- Session Timeout Limit: [e.g., 15 minutes]
- Supported File Formats: PDF, JPG

Key Functional Requirements:
1. Authentication: Secure admin login with session token management and automatic timeout after [Session Timeout Limit].
2. Metric Dashboard: Display real-time cards for total CSV records, total uploaded files, successfully renamed, unmatched, duplicate matches, system status, and activity logs.
3. File Matching Logic: Match uploaded files against CSV employee data using any two selectable fields (Employee ID, First Name, Middle Name, or Surname).
4. Output Generation: 
   - Compress renamed files into a ZIP archive named `SalarySlips_Renamed_${month}_${year}.zip`.
   - Generate a detailed processing report (statistics + error logs) exportable in CSV and Excel formats.

Output Requirements:
Provide the complete implementation organized by file structure:
- `Code.gs`: Server-side logic for authentication, Drive operations, CSV parsing, and ZIP archiving.
- `Index.html`: Responsive UI layout featuring modern UI components.
- `Styles.css` & `JavaScript.js`: Clean styles and frontend event handling with asynchronous server calls (`google.script.run`).

같은 분야 프롬프트 코딩 · 개발

더 보기 ›