☰ 분류

코딩 계속 지원 역할을 맡기는 프롬프트

기존 코드베이스와 확장 요청을 넣으면 구조를 검토하고 현재 기능을 이어 개발할 제안과 코드 스니펫을 제공합니다.

분류개발 › 코딩
태그검토초안작성개발자코드
프롬프트 (영어 본문 · 답은 한국어로 옵니다)
Act as a Continue Coding Assistant. You are a skilled programmer with expertise in multiple programming languages and frameworks.
Your task is to assist in continuing the development of a codebase or project.
You will:
- Review the existing code to understand its structure and functionality.
- Provide suggestions and write code snippets to extend the current functionality.
- Ensure the code follows best practices and is well-documented.
Rules:
- Use ${language:JavaScript} unless specified otherwise.
- Follow ${codingStyle:Standard} coding style guidelines.
- Maintain consistent indentation and code comments.
- Only use libraries that are compatible with the existing codebase.

어떤 프롬프트인가

중단된 개발 작업을 이어갈 때 쓰는 코딩 보조 역할이다. 기본 언어는 JavaScript이고 기존 코드베이스와 호환되는 라이브러리만 쓰도록 제한한다.

모델 비교

ChatGPT가 가장 직접적이고 적정 분량이다. Gemini는 견고하지만 다소 과하며, [C]는 답이 없어 평가가 불가능하다.

ChatGPT종합 1위
47/ 50

+ 요구된 세 엔드포인트를 간결하고 정확하게 구현했다.

- 제목 누락·형식 오류에 대한 입력 검증이 없다.

Gemini
42/ 50

+ 검증과 상태 코드, 사용법 설명까지 충실히 제공했다.

- 요구보다 장황하며 토글 동작 등 임의 기능을 추가했다.

기준ChatGPTGemini앞선 모델
지시 준수109ChatGPT +11%
정확성98ChatGPT +13%
구체성99동점
구성·가독성99동점
분량 적정성107ChatGPT +43%

gpt-5.6-sol가 모델 이름을 가린 채 1~10점으로 채점했습니다 (2026-09-25). 측정값이 아니라 AI 심사 결과입니다.

답 전문 보기

같은 입력을 세 모델에 넣어 받은 답을 그대로 옮겼습니다. 각 CLI(에이전트 하네스)에서 실행했습니다. ChatGPT·Claude 앱이나 웹에서는 답이 다를 수 있습니다.

넣은 입력
[붙여 넣은 자료]
할일 관리 REST API를 만들고 있어. 기존 코드는 아래와 같아.

const express = require('express');
const app = express();
app.use(express.json());

let todos = [];
let nextId = 1;

app.get('/todos', (req, res) => res.json(todos));

app.post('/todos', (req, res) => {
  const todo = { id: nextId++, title: req.body.title, done: false };
  todos.push(todo);
  res.status(201).json(todo);
});

app.listen(3000);

여기에 수정(PUT), 삭제(DELETE), 완료 처리(PATCH) 엔드포인트를 추가해서 이어서 작성해줘.
gpt-5.6-luna (codex CLI · 에이전트 하네스) · 실행일 2026-09-24
const express = require('express');

const app = express();
app.use(express.json());

let todos = [];
let nextId = 1;

app.get('/todos', (req, res) => {
  res.json(todos);
});

app.post('/todos', (req, res) => {
  const todo = {
    id: nextId++,
    title: req.body.title,
    done: false
  };

  todos.push(todo);
  res.status(201).json(todo);
});

// 할 일 수정
app.put('/todos/:id', (req, res) => {
  const id = Number(req.params.id);
  const todo = todos.find(item => item.id === id);

  if (!todo) {
    return res.status(404).json({ message: '할 일을 찾을 수 없습니다.' });
  }

  todo.title = req.body.title;
  res.json(todo);
});

// 할 일 완료 처리
app.patch('/todos/:id', (req, res) => {
  const id = Number(req.params.id);
  const todo = todos.find(item => item.id === id);

  if (!todo) {
    return res.status(404).json({ message: '할 일을 찾을 수 없습니다.' });
  }

  todo.done = true;
  res.json(todo);
});

// 할 일 삭제
app.delete('/todos/:id', (req, res) => {
  const id = Number(req.params.id);
  const todoIndex = todos.findIndex(item => item.id === id);

  if (todoIndex === -1) {
    return res.status(404).json({ message: '할 일을 찾을 수 없습니다.' });
  }

  todos.splice(todoIndex, 1);
  res.status(204).send();
});

app.listen(3000, () => {
  console.log('서버가 3000번 포트에서 실행 중입니다.');
});

PUT /todos/:id는 제목을 수정하고, PATCH /todos/:id는 해당 할 일을 완료 상태로 변경하며, DELETE /todos/:id는 삭제합니다.

같은 분류의 프롬프트

방산 CV 12개월 로드맵 프롬프트
2046 퍼즐 게임 제작 프롬프트
React 컴포넌트 통합 프롬프트
3D 아바타 팩토리 요구 프롬프트
3D FPS 게임 개발 프롬프트